This commit is contained in:
2024-05-07 02:12:16 +03:00
parent 00f20e62f3
commit d18f206c3b

View File

@@ -132,7 +132,7 @@ namespace uml
return sqrt(x * x + y * y + z * z);
}
float Vector3::LengthSqr(void) const
float Vector3::LengthSqr() const
{
return (x * x + y * y + z * z);
}
@@ -143,7 +143,7 @@ namespace uml
}
Vector3 Vector3::operator-(void) const
Vector3 Vector3::operator-() const
{
return {-x, -y, -z};
}