OSDN Git Service

Swig generated files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btConstraintSetting.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.10\r
4  *\r
5  * Do not make changes to this file unless you know what you are doing--modify\r
6  * the SWIG interface file instead.\r
7  * ----------------------------------------------------------------------------- */\r
8 \r
9 package com.badlogic.gdx.physics.bullet;\r
10 \r
11 import com.badlogic.gdx.math.Vector3;\r
12 import com.badlogic.gdx.math.Quaternion;\r
13 import com.badlogic.gdx.math.Matrix3;\r
14 import com.badlogic.gdx.math.Matrix4;\r
15 \r
16 public class btConstraintSetting extends BulletBase {\r
17         private long swigCPtr;\r
18         \r
19         protected btConstraintSetting(final String className, long cPtr, boolean cMemoryOwn) {\r
20                 super(className, cPtr, cMemoryOwn);\r
21                 swigCPtr = cPtr;\r
22         }\r
23         \r
24         protected btConstraintSetting(long cPtr, boolean cMemoryOwn) {\r
25                 this("btConstraintSetting", cPtr, cMemoryOwn);\r
26                 construct();\r
27         }\r
28         \r
29         public static long getCPtr(btConstraintSetting obj) {\r
30                 return (obj == null) ? 0 : obj.swigCPtr;\r
31         }\r
32 \r
33         @Override\r
34         protected void finalize() throws Throwable {\r
35                 if (!destroyed)\r
36                         destroy();\r
37                 super.finalize();\r
38         }\r
39 \r
40   @Override protected synchronized void delete() {\r
41                 if (swigCPtr != 0) {\r
42                         if (swigCMemOwn) {\r
43                                 swigCMemOwn = false;\r
44                                 gdxBulletJNI.delete_btConstraintSetting(swigCPtr);\r
45                         }\r
46                         swigCPtr = 0;\r
47                 }\r
48                 super.delete();\r
49         }\r
50 \r
51   public btConstraintSetting() {\r
52     this(gdxBulletJNI.new_btConstraintSetting(), true);\r
53   }\r
54 \r
55   public void setTau(float value) {\r
56     gdxBulletJNI.btConstraintSetting_tau_set(swigCPtr, this, value);\r
57   }\r
58 \r
59   public float getTau() {\r
60     return gdxBulletJNI.btConstraintSetting_tau_get(swigCPtr, this);\r
61   }\r
62 \r
63   public void setDamping(float value) {\r
64     gdxBulletJNI.btConstraintSetting_damping_set(swigCPtr, this, value);\r
65   }\r
66 \r
67   public float getDamping() {\r
68     return gdxBulletJNI.btConstraintSetting_damping_get(swigCPtr, this);\r
69   }\r
70 \r
71   public void setImpulseClamp(float value) {\r
72     gdxBulletJNI.btConstraintSetting_impulseClamp_set(swigCPtr, this, value);\r
73   }\r
74 \r
75   public float getImpulseClamp() {\r
76     return gdxBulletJNI.btConstraintSetting_impulseClamp_get(swigCPtr, this);\r
77   }\r
78 \r
79 }\r