Example #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);
 }
Example #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);
 }
Example #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);
 }