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