Пример #1
0
 public override void pitch(float amount)
 {
     for (int i = 1; i < 3; i++)
     {
         axes[i].LeftMultiply(StaticMatrices.RotationMatrixArbitraryAxis(axes[0], amount));
     }
 }
Пример #2
0
 public override void yaw(float amount)
 {
     for (int i = 0; i < 3; i += 2)
     {
         axes[i].LeftMultiply(StaticMatrices.RotationMatrixArbitraryAxis(axes[1], -amount));
     }
 }
Пример #3
0
 public override void roll(float amount)
 {
     for (int i = 0; i < 2; i++)
     {
         axes[i].LeftMultiply(StaticMatrices.RotationMatrixArbitraryAxis(axes[2], amount * -.01));
     }
 }