OSDN Git Service

Merge branch 'origin/master'
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / bt32BitAxisSweep3.java
index b4410ee..2cf4ddf 100644 (file)
@@ -26,6 +26,13 @@ public class bt32BitAxisSweep3 extends btAxisSweep3InternalInt {
                construct();\r
        }\r
        \r
+       @Override\r
+       protected void reset(long cPtr, boolean cMemoryOwn) {\r
+               if (!destroyed)\r
+                       destroy();\r
+               super.reset(gdxBulletJNI.bt32BitAxisSweep3_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);\r
+       }\r
+       \r
        public static long getCPtr(bt32BitAxisSweep3 obj) {\r
                return (obj == null) ? 0 : obj.swigCPtr;\r
        }\r