fixed naming convention
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
|||||||
float innerProduct(Vector3 &v);
|
float innerProduct(Vector3 &v);
|
||||||
void set(const Vector3 &v);
|
void set(const Vector3 &v);
|
||||||
void rotate(const Vector3 &v, u8 inversed = false);
|
void rotate(const Vector3 &v, u8 inversed = false);
|
||||||
void set(const float &x, const float &y, const float &z);
|
void set(const float &t_x, const float &t_y, const float &t_z);
|
||||||
void copy(Vector3 &v);
|
void copy(Vector3 &v);
|
||||||
float distanceTo(Vector3 &v);
|
float distanceTo(Vector3 &v);
|
||||||
const void print() const;
|
const void print() const;
|
||||||
|
|||||||
@@ -236,11 +236,11 @@ float Vector3::innerProduct(Vector3 &v)
|
|||||||
// return (x * v.x + y * v.y + z * v.z);
|
// return (x * v.x + y * v.y + z * v.z);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Vector3::set(const float &x, const float &y, const float &z)
|
void Vector3::set(const float &t_x, const float &t_y, const float &t_z)
|
||||||
{
|
{
|
||||||
this->x = x;
|
x = t_x;
|
||||||
this->y = y;
|
y = t_y;
|
||||||
this->z = z;
|
z = t_z;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Vector3::rotate(const Vector3 &v, u8 inversed)
|
void Vector3::rotate(const Vector3 &v, u8 inversed)
|
||||||
|
|||||||
Reference in New Issue
Block a user