示例#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);
 }
示例#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);
 }
示例#3
0
文件: Math.cs 项目: alanmbennett/Diez
 /// <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);
 }