X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimation%2Ftransform.h;h=5854c4175e2e023b17ed7ad88b56f490a733ea0b;hp=1d0aedddf71b3fe900ffc2b7689008759ef3939e;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 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 &);