OSDN Git Service

Removed static initializer that loads native library from each type.
[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.5
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 btShortIntIndexTripletData {
16   private long swigCPtr;
17   protected boolean swigCMemOwn;
18
19   protected btShortIntIndexTripletData(long cPtr, boolean cMemoryOwn) {
20     swigCMemOwn = cMemoryOwn;
21     swigCPtr = cPtr;
22   }
23
24   public static long getCPtr(btShortIntIndexTripletData 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_btShortIntIndexTripletData(swigCPtr);
37       }
38       swigCPtr = 0;
39     }
40   }
41
42   public void setM_values(short[] value) {
43     gdxBulletJNI.btShortIntIndexTripletData_m_values_set(swigCPtr, this, value);
44   }
45
46   public short[] getM_values() {
47     return gdxBulletJNI.btShortIntIndexTripletData_m_values_get(swigCPtr, this);
48   }
49
50   public void setM_pad(String value) {
51     gdxBulletJNI.btShortIntIndexTripletData_m_pad_set(swigCPtr, this, value);
52   }
53
54   public String getM_pad() {
55     return gdxBulletJNI.btShortIntIndexTripletData_m_pad_get(swigCPtr, this);
56   }
57
58   public btShortIntIndexTripletData() {
59     this(gdxBulletJNI.new_btShortIntIndexTripletData(), true);
60   }
61
62 }