OSDN Git Service

Swig generated files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btAxisSweep3InternalShort.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 btAxisSweep3InternalShort extends btBroadphaseInterface {\r
17         private long swigCPtr;\r
18         \r
19         protected btAxisSweep3InternalShort(final String className, long cPtr, boolean cMemoryOwn) {\r
20                 super(className, gdxBulletJNI.btAxisSweep3InternalShort_SWIGUpcast(cPtr), cMemoryOwn);\r
21                 swigCPtr = cPtr;\r
22         }\r
23         \r
24         protected btAxisSweep3InternalShort(long cPtr, boolean cMemoryOwn) {\r
25                 this("btAxisSweep3InternalShort", cPtr, cMemoryOwn);\r
26                 construct();\r
27         }\r
28         \r
29         public static long getCPtr(btAxisSweep3InternalShort 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_btAxisSweep3InternalShort(swigCPtr);\r
45                         }\r
46                         swigCPtr = 0;\r
47                 }\r
48                 super.delete();\r
49         }\r
50 \r
51   public btAxisSweep3InternalShort(Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel, int maxHandles, btOverlappingPairCache pairCache, boolean disableRaycastAccelerator) {\r
52     this(gdxBulletJNI.new_btAxisSweep3InternalShort__SWIG_0(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles, btOverlappingPairCache.getCPtr(pairCache), pairCache, disableRaycastAccelerator), true);\r
53   }\r
54 \r
55   public btAxisSweep3InternalShort(Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel, int maxHandles, btOverlappingPairCache pairCache) {\r
56     this(gdxBulletJNI.new_btAxisSweep3InternalShort__SWIG_1(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles, btOverlappingPairCache.getCPtr(pairCache), pairCache), true);\r
57   }\r
58 \r
59   public btAxisSweep3InternalShort(Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel, int maxHandles) {\r
60     this(gdxBulletJNI.new_btAxisSweep3InternalShort__SWIG_2(worldAabbMin, worldAabbMax, handleMask, handleSentinel, maxHandles), true);\r
61   }\r
62 \r
63   public btAxisSweep3InternalShort(Vector3 worldAabbMin, Vector3 worldAabbMax, int handleMask, int handleSentinel) {\r
64     this(gdxBulletJNI.new_btAxisSweep3InternalShort__SWIG_3(worldAabbMin, worldAabbMax, handleMask, handleSentinel), true);\r
65   }\r
66 \r
67   public int getNumHandles() {\r
68     return gdxBulletJNI.btAxisSweep3InternalShort_getNumHandles(swigCPtr, this);\r
69   }\r
70 \r
71   public int addHandle(Vector3 aabbMin, Vector3 aabbMax, SWIGTYPE_p_void pOwner, short collisionFilterGroup, short collisionFilterMask, btDispatcher dispatcher, SWIGTYPE_p_void multiSapProxy) {\r
72     return gdxBulletJNI.btAxisSweep3InternalShort_addHandle(swigCPtr, this, aabbMin, aabbMax, SWIGTYPE_p_void.getCPtr(pOwner), collisionFilterGroup, collisionFilterMask, btDispatcher.getCPtr(dispatcher), dispatcher, SWIGTYPE_p_void.getCPtr(multiSapProxy));\r
73   }\r
74 \r
75   public void removeHandle(int handle, btDispatcher dispatcher) {\r
76     gdxBulletJNI.btAxisSweep3InternalShort_removeHandle(swigCPtr, this, handle, btDispatcher.getCPtr(dispatcher), dispatcher);\r
77   }\r
78 \r
79   public void updateHandle(int handle, Vector3 aabbMin, Vector3 aabbMax, btDispatcher dispatcher) {\r
80     gdxBulletJNI.btAxisSweep3InternalShort_updateHandle(swigCPtr, this, handle, aabbMin, aabbMax, btDispatcher.getCPtr(dispatcher), dispatcher);\r
81   }\r
82 \r
83   public SWIGTYPE_p_btAxisSweep3InternalT_unsigned_short_t__Handle getHandle(int index) {\r
84     long cPtr = gdxBulletJNI.btAxisSweep3InternalShort_getHandle(swigCPtr, this, index);\r
85     return (cPtr == 0) ? null : new SWIGTYPE_p_btAxisSweep3InternalT_unsigned_short_t__Handle(cPtr, false);\r
86   }\r
87 \r
88   public void rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax) {\r
89     gdxBulletJNI.btAxisSweep3InternalShort_rayTest__SWIG_0(swigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin, aabbMax);\r
90   }\r
91 \r
92   public void rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin) {\r
93     gdxBulletJNI.btAxisSweep3InternalShort_rayTest__SWIG_1(swigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback, aabbMin);\r
94   }\r
95 \r
96   public void rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback) {\r
97     gdxBulletJNI.btAxisSweep3InternalShort_rayTest__SWIG_2(swigCPtr, this, rayFrom, rayTo, btBroadphaseRayCallback.getCPtr(rayCallback), rayCallback);\r
98   }\r
99 \r
100   public void quantize(java.nio.IntBuffer out, Vector3 point, int isMax) {\r
101     assert out.isDirect() : "Buffer must be allocated direct.";\r
102     {\r
103       gdxBulletJNI.btAxisSweep3InternalShort_quantize(swigCPtr, this, out, point, isMax);\r
104     }\r
105   }\r
106 \r
107   public void unQuantize(btBroadphaseProxy proxy, Vector3 aabbMin, Vector3 aabbMax) {\r
108     gdxBulletJNI.btAxisSweep3InternalShort_unQuantize(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy), proxy, aabbMin, aabbMax);\r
109   }\r
110 \r
111   public boolean testAabbOverlap(btBroadphaseProxy proxy0, btBroadphaseProxy proxy1) {\r
112     return gdxBulletJNI.btAxisSweep3InternalShort_testAabbOverlap(swigCPtr, this, btBroadphaseProxy.getCPtr(proxy0), proxy0, btBroadphaseProxy.getCPtr(proxy1), proxy1);\r
113   }\r
114 \r
115   public btOverlappingPairCache getOverlappingPairCache() {\r
116     long cPtr = gdxBulletJNI.btAxisSweep3InternalShort_getOverlappingPairCache__SWIG_0(swigCPtr, this);\r
117     return (cPtr == 0) ? null : new btOverlappingPairCache(cPtr, false);\r
118   }\r
119 \r
120   public void setOverlappingPairUserCallback(btOverlappingPairCallback pairCallback) {\r
121     gdxBulletJNI.btAxisSweep3InternalShort_setOverlappingPairUserCallback(swigCPtr, this, btOverlappingPairCallback.getCPtr(pairCallback), pairCallback);\r
122   }\r
123 \r
124   public btOverlappingPairCallback getOverlappingPairUserCallback() {\r
125     long cPtr = gdxBulletJNI.btAxisSweep3InternalShort_getOverlappingPairUserCallback(swigCPtr, this);\r
126     return (cPtr == 0) ? null : new btOverlappingPairCallback(cPtr, false);\r
127   }\r
128 \r
129 }\r