Exemplo n.º 1
0
 @Override
 protected synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       CollisionJNI.delete_btCylinderShapeX(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
Exemplo n.º 2
0
 @Override
 protected void finalize() throws Throwable {
   if (!destroyed) destroy();
   super.finalize();
 }
Exemplo n.º 3
0
 @Override
 protected void reset(long cPtr, boolean cMemoryOwn) {
   if (!destroyed) destroy();
   super.reset(CollisionJNI.btCylinderShapeX_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
 }