예제 #1
0
 public void Translate(Vector2F vec)
 {
     Translate(vec.x, vec.y);
 }
예제 #2
0
 public void Multiply(Vector2F vec)
 {
     Multiply(vec.x, vec.y);
 }
예제 #3
0
 public void Divide(Vector2F scale)
 {
     Divide(scale.X, scale.Y, 1f);
 }
예제 #4
0
 public Vector2F(Vector2F vec)
 {
     x = vec.x;
     y = vec.y;
 }
예제 #5
0
 public void Multiply(Vector2F scale)
 {
     Multiply(scale.X, scale.Y, 1f);
 }
예제 #6
0
 public void Translate(Vector2F vec)
 {
     Translate(vec.X, vec.Y, 0f);
 }
예제 #7
0
 public Vector3F(Vector2F vec)
 {
     x = vec.X;
     y = vec.Y;
     z = 0f;
 }
예제 #8
0
 public bool Equals(Vector2F rhs)
 {
     return(this.LengthSquared == rhs.LengthSquared);
 }
예제 #9
0
 public void Divide(Vector2F vec)
 {
     Divide(vec.x, vec.y);
 }