import com.badlogic.gdx.math.Matrix3;\r
import com.badlogic.gdx.math.Matrix4;\r
\r
-public class SoftBodyConfigData {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
+public class SoftBodyConfigData extends BulletBase {\r
+ private long swigCPtr;\r
+ \r
+ protected SoftBodyConfigData(final String className, long cPtr, boolean cMemoryOwn) {\r
+ super(className, cPtr, cMemoryOwn);\r
+ swigCPtr = cPtr;\r
+ }\r
+ \r
+ protected SoftBodyConfigData(long cPtr, boolean cMemoryOwn) {\r
+ this("SoftBodyConfigData", cPtr, cMemoryOwn);\r
+ construct();\r
+ }\r
+ \r
+ public static long getCPtr(SoftBodyConfigData obj) {\r
+ return (obj == null) ? 0 : obj.swigCPtr;\r
+ }\r
\r
- protected SoftBodyConfigData(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(SoftBodyConfigData 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_SoftBodyConfigData(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_SoftBodyConfigData(swigCPtr);\r
+ }\r
+ swigCPtr = 0;\r
+ }\r
+ super.delete();\r
+ }\r
\r
- public void setM_aeroModel(int value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_aeroModel_set(swigCPtr, this, value);\r
+ public void setAeroModel(int value) {\r
+ gdxBulletJNI.SoftBodyConfigData_aeroModel_set(swigCPtr, this, value);\r
}\r
\r
- public int getM_aeroModel() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_aeroModel_get(swigCPtr, this);\r
+ public int getAeroModel() {\r
+ return gdxBulletJNI.SoftBodyConfigData_aeroModel_get(swigCPtr, this);\r
}\r
\r
- public void setM_baumgarte(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_baumgarte_set(swigCPtr, this, value);\r
+ public void setBaumgarte(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_baumgarte_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_baumgarte() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_baumgarte_get(swigCPtr, this);\r
+ public float getBaumgarte() {\r
+ return gdxBulletJNI.SoftBodyConfigData_baumgarte_get(swigCPtr, this);\r
}\r
\r
- public void setM_damping(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_damping_set(swigCPtr, this, value);\r
+ public void setDamping(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_damping_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_damping() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_damping_get(swigCPtr, this);\r
+ public float getDamping() {\r
+ return gdxBulletJNI.SoftBodyConfigData_damping_get(swigCPtr, this);\r
}\r
\r
- public void setM_drag(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_drag_set(swigCPtr, this, value);\r
+ public void setDrag(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_drag_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_drag() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_drag_get(swigCPtr, this);\r
+ public float getDrag() {\r
+ return gdxBulletJNI.SoftBodyConfigData_drag_get(swigCPtr, this);\r
}\r
\r
- public void setM_lift(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_lift_set(swigCPtr, this, value);\r
+ public void setLift(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_lift_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_lift() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_lift_get(swigCPtr, this);\r
+ public float getLift() {\r
+ return gdxBulletJNI.SoftBodyConfigData_lift_get(swigCPtr, this);\r
}\r
\r
- public void setM_pressure(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_pressure_set(swigCPtr, this, value);\r
+ public void setPressure(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_pressure_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_pressure() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_pressure_get(swigCPtr, this);\r
+ public float getPressure() {\r
+ return gdxBulletJNI.SoftBodyConfigData_pressure_get(swigCPtr, this);\r
}\r
\r
- public void setM_volume(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_volume_set(swigCPtr, this, value);\r
+ public void setVolume(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_volume_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_volume() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_volume_get(swigCPtr, this);\r
+ public float getVolume() {\r
+ return gdxBulletJNI.SoftBodyConfigData_volume_get(swigCPtr, this);\r
}\r
\r
- public void setM_dynamicFriction(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_dynamicFriction_set(swigCPtr, this, value);\r
+ public void setDynamicFriction(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_dynamicFriction_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_dynamicFriction() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_dynamicFriction_get(swigCPtr, this);\r
+ public float getDynamicFriction() {\r
+ return gdxBulletJNI.SoftBodyConfigData_dynamicFriction_get(swigCPtr, this);\r
}\r
\r
- public void setM_poseMatch(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_poseMatch_set(swigCPtr, this, value);\r
+ public void setPoseMatch(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_poseMatch_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_poseMatch() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_poseMatch_get(swigCPtr, this);\r
+ public float getPoseMatch() {\r
+ return gdxBulletJNI.SoftBodyConfigData_poseMatch_get(swigCPtr, this);\r
}\r
\r
- public void setM_rigidContactHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_rigidContactHardness_set(swigCPtr, this, value);\r
+ public void setRigidContactHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_rigidContactHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_rigidContactHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_rigidContactHardness_get(swigCPtr, this);\r
+ public float getRigidContactHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_rigidContactHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_kineticContactHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_kineticContactHardness_set(swigCPtr, this, value);\r
+ public void setKineticContactHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_kineticContactHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_kineticContactHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_kineticContactHardness_get(swigCPtr, this);\r
+ public float getKineticContactHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_kineticContactHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_softContactHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softContactHardness_set(swigCPtr, this, value);\r
+ public void setSoftContactHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softContactHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softContactHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softContactHardness_get(swigCPtr, this);\r
+ public float getSoftContactHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softContactHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_anchorHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_anchorHardness_set(swigCPtr, this, value);\r
+ public void setAnchorHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_anchorHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_anchorHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_anchorHardness_get(swigCPtr, this);\r
+ public float getAnchorHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_anchorHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_softRigidClusterHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softRigidClusterHardness_set(swigCPtr, this, value);\r
+ public void setSoftRigidClusterHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softRigidClusterHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softRigidClusterHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softRigidClusterHardness_get(swigCPtr, this);\r
+ public float getSoftRigidClusterHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softRigidClusterHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_softKineticClusterHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softKineticClusterHardness_set(swigCPtr, this, value);\r
+ public void setSoftKineticClusterHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softKineticClusterHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softKineticClusterHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softKineticClusterHardness_get(swigCPtr, this);\r
+ public float getSoftKineticClusterHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softKineticClusterHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_softSoftClusterHardness(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softSoftClusterHardness_set(swigCPtr, this, value);\r
+ public void setSoftSoftClusterHardness(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softSoftClusterHardness_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softSoftClusterHardness() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softSoftClusterHardness_get(swigCPtr, this);\r
+ public float getSoftSoftClusterHardness() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softSoftClusterHardness_get(swigCPtr, this);\r
}\r
\r
- public void setM_softRigidClusterImpulseSplit(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softRigidClusterImpulseSplit_set(swigCPtr, this, value);\r
+ public void setSoftRigidClusterImpulseSplit(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softRigidClusterImpulseSplit_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softRigidClusterImpulseSplit() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softRigidClusterImpulseSplit_get(swigCPtr, this);\r
+ public float getSoftRigidClusterImpulseSplit() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softRigidClusterImpulseSplit_get(swigCPtr, this);\r
}\r
\r
- public void setM_softKineticClusterImpulseSplit(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softKineticClusterImpulseSplit_set(swigCPtr, this, value);\r
+ public void setSoftKineticClusterImpulseSplit(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softKineticClusterImpulseSplit_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softKineticClusterImpulseSplit() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softKineticClusterImpulseSplit_get(swigCPtr, this);\r
+ public float getSoftKineticClusterImpulseSplit() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softKineticClusterImpulseSplit_get(swigCPtr, this);\r
}\r
\r
- public void setM_softSoftClusterImpulseSplit(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_softSoftClusterImpulseSplit_set(swigCPtr, this, value);\r
+ public void setSoftSoftClusterImpulseSplit(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_softSoftClusterImpulseSplit_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_softSoftClusterImpulseSplit() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_softSoftClusterImpulseSplit_get(swigCPtr, this);\r
+ public float getSoftSoftClusterImpulseSplit() {\r
+ return gdxBulletJNI.SoftBodyConfigData_softSoftClusterImpulseSplit_get(swigCPtr, this);\r
}\r
\r
- public void setM_maxVolume(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_maxVolume_set(swigCPtr, this, value);\r
+ public void setMaxVolume(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_maxVolume_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_maxVolume() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_maxVolume_get(swigCPtr, this);\r
+ public float getMaxVolume() {\r
+ return gdxBulletJNI.SoftBodyConfigData_maxVolume_get(swigCPtr, this);\r
}\r
\r
- public void setM_timeScale(float value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_timeScale_set(swigCPtr, this, value);\r
+ public void setTimeScale(float value) {\r
+ gdxBulletJNI.SoftBodyConfigData_timeScale_set(swigCPtr, this, value);\r
}\r
\r
- public float getM_timeScale() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_timeScale_get(swigCPtr, this);\r
+ public float getTimeScale() {\r
+ return gdxBulletJNI.SoftBodyConfigData_timeScale_get(swigCPtr, this);\r
}\r
\r
- public void setM_velocityIterations(int value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_velocityIterations_set(swigCPtr, this, value);\r
+ public void setVelocityIterations(int value) {\r
+ gdxBulletJNI.SoftBodyConfigData_velocityIterations_set(swigCPtr, this, value);\r
}\r
\r
- public int getM_velocityIterations() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_velocityIterations_get(swigCPtr, this);\r
+ public int getVelocityIterations() {\r
+ return gdxBulletJNI.SoftBodyConfigData_velocityIterations_get(swigCPtr, this);\r
}\r
\r
- public void setM_positionIterations(int value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_positionIterations_set(swigCPtr, this, value);\r
+ public void setPositionIterations(int value) {\r
+ gdxBulletJNI.SoftBodyConfigData_positionIterations_set(swigCPtr, this, value);\r
}\r
\r
- public int getM_positionIterations() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_positionIterations_get(swigCPtr, this);\r
+ public int getPositionIterations() {\r
+ return gdxBulletJNI.SoftBodyConfigData_positionIterations_get(swigCPtr, this);\r
}\r
\r
- public void setM_driftIterations(int value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_driftIterations_set(swigCPtr, this, value);\r
+ public void setDriftIterations(int value) {\r
+ gdxBulletJNI.SoftBodyConfigData_driftIterations_set(swigCPtr, this, value);\r
}\r
\r
- public int getM_driftIterations() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_driftIterations_get(swigCPtr, this);\r
+ public int getDriftIterations() {\r
+ return gdxBulletJNI.SoftBodyConfigData_driftIterations_get(swigCPtr, this);\r
}\r
\r
- public void setM_clusterIterations(int value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_clusterIterations_set(swigCPtr, this, value);\r
+ public void setClusterIterations(int value) {\r
+ gdxBulletJNI.SoftBodyConfigData_clusterIterations_set(swigCPtr, this, value);\r
}\r
\r
- public int getM_clusterIterations() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_clusterIterations_get(swigCPtr, this);\r
+ public int getClusterIterations() {\r
+ return gdxBulletJNI.SoftBodyConfigData_clusterIterations_get(swigCPtr, this);\r
}\r
\r
- public void setM_collisionFlags(int value) {\r
- gdxBulletJNI.SoftBodyConfigData_m_collisionFlags_set(swigCPtr, this, value);\r
+ public void setCollisionFlags(int value) {\r
+ gdxBulletJNI.SoftBodyConfigData_collisionFlags_set(swigCPtr, this, value);\r
}\r
\r
- public int getM_collisionFlags() {\r
- return gdxBulletJNI.SoftBodyConfigData_m_collisionFlags_get(swigCPtr, this);\r
+ public int getCollisionFlags() {\r
+ return gdxBulletJNI.SoftBodyConfigData_collisionFlags_get(swigCPtr, this);\r
}\r
\r
public SoftBodyConfigData() {\r