From c1879d6bf97c88e343fe6a1e4cd47de4f0d83fdc Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 22 Nov 2012 11:44:32 +0100 Subject: [PATCH] Fixed Vector3::Make[Forward|Left] not returning Former-commit-id: be947d6b5c7c1a353fd035f3a5c1c495066ff7ac --- include/Nazara/Math/Vector3.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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