diff --git a/include/Nazara/Math/Vector3.inl b/include/Nazara/Math/Vector3.inl index 648ebfb1e..da7b86a42 100644 --- a/include/Nazara/Math/Vector3.inl +++ b/include/Nazara/Math/Vector3.inl @@ -109,13 +109,13 @@ float NzVector3::Lengthf() const template NzVector3& NzVector3::MakeForward() { - Set(F(0.0), F(0.0), F(-1.0)); + return Set(F(0.0), F(0.0), F(-1.0)); } template NzVector3& NzVector3::MakeLeft() { - Set(F(-1.0), F(0.0), F(0.0)); + return Set(F(-1.0), F(0.0), F(0.0)); } template