Пример #1
0
 public STransform()
 {
     _localRotation = SQuaternion.AxisAngle(SVector3.up, (Fix64)0);
     _localPosition = SVector3.zero;
 }
Пример #2
0
 public void RotateAroundAxis(SVector3 axis, Fix64 angle)
 {
     rotation = SQuaternion.AxisAngle(axis, angle) * rotation;
 }