Beispiel #1
0
 public static extern ShapeId CreateCapsuleShape(CapsuleOrientation capsuleOrientation, float segmentHalfLength, float radius);
Beispiel #2
0
 public static Shape CreateCapsule(CapsuleOrientation capsuleOrientation, float segmentHalfLength, float radius) {
   return new Shape(Native.CreateCapsuleShape((Native.CapsuleOrientation)capsuleOrientation, segmentHalfLength, radius));
 }
Beispiel #3
0
 public static Shape CreateCapsule(CapsuleOrientation capsuleOrientation, float segmentHalfLength, float radius)
 {
     return(new Shape(Native.CreateCapsuleShape((Native.CapsuleOrientation)capsuleOrientation, segmentHalfLength, radius)));
 }