fixed naming convention

This commit is contained in:
Sandro Sobczyński
2020-11-04 22:46:47 +01:00
parent 1757ef67dc
commit bfd75003a4
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ public:
float innerProduct(Vector3 &v);
void set(const Vector3 &v);
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);
float distanceTo(Vector3 &v);
const void print() const;
+4 -4
View File
@@ -236,11 +236,11 @@ float Vector3::innerProduct(Vector3 &v)
// 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;
this->y = y;
this->z = z;
x = t_x;
y = t_y;
z = t_z;
}
void Vector3::rotate(const Vector3 &v, u8 inversed)