예제 #1
0
 public Vector2D(float x, float y)
 {
     Matrix = Matrix2D.CreateTranslation(x, y);
 }
예제 #2
0
 public void RotateAbout(float theta, float x, float y)
 {
     Matrix *= Matrix2D.CreateRotationZ(theta, x, y);
 }