예제 #1
0
 public MyPositionAndOrientation(ref MatrixD matrix)
 {
     Position = matrix.Translation;
     Forward  = (Vector3)matrix.Forward;
     Up       = (Vector3)matrix.Up;
 }
예제 #2
0
 public MyPositionAndOrientation(Vector3D position, Vector3 forward, Vector3 up)
 {
     Position = position;
     Forward  = forward;
     Up       = up;
 }
 public MyPositionAndOrientation(ref MatrixD matrix)
 {
     Position = matrix.Translation;
     Forward = (Vector3)matrix.Forward;
     Up = (Vector3)matrix.Up;
 }
		public Vector3DWrapper(SerializableVector3D v)
		{
			_vector = v;
		}
 public MyPositionAndOrientation(Vector3D position, Vector3 forward, Vector3 up)
 {
     Position = position;
     Forward = forward;
     Up = up;
 }