X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FQuaternions.h;h=ec27e6e1a7456dd22affe67052b85ca4c8f19304;hb=256029f43f2892983287b8e5f06720e754a4000f;hp=65bd8ae1d16fc16553224094620c7289ff3648be;hpb=8562aa5bebc97ea8a61d056aec3847030c6985b7;p=lugaru.git diff --git a/Source/Quaternions.h b/Source/Quaternions.h index 65bd8ae..ec27e6e 100644 --- a/Source/Quaternions.h +++ b/Source/Quaternions.h @@ -37,6 +37,7 @@ public: float x; float y; float z; + XYZ() : x(0.0f), y(0.0f), z(0.0f) {} inline XYZ operator+(XYZ add); inline XYZ operator-(XYZ add); inline XYZ operator*(float add); @@ -463,4 +464,4 @@ inline bool DistancePointLine( XYZ *Point, XYZ *LineStart, XYZ *LineEnd, float * return 1; } -#endif \ No newline at end of file +#endif