Example #1
0
 /// <summary>
 /// Returns a new pose with the position and scale of this pose
 /// and the added rotation of both
 /// </summary>
 public Pose2D AddRotation(Pose2D other)
 {
     return(new Pose2D(Position, Rotation + other.Rotation));
 }
Example #2
0
 /// <summary>
 /// Returns a new pose with all components added
 /// </summary>
 public Pose2D AddAll(Pose2D other)
 {
     return(new Pose2D(Position + other.Position,
                       Rotation + other.Rotation,
                       Scale + other.Scale));
 }