OSDN Git Service

swig generated java files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btPoint2PointConstraintFloatData.java
index 07bfe9e..c2535bc 100644 (file)
@@ -1,73 +1,89 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.8
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package com.badlogic.gdx.physics.bullet;
-
-import com.badlogic.gdx.math.Vector3;
-import com.badlogic.gdx.math.Quaternion;
-import com.badlogic.gdx.math.Matrix3;
-
-public class btPoint2PointConstraintFloatData {
-  private long swigCPtr;
-  protected boolean swigCMemOwn;
-
-  protected btPoint2PointConstraintFloatData(long cPtr, boolean cMemoryOwn) {
-    swigCMemOwn = cMemoryOwn;
-    swigCPtr = cPtr;
-  }
-
-  public static long getCPtr(btPoint2PointConstraintFloatData obj) {
-    return (obj == null) ? 0 : obj.swigCPtr;
-  }
-
-  protected void finalize() {
-    delete();
-  }
-
-  public synchronized void delete() {
-    if (swigCPtr != 0) {
-      if (swigCMemOwn) {
-        swigCMemOwn = false;
-        gdxBulletJNI.delete_btPoint2PointConstraintFloatData(swigCPtr);
-      }
-      swigCPtr = 0;
-    }
-  }
-
-  public void setM_typeConstraintData(btTypedConstraintData value) {
-    gdxBulletJNI.btPoint2PointConstraintFloatData_m_typeConstraintData_set(swigCPtr, this, btTypedConstraintData.getCPtr(value), value);
-  }
-
-  public btTypedConstraintData getM_typeConstraintData() {
-    long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_typeConstraintData_get(swigCPtr, this);
-    return (cPtr == 0) ? null : new btTypedConstraintData(cPtr, false);
-  }
-
-  public void setM_pivotInA(btVector3FloatData value) {
-    gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInA_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
-  }
-
-  public btVector3FloatData getM_pivotInA() {
-    long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInA_get(swigCPtr, this);
-    return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
-  }
-
-  public void setM_pivotInB(btVector3FloatData value) {
-    gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInB_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
-  }
-
-  public btVector3FloatData getM_pivotInB() {
-    long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInB_get(swigCPtr, this);
-    return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
-  }
-
-  public btPoint2PointConstraintFloatData() {
-    this(gdxBulletJNI.new_btPoint2PointConstraintFloatData(), true);
-  }
-
-}
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.10\r
+ *\r
+ * Do not make changes to this file unless you know what you are doing--modify\r
+ * the SWIG interface file instead.\r
+ * ----------------------------------------------------------------------------- */\r
+\r
+package com.badlogic.gdx.physics.bullet;\r
+\r
+import com.badlogic.gdx.math.Vector3;\r
+import com.badlogic.gdx.math.Quaternion;\r
+import com.badlogic.gdx.math.Matrix3;\r
+import com.badlogic.gdx.math.Matrix4;\r
+\r
+public class btPoint2PointConstraintFloatData extends BulletBase {\r
+       private long swigCPtr;\r
+       \r
+       protected btPoint2PointConstraintFloatData(final String className, long cPtr, boolean cMemoryOwn) {\r
+               super(className, cPtr, cMemoryOwn);\r
+               swigCPtr = cPtr;\r
+       }\r
+       \r
+       protected btPoint2PointConstraintFloatData(long cPtr, boolean cMemoryOwn) {\r
+               this("btPoint2PointConstraintFloatData", cPtr, cMemoryOwn);\r
+               construct();\r
+       }\r
+       \r
+       @Override\r
+       protected void reset(long cPtr, boolean cMemoryOwn) {\r
+               if (!destroyed)\r
+                       destroy();\r
+               super.reset(swigCPtr = cPtr, cMemoryOwn);\r
+       }\r
+       \r
+       public static long getCPtr(btPoint2PointConstraintFloatData 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_btPoint2PointConstraintFloatData(swigCPtr);\r
+                       }\r
+                       swigCPtr = 0;\r
+               }\r
+               super.delete();\r
+       }\r
+\r
+  public void setTypeConstraintData(btTypedConstraintData value) {\r
+    gdxBulletJNI.btPoint2PointConstraintFloatData_typeConstraintData_set(swigCPtr, this, btTypedConstraintData.getCPtr(value), value);\r
+  }\r
+\r
+  public btTypedConstraintData getTypeConstraintData() {\r
+    long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_typeConstraintData_get(swigCPtr, this);\r
+    return (cPtr == 0) ? null : new btTypedConstraintData(cPtr, false);\r
+  }\r
+\r
+  public void setPivotInA(btVector3FloatData value) {\r
+    gdxBulletJNI.btPoint2PointConstraintFloatData_pivotInA_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);\r
+  }\r
+\r
+  public btVector3FloatData getPivotInA() {\r
+    long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_pivotInA_get(swigCPtr, this);\r
+    return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);\r
+  }\r
+\r
+  public void setPivotInB(btVector3FloatData value) {\r
+    gdxBulletJNI.btPoint2PointConstraintFloatData_pivotInB_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);\r
+  }\r
+\r
+  public btVector3FloatData getPivotInB() {\r
+    long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_pivotInB_get(swigCPtr, this);\r
+    return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);\r
+  }\r
+\r
+  public btPoint2PointConstraintFloatData() {\r
+    this(gdxBulletJNI.new_btPoint2PointConstraintFloatData(), true);\r
+  }\r
+\r
+}\r