Exemplo n.º 1
0
 /** used internally, not safe */
 public void calculateLocalInertia(float mass, javax.vecmath.Vector3f vector) {
   if (cShape == null) {
     return;
   }
   if (this instanceof MeshCollisionShape) {
     vector.set(0, 0, 0);
   } else {
     cShape.calculateLocalInertia(mass, vector);
   }
 }