GCC is dumb

This commit is contained in:
Phillip Stephens 2016-01-17 07:55:45 -08:00
parent 3113307e6c
commit 7f08bf47f1
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ public:
ZE_DECLARE_ALIGNED_ALLOCATOR(); ZE_DECLARE_ALIGNED_ALLOCATOR();
CQuaternion() : r(1.0f) {} 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 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 #if ZE_ATHENA_TYPES
CQuaternion(Athena::io::IStreamReader& input) { r = input.readFloat(); v = CVector3f(input);} CQuaternion(Athena::io::IStreamReader& input) { r = input.readFloat(); v = CVector3f(input);}
#endif #endif