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