OSDN Git Service

Swig generated files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btGeneric6DofSpringConstraintData.java
index 8424e82..9ff7b7e 100755 (executable)
@@ -13,72 +13,80 @@ import com.badlogic.gdx.math.Quaternion;
 import com.badlogic.gdx.math.Matrix3;\r
 import com.badlogic.gdx.math.Matrix4;\r
 \r
-public class btGeneric6DofSpringConstraintData {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  protected btGeneric6DofSpringConstraintData(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(btGeneric6DofSpringConstraintData obj) {\r
-    return (obj == null) ? 0 : obj.swigCPtr;\r
-  }\r
-\r
-  protected void finalize() {\r
-    delete();\r
-  }\r
-\r
-  public synchronized void delete() {\r
-    if (swigCPtr != 0) {\r
-      if (swigCMemOwn) {\r
-        swigCMemOwn = false;\r
-        gdxBulletJNI.delete_btGeneric6DofSpringConstraintData(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-  public void setM_6dofData(btGeneric6DofConstraintData value) {\r
-    gdxBulletJNI.btGeneric6DofSpringConstraintData_m_6dofData_set(swigCPtr, this, btGeneric6DofConstraintData.getCPtr(value), value);\r
+public class btGeneric6DofSpringConstraintData extends BulletBase {\r
+       private long swigCPtr;\r
+       \r
+       protected btGeneric6DofSpringConstraintData(final String className, long cPtr, boolean cMemoryOwn) {\r
+               super(className, cPtr, cMemoryOwn);\r
+               swigCPtr = cPtr;\r
+       }\r
+       \r
+       protected btGeneric6DofSpringConstraintData(long cPtr, boolean cMemoryOwn) {\r
+               this("btGeneric6DofSpringConstraintData", cPtr, cMemoryOwn);\r
+               construct();\r
+       }\r
+       \r
+       public static long getCPtr(btGeneric6DofSpringConstraintData obj) {\r
+               return (obj == null) ? 0 : obj.swigCPtr;\r
+       }\r
+\r
+       @Override\r
+       protected void finalize() throws Throwable {\r
+               if (!destroyed)\r
+                       destroy();\r
+               super.finalize();\r
+       }\r
+\r
+  @Override protected synchronized void delete() {\r
+               if (swigCPtr != 0) {\r
+                       if (swigCMemOwn) {\r
+                               swigCMemOwn = false;\r
+                               gdxBulletJNI.delete_btGeneric6DofSpringConstraintData(swigCPtr);\r
+                       }\r
+                       swigCPtr = 0;\r
+               }\r
+               super.delete();\r
+       }\r
+\r
+  public void set6dofData(btGeneric6DofConstraintData value) {\r
+    gdxBulletJNI.btGeneric6DofSpringConstraintData_6dofData_set(swigCPtr, this, btGeneric6DofConstraintData.getCPtr(value), value);\r
   }\r
 \r
-  public btGeneric6DofConstraintData getM_6dofData() {\r
-    long cPtr = gdxBulletJNI.btGeneric6DofSpringConstraintData_m_6dofData_get(swigCPtr, this);\r
+  public btGeneric6DofConstraintData get6dofData() {\r
+    long cPtr = gdxBulletJNI.btGeneric6DofSpringConstraintData_6dofData_get(swigCPtr, this);\r
     return (cPtr == 0) ? null : new btGeneric6DofConstraintData(cPtr, false);\r
   }\r
 \r
-  public void setM_springEnabled(int[] value) {\r
-    gdxBulletJNI.btGeneric6DofSpringConstraintData_m_springEnabled_set(swigCPtr, this, value);\r
+  public void setSpringEnabled(int[] value) {\r
+    gdxBulletJNI.btGeneric6DofSpringConstraintData_springEnabled_set(swigCPtr, this, value);\r
   }\r
 \r
-  public int[] getM_springEnabled() {\r
-    return gdxBulletJNI.btGeneric6DofSpringConstraintData_m_springEnabled_get(swigCPtr, this);\r
+  public int[] getSpringEnabled() {\r
+    return gdxBulletJNI.btGeneric6DofSpringConstraintData_springEnabled_get(swigCPtr, this);\r
 }\r
 \r
-  public void setM_equilibriumPoint(float[] value) {\r
-    gdxBulletJNI.btGeneric6DofSpringConstraintData_m_equilibriumPoint_set(swigCPtr, this, value);\r
+  public void setEquilibriumPoint(float[] value) {\r
+    gdxBulletJNI.btGeneric6DofSpringConstraintData_equilibriumPoint_set(swigCPtr, this, value);\r
   }\r
 \r
-  public float[] getM_equilibriumPoint() {\r
-    return gdxBulletJNI.btGeneric6DofSpringConstraintData_m_equilibriumPoint_get(swigCPtr, this);\r
+  public float[] getEquilibriumPoint() {\r
+    return gdxBulletJNI.btGeneric6DofSpringConstraintData_equilibriumPoint_get(swigCPtr, this);\r
 }\r
 \r
-  public void setM_springStiffness(float[] value) {\r
-    gdxBulletJNI.btGeneric6DofSpringConstraintData_m_springStiffness_set(swigCPtr, this, value);\r
+  public void setSpringStiffness(float[] value) {\r
+    gdxBulletJNI.btGeneric6DofSpringConstraintData_springStiffness_set(swigCPtr, this, value);\r
   }\r
 \r
-  public float[] getM_springStiffness() {\r
-    return gdxBulletJNI.btGeneric6DofSpringConstraintData_m_springStiffness_get(swigCPtr, this);\r
+  public float[] getSpringStiffness() {\r
+    return gdxBulletJNI.btGeneric6DofSpringConstraintData_springStiffness_get(swigCPtr, this);\r
 }\r
 \r
-  public void setM_springDamping(float[] value) {\r
-    gdxBulletJNI.btGeneric6DofSpringConstraintData_m_springDamping_set(swigCPtr, this, value);\r
+  public void setSpringDamping(float[] value) {\r
+    gdxBulletJNI.btGeneric6DofSpringConstraintData_springDamping_set(swigCPtr, this, value);\r
   }\r
 \r
-  public float[] getM_springDamping() {\r
-    return gdxBulletJNI.btGeneric6DofSpringConstraintData_m_springDamping_get(swigCPtr, this);\r
+  public float[] getSpringDamping() {\r
+    return gdxBulletJNI.btGeneric6DofSpringConstraintData_springDamping_get(swigCPtr, this);\r
 }\r
 \r
   public btGeneric6DofSpringConstraintData() {\r