1 %module Extras 2 3 %include "arrays_java.i" 4 5 %import "../linearmath/linearmath.i" 6 %import "../collision/collision.i" 7 %import "../dynamics/dynamics.i" 8 %import "../softbody/softbody.i" 9 10 %include "../common/gdxCommon.i" 11 12 %include "../../swig-src/linearmath/classes.i" 13 %include "../../swig-src/collision/classes.i" 14 %include "../../swig-src/dynamics/classes.i" 15 %include "../../swig-src/softbody/classes.i" 16 17 %typemap(javaimports) SWIGTYPE %{ 18 import com.badlogic.gdx.physics.bullet.BulletBase; 19 import com.badlogic.gdx.physics.bullet.linearmath.*; 20 import com.badlogic.gdx.physics.bullet.collision.*; 21 import com.badlogic.gdx.physics.bullet.dynamics.*; 22 import com.badlogic.gdx.math.Vector3; 23 import com.badlogic.gdx.math.Quaternion; 24 import com.badlogic.gdx.math.Matrix3; 25 import com.badlogic.gdx.math.Matrix4; 26 %} 27 %pragma(java) jniclassimports=%{ 28 import com.badlogic.gdx.physics.bullet.BulletBase; 29 import com.badlogic.gdx.physics.bullet.linearmath.*; 30 import com.badlogic.gdx.physics.bullet.collision.*; 31 import com.badlogic.gdx.physics.bullet.dynamics.*; 32 import com.badlogic.gdx.math.Vector3; 33 import com.badlogic.gdx.math.Quaternion; 34 import com.badlogic.gdx.math.Matrix3; 35 import com.badlogic.gdx.math.Matrix4; 36 import com.badlogic.gdx.utils.Pool; 37 %} 38 %pragma(java) moduleimports=%{ 39 import com.badlogic.gdx.physics.bullet.BulletBase; 40 import com.badlogic.gdx.physics.bullet.linearmath.*; 41 import com.badlogic.gdx.physics.bullet.collision.*; 42 import com.badlogic.gdx.physics.bullet.dynamics.*; 43 import com.badlogic.gdx.math.Vector3; 44 import com.badlogic.gdx.math.Quaternion; 45 import com.badlogic.gdx.math.Matrix3; 46 import com.badlogic.gdx.math.Matrix4; 47 %} 48 49 %include "./serialize/gdxBulletSerialize.i" 50