예제 #1
0
파일: Native.cs 프로젝트: cleebp/TieSim
 public static extern ShapeId CreateCapsuleShape(CapsuleOrientation capsuleOrientation, float segmentHalfLength, float radius);
예제 #2
0
파일: Shape.cs 프로젝트: Edudjr/riftbdu
 public static Shape CreateCapsule(CapsuleOrientation capsuleOrientation, float segmentHalfLength, float radius) {
   return new Shape(Native.CreateCapsuleShape((Native.CapsuleOrientation)capsuleOrientation, segmentHalfLength, radius));
 }
예제 #3
0
파일: Shape.cs 프로젝트: cleebp/TieSim
 public static Shape CreateCapsule(CapsuleOrientation capsuleOrientation, float segmentHalfLength, float radius)
 {
     return(new Shape(Native.CreateCapsuleShape((Native.CapsuleOrientation)capsuleOrientation, segmentHalfLength, radius)));
 }