Beispiel #1
0
 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;
 }
Beispiel #5
0
 public void Set(LeapVector3 v, LeapQuaternion q)
 {
     Position = v; Rotation = q;
 }
Beispiel #6
0
 internal LeapTransform(Native.Transform t)
 {
     Position = new LeapVector3(t.pos);
     Rotation = new LeapQuaternion(t.rot);
 }
Beispiel #7
0
 public LeapTransform(LeapVector3 v, LeapQuaternion q)
 {
     Position = v; Rotation = q;
 }
Beispiel #8
0
 public static Shape CreateBox(LeapVector3 halfSize, float radius)
 {
     return(new Shape(Native.CreateBoxShape(halfSize.ToNative(), radius)));
 }