예제 #1
0
        public void Scale(float x, float y, float z)
        {
            Matrix3 m = new Matrix3();

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

            m.SetScaled(v.x, v.y, v.z);
            Set(this * m);
        }
예제 #3
0
 public void SetScale(float width, float height)
 {
     localTransform.SetScaled(width, height, 1);
     UpdateTransform();
 }