コード例 #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);
 }