Пример #1
0
		public void RotateAxis(Vector3 axisRotation, float angle) { PostMultiplyMatrix(Matrix4.CreateFromAxisAngle(axisRotation, angle)); IsDirty = true; }
Пример #2
0
 public void RotateAxis(float x, float y, float z, float degrees)
 {
     PostMultiplyMatrix(Matrix4.CreateFromAxisAngle(new Vector3(x, y, z), DegreesToRadians(degrees))); IsDirty = true;
 }
Пример #3
0
 public void RotateAxis(Vector3 axisRotation, float angle)
 {
     Top = Matrix4.CreateFromAxisAngle(axisRotation, angle) * Top; IsDirty = true;
 }