Пример #1
0
 private CoordinateSystem LocallyRotated(Quaternion newRotation)
 {
     return new CoordinateSystem(Rotation * newRotation, Origin);
 }
Пример #2
0
 private CoordinateSystem(Quaternion rotation, Point origin)
 {
     Rotation = rotation;
     Origin = origin;
 }
Пример #3
0
 private CoordinateSystem GloballyRotated(Quaternion newRotation)
 {
     return new CoordinateSystem(newRotation * Rotation, newRotation * Origin);
 }