OSDN Git Service

Merge remote-tracking branch 'origin/master'
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btPoint2PointConstraintFloatData.java
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 2.0.8
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8
9 package com.badlogic.gdx.physics.bullet;
10
11 import com.badlogic.gdx.math.Vector3;
12 import com.badlogic.gdx.math.Quaternion;
13 import com.badlogic.gdx.math.Matrix3;
14
15 public class btPoint2PointConstraintFloatData {
16   private long swigCPtr;
17   protected boolean swigCMemOwn;
18
19   protected btPoint2PointConstraintFloatData(long cPtr, boolean cMemoryOwn) {
20     swigCMemOwn = cMemoryOwn;
21     swigCPtr = cPtr;
22   }
23
24   public static long getCPtr(btPoint2PointConstraintFloatData obj) {
25     return (obj == null) ? 0 : obj.swigCPtr;
26   }
27
28   protected void finalize() {
29     delete();
30   }
31
32   public synchronized void delete() {
33     if (swigCPtr != 0) {
34       if (swigCMemOwn) {
35         swigCMemOwn = false;
36         gdxBulletJNI.delete_btPoint2PointConstraintFloatData(swigCPtr);
37       }
38       swigCPtr = 0;
39     }
40   }
41
42   public void setM_typeConstraintData(btTypedConstraintData value) {
43     gdxBulletJNI.btPoint2PointConstraintFloatData_m_typeConstraintData_set(swigCPtr, this, btTypedConstraintData.getCPtr(value), value);
44   }
45
46   public btTypedConstraintData getM_typeConstraintData() {
47     long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_typeConstraintData_get(swigCPtr, this);
48     return (cPtr == 0) ? null : new btTypedConstraintData(cPtr, false);
49   }
50
51   public void setM_pivotInA(btVector3FloatData value) {
52     gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInA_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
53   }
54
55   public btVector3FloatData getM_pivotInA() {
56     long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInA_get(swigCPtr, this);
57     return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
58   }
59
60   public void setM_pivotInB(btVector3FloatData value) {
61     gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInB_set(swigCPtr, this, btVector3FloatData.getCPtr(value), value);
62   }
63
64   public btVector3FloatData getM_pivotInB() {
65     long cPtr = gdxBulletJNI.btPoint2PointConstraintFloatData_m_pivotInB_get(swigCPtr, this);
66     return (cPtr == 0) ? null : new btVector3FloatData(cPtr, false);
67   }
68
69   public btPoint2PointConstraintFloatData() {
70     this(gdxBulletJNI.new_btPoint2PointConstraintFloatData(), true);
71   }
72
73 }