From 7f08bf47f1cf8d16dbfeb6e5f63325b138b0f3f7 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 17 Jan 2016 07:55:45 -0800 Subject: [PATCH] GCC is dumb --- include/CQuaternion.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/CQuaternion.hpp b/include/CQuaternion.hpp index 61ad82f..e069657 100644 --- a/include/CQuaternion.hpp +++ b/include/CQuaternion.hpp @@ -18,9 +18,9 @@ public: ZE_DECLARE_ALIGNED_ALLOCATOR(); CQuaternion() : r(1.0f) {} - CQuaternion(float r, float x, float y, float z) : r(r), v(x, y, z){} + CQuaternion(float r, float x, float y, float z) : r(r), v(x, y, z){ this->r = r; } CQuaternion(float x, float y, float z) { fromVector3f(CVector3f(x, y, z)); } - CQuaternion(float r, const CVector3f& vec) : r(r), v(vec){} + CQuaternion(float r, const CVector3f& vec) : v(vec){ this->r = r;} #if ZE_ATHENA_TYPES CQuaternion(Athena::io::IStreamReader& input) { r = input.readFloat(); v = CVector3f(input);} #endif