OSDN Git Service

swig generated java files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / sMedium.java
old mode 100755 (executable)
new mode 100644 (file)
index 49095f4..389077d
@@ -1,6 +1,6 @@
 /* ----------------------------------------------------------------------------\r
  * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.9\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
@@ -13,56 +13,71 @@ import com.badlogic.gdx.math.Quaternion;
 import com.badlogic.gdx.math.Matrix3;\r
 import com.badlogic.gdx.math.Matrix4;\r
 \r
-public class sMedium {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
+public class sMedium extends BulletBase {\r
+       private long swigCPtr;\r
+       \r
+       protected sMedium(final String className, long cPtr, boolean cMemoryOwn) {\r
+               super(className, cPtr, cMemoryOwn);\r
+               swigCPtr = cPtr;\r
+       }\r
+       \r
+       protected sMedium(long cPtr, boolean cMemoryOwn) {\r
+               this("sMedium", 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(sMedium obj) {\r
+               return (obj == null) ? 0 : obj.swigCPtr;\r
+       }\r
 \r
-  protected sMedium(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(sMedium obj) {\r
-    return (obj == null) ? 0 : obj.swigCPtr;\r
-  }\r
+       @Override\r
+       protected void finalize() throws Throwable {\r
+               if (!destroyed)\r
+                       destroy();\r
+               super.finalize();\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_sMedium(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
+  @Override protected synchronized void delete() {\r
+               if (swigCPtr != 0) {\r
+                       if (swigCMemOwn) {\r
+                               swigCMemOwn = false;\r
+                               gdxBulletJNI.delete_sMedium(swigCPtr);\r
+                       }\r
+                       swigCPtr = 0;\r
+               }\r
+               super.delete();\r
+       }\r
 \r
-  public void setM_velocity(btVector3 value) {\r
-    gdxBulletJNI.sMedium_m_velocity_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
+  public void setVelocity(btVector3 value) {\r
+    gdxBulletJNI.sMedium_velocity_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
   }\r
 \r
-  public btVector3 getM_velocity() {\r
-    long cPtr = gdxBulletJNI.sMedium_m_velocity_get(swigCPtr, this);\r
+  public btVector3 getVelocity() {\r
+    long cPtr = gdxBulletJNI.sMedium_velocity_get(swigCPtr, this);\r
     return (cPtr == 0) ? null : new btVector3(cPtr, false);\r
   }\r
 \r
-  public void setM_pressure(float value) {\r
-    gdxBulletJNI.sMedium_m_pressure_set(swigCPtr, this, value);\r
+  public void setPressure(float value) {\r
+    gdxBulletJNI.sMedium_pressure_set(swigCPtr, this, value);\r
   }\r
 \r
-  public float getM_pressure() {\r
-    return gdxBulletJNI.sMedium_m_pressure_get(swigCPtr, this);\r
+  public float getPressure() {\r
+    return gdxBulletJNI.sMedium_pressure_get(swigCPtr, this);\r
   }\r
 \r
-  public void setM_density(float value) {\r
-    gdxBulletJNI.sMedium_m_density_set(swigCPtr, this, value);\r
+  public void setDensity(float value) {\r
+    gdxBulletJNI.sMedium_density_set(swigCPtr, this, value);\r
   }\r
 \r
-  public float getM_density() {\r
-    return gdxBulletJNI.sMedium_m_density_get(swigCPtr, this);\r
+  public float getDensity() {\r
+    return gdxBulletJNI.sMedium_density_get(swigCPtr, this);\r
   }\r
 \r
   public sMedium() {\r