public void Scale(float x, float y, float z)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(x, y, z);
            Set(this * m);
        }
        public void Scale(Vector3 v)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(v);
            Set(this * m);
        }
 public void SetScale(float width, float height)
 {
     localTransform.SetScaled(width, height, 1);
     UpdateTransform();
 }