/// <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)); }
/// <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)); }