Pārlūkot izejas kodu

Missing getHeight present on jbullet

Well, I found that I'm using this on my code with jbullet but is not present on bullet version so here it is.
NemesisMate 9 gadi atpakaļ
vecāks
revīzija
5c1d442b00

+ 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);