From 623dc0fa8cbd9473830a1786f6d49fa808a09439 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 05 May 2019 14:06:12 -0400 Subject: [PATCH] Rename Grafreed --- GenericJoint.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/GenericJoint.java b/GenericJoint.java index ab83012..1119276 100644 --- a/GenericJoint.java +++ b/GenericJoint.java @@ -381,7 +381,7 @@ try { //font = FontRender.createFont("Dialog", 11, false, true); - font = new FontRender.GLFont(gl, GrafreeD.class.getResourceAsStream("DejaVu_Sans_11.fnt")); + font = new FontRender.GLFont(gl, Grafreed.class.getResourceAsStream("DejaVu_Sans_11.fnt")); } catch (java.io.IOException e) { e.printStackTrace(); @@ -873,6 +873,7 @@ if (shape.getShapeType() == BroadphaseNativeType.COMPOUND_SHAPE_PROXYTYPE) { + new Exception().printStackTrace(); System.exit(0); CompoundShape compoundShape = (CompoundShape) shape; Transform childTrans = transformsPool.get(); @@ -903,6 +904,7 @@ { case BOX_SHAPE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); BoxShape boxShape = (BoxShape) shape; Vector3f halfExtent = boxShape.getHalfExtentsWithMargin(vectorsPool.get()); @@ -914,6 +916,7 @@ } case SPHERE_SHAPE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); SphereShape sphereShape = (SphereShape) shape; float radius = sphereShape.getMargin(); // radius doesn't include the margin, so draw with margin @@ -960,6 +963,7 @@ case STATIC_PLANE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); StaticPlaneShape staticPlaneShape = (StaticPlaneShape) shape; float planeConst = staticPlaneShape.getPlaneConstant(); @@ -1006,6 +1010,7 @@ case CYLINDER_SHAPE_PROXYTYPE: { + new Exception().printStackTrace(); System.exit(0); CylinderShape cylinder = (CylinderShape) shape; int upAxis = cylinder.getUpAxis(); @@ -1358,6 +1363,7 @@ // for polyhedral shapes if (shape.isPolyhedral()) { + new Exception().printStackTrace(); System.exit(0); PolyhedralConvexShape polyshape = (PolyhedralConvexShape) shape; @@ -1427,6 +1433,7 @@ if (shape.isConcave())//>getShapeType() == TRIANGLE_MESH_SHAPE_PROXYTYPE||shape->getShapeType() == GIMPACT_SHAPE_PROXYTYPE) // if (shape->getShapeType() == TRIANGLE_MESH_SHAPE_PROXYTYPE) { + new Exception().printStackTrace(); System.exit(0); ConcaveShape concaveMesh = (ConcaveShape) shape; //btVector3 aabbMax(btScalar(1e30),btScalar(1e30),btScalar(1e30)); -- Gitblit v1.6.2