Big changes
This commit is contained in:
@@ -25,4 +25,15 @@ struct Point2
|
||||
int y;
|
||||
};
|
||||
|
||||
struct Vec3
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
|
||||
Vec3() { x = y = z = 0.f; }
|
||||
Vec3(float value) { x = y = z = value; }
|
||||
Vec3(float _x, float _y, float _z) { x = _x; y = _y; z = _z; }
|
||||
};
|
||||
|
||||
#endif // !MATHS_H
|
||||
|
||||
Reference in New Issue
Block a user