OSDN Git Service

merged upstream
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btPoint2PointConstraintFloatData.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 btPoint2PointConstraintFloatData {\r
17   private long swigCPtr;\r
18   protected boolean swigCMemOwn;\r
19 \r
20   protected btPoint2PointConstraintFloatData(long cPtr, boolean cMemoryOwn) {\r
21     swigCMemOwn = cMemoryOwn;\r
22     swigCPtr = cPtr;\r
23   }\r
24 \r
25   public static long getCPtr(btPoint2PointConstraintFloatData obj) {\r
26     return (obj == null) ? 0 : obj.swigCPtr;\r
27   }\r
28 \r
29   protected void finalize() {\r
30     delete();\r
31   }\r
32 \r
33   public synchronized void delete() {\r
34     if (swigCPtr != 0) {\r
35       if (swigCMemOwn) {\r
36         swigCMemOwn = false;\r
37         gdxBulletJNI.delete_btPoint2PointConstraintFloatData(swigCPtr);\r
38       }\r
39       swigCPtr = 0;\r
40     }\r
41   }\r
42 \r
43   public void setM_typeConstraintData(btTypedConstraintData value) {\r
44     gdxBulletJNI.btPoint2PointConstraintFloatData_m_typeConstraintData_set(swigCPtr, this, btTypedConstraintData.getCPtr(value), value);\r
45   }\r
46 \r
47   public btTypedConstraintData getM_typeConstraintData() {\r
48     long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_typeConstraintData_get(swigCPtr, this);\r
49     return (cPtr == 0) ? null : new btTypedConstraintData(cPtr, false);\r
50   }\r
51 \r
52   public void setM_pivotInA(btVector3FloatData value) {\r
53     gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInA_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);\r
54   }\r
55 \r
56   public btVector3FloatData getM_pivotInA() {\r
57     long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInA_get(swigCPtr, this);\r
58     return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);\r
59   }\r
60 \r
61   public void setM_pivotInB(btVector3FloatData value) {\r
62     gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInB_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);\r
63   }\r
64 \r
65   public btVector3FloatData getM_pivotInB() {\r
66     long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInB_get(swigCPtr, this);\r
67     return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);\r
68   }\r
69 \r
70   public btPoint2PointConstraintFloatData() {\r
71     this(gdxBulletJNI.new_btPoint2PointConstraintFloatData(), true);\r
72   }\r
73 \r
74 }\r