Esempio n. 1
0
 public MyBlockOrientation(ref Matrix m)
 {
     Forward = Base6Directions.GetForward(ref m);
     Up      = Base6Directions.GetUp(ref m);
     Debug.Assert(IsValid);
 }
Esempio n. 2
0
 public MyBlockOrientation(ref Matrix m)
 {
     this.Forward = Base6Directions.GetForward(ref m);
     this.Up      = Base6Directions.GetUp(ref m);
 }
Esempio n. 3
0
 public MyBlockOrientation(ref Quaternion q)
 {
     Forward = Base6Directions.GetForward(q);
     Up      = Base6Directions.GetUp(q);
     Debug.Assert(IsValid);
 }
Esempio n. 4
0
 public MyBlockOrientation(ref Quaternion q)
 {
     this.Forward = Base6Directions.GetForward((Quaternion)q);
     this.Up      = Base6Directions.GetUp((Quaternion)q);
 }