Beispiel #1
0
 /// <summary>
 /// Set this based on the position and angle.
 /// </summary>
 /// <param name="position">The position.</param>
 /// <param name="angle">The angle.</param>
 public void Set(Vector2 position, float angle)
 {
     p = position;
     q.Set(angle);
 }
Beispiel #2
0
 /// <summary>
 /// Set this based on the position and angle.
 /// </summary>
 /// <param name="position">The position.</param>
 /// <param name="angle">The angle.</param>
 public void Set(System.Numerics.Vector2 position, float angle)
 {
     P = position;
     Q.Set(angle);
 }
Beispiel #3
0
 /// <summary>
 /// Set this based on the position and angle.
 /// </summary>
 /// <param name="position">The position.</param>
 /// <param name="angle">The angle.</param>
 public void Set(Vector2 position, float angle)
 {
     P = position;
     Q.Set(angle);
 }