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