예제 #1
0
파일: Shape.cs 프로젝트: Edudjr/riftbdu
 public static Shape CreateBox(LeapVector3 halfSize, float radius) {
   return new Shape(Native.CreateBoxShape(halfSize.ToNative(), radius));
 }
 public void Set(LeapVector3 v, LeapQuaternion q)
 {
     Position = v; Rotation = q;
 }
 internal LeapTransform(Native.Transform t)
 {
     Position = new LeapVector3(t.pos);
     Rotation = new LeapQuaternion(t.rot);
 }
 public LeapTransform(LeapVector3 v, LeapQuaternion q)
 {
     Position = v; Rotation = q;
 }
예제 #5
0
 public void Set(LeapVector3 v, LeapQuaternion q)
 {
     Position = v; Rotation = q;
 }
예제 #6
0
 internal LeapTransform(Native.Transform t)
 {
     Position = new LeapVector3(t.pos);
     Rotation = new LeapQuaternion(t.rot);
 }
예제 #7
0
 public LeapTransform(LeapVector3 v, LeapQuaternion q)
 {
     Position = v; Rotation = q;
 }
예제 #8
0
파일: Shape.cs 프로젝트: cleebp/TieSim
 public static Shape CreateBox(LeapVector3 halfSize, float radius)
 {
     return(new Shape(Native.CreateBoxShape(halfSize.ToNative(), radius)));
 }