Commit acc9990a authored by Max Burke's avatar Max Burke Committed by Wouter van Oortmerssen

Fix compilation error in tests. (#5472)

Local variables were shadowing member fields, causing errors.
parent 2d5315ff
......@@ -8,7 +8,7 @@ namespace Native {
float z;
Vector3D() { x = 0; y = 0; z = 0; };
Vector3D(float x, float y, float z) { this->x = x; this->y = y; this->z = z; }
Vector3D(float _x, float _y, float _z) { this->x = _x; this->y = _y; this->z = _z; }
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment