Пример #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;
 }
Пример #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
 public static Shape CreateBox(LeapVector3 halfSize, float radius)
 {
     return(new Shape(Native.CreateBoxShape(halfSize.ToNative(), radius)));
 }