public void Scale(float x, float y, float z) { Matrix3 m = new Matrix3(); m.SetScaled(x, y, z); Set(this * m); }
//scales a matrix. public void Scale(Vector3 v) { Matrix3 m = new Matrix3(); m.SetScaled(v.x, v.y, v.z); Set(this * m); }
public void Scale(float X, float Y, float Z) { Matrix3 m = new Matrix3(); m.SetScaled(X, Y, Z); Set(this * m); }
public void SetScale(float width, float height) { localTransform.SetScaled(width, height, 1); UpdateTransform(); }