OSDN Git Service

Merge pull request #141 from xoppa/bullet2
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btShortIntIndexTripletData.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 import com.badlogic.gdx.math.Matrix4;
15
16 public class btShortIntIndexTripletData {
17   private long swigCPtr;
18   protected boolean swigCMemOwn;
19
20   protected btShortIntIndexTripletData(long cPtr, boolean cMemoryOwn) {
21     swigCMemOwn = cMemoryOwn;
22     swigCPtr = cPtr;
23   }
24
25   public static long getCPtr(btShortIntIndexTripletData obj) {
26     return (obj == null) ? 0 : obj.swigCPtr;
27   }
28
29   protected void finalize() {
30     delete();
31   }
32
33   public synchronized void delete() {
34     if (swigCPtr != 0) {
35       if (swigCMemOwn) {
36         swigCMemOwn = false;
37         gdxBulletJNI.delete_btShortIntIndexTripletData(swigCPtr);
38       }
39       swigCPtr = 0;
40     }
41   }
42
43   public void setM_values(short[] value) {
44     gdxBulletJNI.btShortIntIndexTripletData_m_values_set(swigCPtr, this, value);
45   }
46
47   public short[] getM_values() {
48     return gdxBulletJNI.btShortIntIndexTripletData_m_values_get(swigCPtr, this);
49   }
50
51   public void setM_pad(String value) {
52     gdxBulletJNI.btShortIntIndexTripletData_m_pad_set(swigCPtr, this, value);
53   }
54
55   public String getM_pad() {
56     return gdxBulletJNI.btShortIntIndexTripletData_m_pad_get(swigCPtr, this);
57   }
58
59   public btShortIntIndexTripletData() {
60     this(gdxBulletJNI.new_btShortIntIndexTripletData(), true);
61   }
62
63 }