mirror of https://github.com/AxioDL/zeus.git
GCC is dumb
This commit is contained in:
parent
3113307e6c
commit
7f08bf47f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue