소스 검색

Merge pull request #446 from NemesisMate/patch-6

Missing getHeight present on jbullet
Kirill Vainer 9 년 전
부모
커밋
93b7be9b83
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/ConeCollisionShape.java

+ 4 - 0
jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/ConeCollisionShape.java

@@ -70,6 +70,10 @@ public class ConeCollisionShape extends CollisionShape {
     public float getRadius() {
         return radius;
     }
+    
+    public float getHeight() {
+        return height;
+    }
 
     public void write(JmeExporter ex) throws IOException {
         super.write(ex);