X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Ftransform.h;h=b1766aeb993292d576acb3abf23e7be9ec68fcee;hb=c193dd08af5159544008b5fee0813b1f716ac062;hp=05c895b42e949b42e2e2c328a6dd72b3fca90e5d;hpb=e7223a520b12663127b21afe8a68965898f34ded;p=libs%2Fgame.git diff --git a/source/game/transform.h b/source/game/transform.h index 05c895b..b1766ae 100644 --- a/source/game/transform.h +++ b/source/game/transform.h @@ -26,8 +26,8 @@ class Transform: public Component { private: TransformValues values; - LinAl::Matrix local_matrix; - LinAl::Matrix world_matrix; + LinAl::Matrix local_matrix = LinAl::Matrix::identity(); + LinAl::Matrix world_matrix = LinAl::Matrix::identity(); public: Transform(Handle);