X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanimation%2Ftransform.h;h=5854c4175e2e023b17ed7ad88b56f490a733ea0b;hb=b0db98d71aeb32d9e57315b8a06ff4068aeccbca;hp=1d0aedddf71b3fe900ffc2b7689008759ef3939e;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/animation/transform.h b/source/animation/transform.h index 1d0aeddd..5854c417 100644 --- a/source/animation/transform.h +++ b/source/animation/transform.h @@ -60,12 +60,10 @@ public: private: Vector3 position; AngleVector3 euler; - Vector3 scale; - ComponentMask mask; + Vector3 scale = { 1.0f, 1.0f, 1.0f }; + ComponentMask mask = NONE; public: - Transform(); - static Transform from_matrix(const Matrix &); void set_position(const Vector3 &);