コード例 #1
0
 /// <summary>
 /// Adds a rotation and a scalar value.
 /// </summary>
 public static Rot2f operator +(float angle, Rot2f rot)
 {
     return(Rot2f.Add(rot, angle));
 }
コード例 #2
0
 /// <summary>
 /// Adds 2 rotations.
 /// </summary>
 public static Rot2f operator +(Rot2f r0, Rot2f r1)
 {
     return(Rot2f.Add(r0, r1));
 }