X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FQuaternions.h;h=ec27e6e1a7456dd22affe67052b85ca4c8f19304;hb=bf03ef4581fbc6d5d51e6148f2ab01dc61a29d5b;hp=ba1eedb3426ead392ccb2661c88a05f2e91df08e;hpb=36cc3af3e5074215817ddee16defde754e2ad67f;p=lugaru.git diff --git a/Source/Quaternions.h b/Source/Quaternions.h index ba1eedb..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);