collision.collision_wrap.cpp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-bullet Show documentation
Show all versions of gdx-bullet Show documentation
Android/Desktop/iOS/HTML5 game development framework
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#ifndef SWIGJAVA
#define SWIGJAVA
#endif
#define SWIG_DIRECTORS
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template class SwigValueWrapper {
struct SwigMovePointer {
T *ptr;
SwigMovePointer(T *p) : ptr(p) { }
~SwigMovePointer() { delete ptr; }
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
} pointer;
SwigValueWrapper& operator=(const SwigValueWrapper& rhs);
SwigValueWrapper(const SwigValueWrapper& rhs);
public:
SwigValueWrapper() : pointer(0) { }
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
operator T&() const { return *pointer.ptr; }
T *operator&() { return pointer.ptr; }
};
template T SwigValueInit() {
return T();
}
#endif
/* -----------------------------------------------------------------------------
* This section contains generic SWIG labels for method/variable
* declarations/attributes, and other compiler dependent labels.
* ----------------------------------------------------------------------------- */
/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
# define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
# define SWIGTEMPLATEDISAMBIGUATOR template
# else
# define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif
/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
# define SWIGINLINE inline
# else
# define SWIGINLINE
# endif
#endif
/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif
/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif
/* exporting methods */
#if defined(__GNUC__)
# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
# ifndef GCC_HASCLASSVISIBILITY
# define GCC_HASCLASSVISIBILITY
# endif
# endif
#endif
#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
# if defined(STATIC_LINKED)
# define SWIGEXPORT
# else
# define SWIGEXPORT __declspec(dllexport)
# endif
# else
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
# define SWIGEXPORT __attribute__ ((visibility("default")))
# else
# define SWIGEXPORT
# endif
# endif
#endif
/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__)
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif
/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif
/* Intel's compiler complains if a variable which was never initialised is
* cast to void, which is a common idiom which we use to indicate that we
* are aware a variable isn't used. So we just silence that warning.
* See: https://github.com/swig/swig/issues/192 for more discussion.
*/
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
/* Fix for jlong on some versions of gcc on Windows */
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
typedef long long __int64;
#endif
/* Fix for jlong on 64-bit x86 Solaris */
#if defined(__x86_64)
# ifdef _LP64
# undef _LP64
# endif
#endif
#include
#include
#include
/* Support for throwing Java exceptions */
typedef enum {
SWIG_JavaOutOfMemoryError = 1,
SWIG_JavaIOException,
SWIG_JavaRuntimeException,
SWIG_JavaIndexOutOfBoundsException,
SWIG_JavaArithmeticException,
SWIG_JavaIllegalArgumentException,
SWIG_JavaNullPointerException,
SWIG_JavaDirectorPureVirtual,
SWIG_JavaUnknownError
} SWIG_JavaExceptionCodes;
typedef struct {
SWIG_JavaExceptionCodes code;
const char *java_exception;
} SWIG_JavaExceptions_t;
static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
jclass excep;
static const SWIG_JavaExceptions_t java_exceptions[] = {
{ SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
{ SWIG_JavaIOException, "java/io/IOException" },
{ SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
{ SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
{ SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
{ SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
{ SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
{ SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
{ SWIG_JavaUnknownError, "java/lang/UnknownError" },
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
};
const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
while (except_ptr->code != code && except_ptr->code)
except_ptr++;
jenv->ExceptionClear();
excep = jenv->FindClass(except_ptr->java_exception);
if (excep)
jenv->ThrowNew(excep, msg);
}
/* Contract support */
#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
/* -----------------------------------------------------------------------------
* director_common.swg
*
* This file contains support for director classes which is common between
* languages.
* ----------------------------------------------------------------------------- */
/*
Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
'Swig' namespace. This could be useful for multi-modules projects.
*/
#ifdef SWIG_DIRECTOR_STATIC
/* Force anonymous (static) namespace */
#define Swig
#endif
/* -----------------------------------------------------------------------------
* director.swg
*
* This file contains support for director classes so that Java proxy
* methods can be called from C++.
* ----------------------------------------------------------------------------- */
#if defined(DEBUG_DIRECTOR_OWNED) || defined(DEBUG_DIRECTOR_EXCEPTION)
#include
#endif
#include
namespace Swig {
/* Java object wrapper */
class JObjectWrapper {
public:
JObjectWrapper() : jthis_(NULL), weak_global_(true) {
}
~JObjectWrapper() {
jthis_ = NULL;
weak_global_ = true;
}
bool set(JNIEnv *jenv, jobject jobj, bool mem_own, bool weak_global) {
if (!jthis_) {
weak_global_ = !mem_own; // hold as weak global if explicitly requested or not owned
if (jobj)
jthis_ = weak_global_ ? jenv->NewWeakGlobalRef(jobj) : jenv->NewGlobalRef(jobj);
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> " << jthis_ << std::endl;
#endif
return true;
} else {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> already set" << std::endl;
#endif
return false;
}
}
jobject get(JNIEnv *jenv) const {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::get(";
if (jthis_)
std::cout << jthis_;
else
std::cout << "null";
std::cout << ") -> return new local ref" << std::endl;
#endif
return (jthis_ ? jenv->NewLocalRef(jthis_) : jthis_);
}
void release(JNIEnv *jenv) {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "JObjectWrapper::release(" << jthis_ << "): " << (weak_global_ ? "weak global ref" : "global ref") << std::endl;
#endif
if (jthis_) {
if (weak_global_) {
if (jenv->IsSameObject(jthis_, NULL) == JNI_FALSE)
jenv->DeleteWeakGlobalRef((jweak)jthis_);
} else
jenv->DeleteGlobalRef(jthis_);
}
jthis_ = NULL;
weak_global_ = true;
}
/* Only call peek if you know what you are doing wrt to weak/global references */
jobject peek() {
return jthis_;
}
/* Java proxy releases ownership of C++ object, C++ object is now
responsible for destruction (creates NewGlobalRef to pin Java proxy) */
void java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
if (take_or_release) { /* Java takes ownership of C++ object's lifetime. */
if (!weak_global_) {
jenv->DeleteGlobalRef(jthis_);
jthis_ = jenv->NewWeakGlobalRef(jself);
weak_global_ = true;
}
} else {
/* Java releases ownership of C++ object's lifetime */
if (weak_global_) {
jenv->DeleteWeakGlobalRef((jweak)jthis_);
jthis_ = jenv->NewGlobalRef(jself);
weak_global_ = false;
}
}
}
private:
/* pointer to Java object */
jobject jthis_;
/* Local or global reference flag */
bool weak_global_;
};
/* Local JNI reference deleter */
class LocalRefGuard {
JNIEnv *jenv_;
jobject jobj_;
// non-copyable
LocalRefGuard(const LocalRefGuard &);
LocalRefGuard &operator=(const LocalRefGuard &);
public:
LocalRefGuard(JNIEnv *jenv, jobject jobj): jenv_(jenv), jobj_(jobj) {}
~LocalRefGuard() {
if (jobj_)
jenv_->DeleteLocalRef(jobj_);
}
};
/* director base class */
class Director {
/* pointer to Java virtual machine */
JavaVM *swig_jvm_;
protected:
#if defined (_MSC_VER) && (_MSC_VER<1300)
class JNIEnvWrapper;
friend class JNIEnvWrapper;
#endif
/* Utility class for managing the JNI environment */
class JNIEnvWrapper {
const Director *director_;
JNIEnv *jenv_;
int env_status;
public:
JNIEnvWrapper(const Director *director) : director_(director), jenv_(0), env_status(0) {
#if defined(__ANDROID__)
JNIEnv **jenv = &jenv_;
#else
void **jenv = (void **)&jenv_;
#endif
env_status = director_->swig_jvm_->GetEnv((void **)&jenv_, JNI_VERSION_1_2);
#if defined(SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON)
// Attach a daemon thread to the JVM. Useful when the JVM should not wait for
// the thread to exit upon shutdown. Only for jdk-1.4 and later.
director_->swig_jvm_->AttachCurrentThreadAsDaemon(jenv, NULL);
#else
director_->swig_jvm_->AttachCurrentThread(jenv, NULL);
#endif
}
~JNIEnvWrapper() {
#if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD)
// Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call.
// However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak.
if (env_status == JNI_EDETACHED)
director_->swig_jvm_->DetachCurrentThread();
#endif
}
JNIEnv *getJNIEnv() const {
return jenv_;
}
};
/* Java object wrapper */
JObjectWrapper swig_self_;
/* Disconnect director from Java object */
void swig_disconnect_director_self(const char *disconn_method) {
JNIEnvWrapper jnienv(this) ;
JNIEnv *jenv = jnienv.getJNIEnv() ;
jobject jobj = swig_self_.get(jenv);
LocalRefGuard ref_deleter(jenv, jobj);
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "Swig::Director::disconnect_director_self(" << jobj << ")" << std::endl;
#endif
if (jobj && jenv->IsSameObject(jobj, NULL) == JNI_FALSE) {
jmethodID disconn_meth = jenv->GetMethodID(jenv->GetObjectClass(jobj), disconn_method, "()V");
if (disconn_meth) {
#if defined(DEBUG_DIRECTOR_OWNED)
std::cout << "Swig::Director::disconnect_director_self upcall to " << disconn_method << std::endl;
#endif
jenv->CallVoidMethod(jobj, disconn_meth);
}
}
}
public:
Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() {
/* Acquire the Java VM pointer */
jenv->GetJavaVM(&swig_jvm_);
}
virtual ~Director() {
JNIEnvWrapper jnienv(this) ;
JNIEnv *jenv = jnienv.getJNIEnv() ;
swig_self_.release(jenv);
}
bool swig_set_self(JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) {
return swig_self_.set(jenv, jself, mem_own, weak_global);
}
jobject swig_get_self(JNIEnv *jenv) const {
return swig_self_.get(jenv);
}
// Change C++ object's ownership, relative to Java
void swig_java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
swig_self_.java_change_ownership(jenv, jself, take_or_release);
}
};
// Zero initialized bool array
template class BoolArray {
bool array_[N];
public:
BoolArray() {
memset(array_, 0, sizeof(array_));
}
bool& operator[](size_t n) {
return array_[n];
}
bool operator[](size_t n) const {
return array_[n];
}
};
// Utility classes and functions for exception handling.
// Simple holder for a Java string during exception handling, providing access to a c-style string
class JavaString {
public:
JavaString(JNIEnv *jenv, jstring jstr) : jenv_(jenv), jstr_(jstr), cstr_(0) {
if (jenv_ && jstr_)
cstr_ = (const char *) jenv_->GetStringUTFChars(jstr_, NULL);
}
~JavaString() {
if (jenv_ && jstr_ && cstr_)
jenv_->ReleaseStringUTFChars(jstr_, cstr_);
}
const char *c_str(const char *null_string = "null JavaString") const {
return cstr_ ? cstr_ : null_string;
}
private:
// non-copyable
JavaString(const JavaString &);
JavaString &operator=(const JavaString &);
JNIEnv *jenv_;
jstring jstr_;
const char *cstr_;
};
// Helper class to extract the exception message from a Java throwable
class JavaExceptionMessage {
public:
JavaExceptionMessage(JNIEnv *jenv, jthrowable throwable) : message_(jenv, exceptionMessageFromThrowable(jenv, throwable)) {
}
const char *message() const {
return message_.c_str("Could not get exception message in JavaExceptionMessage");
}
private:
// non-copyable
JavaExceptionMessage(const JavaExceptionMessage &);
JavaExceptionMessage &operator=(const JavaExceptionMessage &);
// Get exception message by calling Java method Throwable.getMessage()
static jstring exceptionMessageFromThrowable(JNIEnv *jenv, jthrowable throwable) {
jstring jmsg = NULL;
if (jenv && throwable) {
jenv->ExceptionClear(); // Cannot invoke methods with any pending exceptions
jclass throwclz = jenv->GetObjectClass(throwable);
if (throwclz) {
// All Throwable classes have a getMessage() method, so call it to extract the exception message
jmethodID getMessageMethodID = jenv->GetMethodID(throwclz, "getMessage", "()Ljava/lang/String;");
if (getMessageMethodID)
jmsg = (jstring)jenv->CallObjectMethod(throwable, getMessageMethodID);
}
if (jmsg == NULL && jenv->ExceptionCheck())
jenv->ExceptionClear();
}
return jmsg;
}
JavaString message_;
};
// C++ Exception class for handling Java exceptions thrown during a director method Java upcall
class DirectorException : public std::exception {
public:
// Construct exception from a Java throwable
DirectorException(JNIEnv *jenv, jthrowable throwable) : classname_(0), msg_(0) {
// Call Java method Object.getClass().getName() to obtain the throwable's class name (delimited by '/')
if (throwable) {
jclass throwclz = jenv->GetObjectClass(throwable);
if (throwclz) {
jclass clzclz = jenv->GetObjectClass(throwclz);
if (clzclz) {
jmethodID getNameMethodID = jenv->GetMethodID(clzclz, "getName", "()Ljava/lang/String;");
if (getNameMethodID) {
jstring jstr_classname = (jstring)(jenv->CallObjectMethod(throwclz, getNameMethodID));
// Copy strings, since there is no guarantee that jenv will be active when handled
if (jstr_classname) {
JavaString jsclassname(jenv, jstr_classname);
const char *classname = jsclassname.c_str(0);
if (classname)
classname_ = copypath(classname);
}
}
}
}
}
JavaExceptionMessage exceptionmsg(jenv, throwable);
msg_ = copystr(exceptionmsg.message());
}
// More general constructor for handling as a java.lang.RuntimeException
DirectorException(const char *msg) : classname_(0), msg_(copystr(msg ? msg : "Unspecified DirectorException message")) {
}
~DirectorException() throw() {
delete[] classname_;
delete[] msg_;
}
const char *what() const throw() {
return msg_;
}
// Reconstruct and raise/throw the Java Exception that caused the DirectorException
// Note that any error in the JNI exception handling results in a Java RuntimeException
void raiseJavaException(JNIEnv *jenv) const {
if (jenv) {
jenv->ExceptionClear();
jmethodID ctorMethodID = 0;
jclass throwableclass = 0;
if (classname_) {
throwableclass = jenv->FindClass(classname_);
if (throwableclass)
ctorMethodID = jenv->GetMethodID(throwableclass, "", "(Ljava/lang/String;)V");
}
if (ctorMethodID) {
jenv->ThrowNew(throwableclass, what());
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, what());
}
}
}
private:
static char *copypath(const char *srcmsg) {
char *target = copystr(srcmsg);
for (char *c=target; *c; ++c) {
if ('.' == *c)
*c = '/';
}
return target;
}
static char *copystr(const char *srcmsg) {
char *target = 0;
if (srcmsg) {
size_t msglen = strlen(srcmsg) + 1;
target = new char[msglen];
strncpy(target, srcmsg, msglen);
}
return target;
}
const char *classname_;
const char *msg_;
};
// Helper method to determine if a Java throwable matches a particular Java class type
SWIGINTERN inline bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
bool matches = false;
if (throwable && jenv && classname) {
// Exceptions need to be cleared for correct behavior.
// The caller of ExceptionMatches should restore pending exceptions if desired -
// the caller already has the throwable.
jenv->ExceptionClear();
jclass clz = jenv->FindClass(classname);
if (clz) {
jclass classclz = jenv->GetObjectClass(clz);
jmethodID isInstanceMethodID = jenv->GetMethodID(classclz, "isInstance", "(Ljava/lang/Object;)Z");
if (isInstanceMethodID) {
matches = jenv->CallBooleanMethod(clz, isInstanceMethodID, throwable) != 0;
}
}
#if defined(DEBUG_DIRECTOR_EXCEPTION)
if (jenv->ExceptionCheck()) {
// Typically occurs when an invalid classname argument is passed resulting in a ClassNotFoundException
JavaExceptionMessage exc(jenv, jenv->ExceptionOccurred());
std::cout << "Error: ExceptionMatches: class '" << classname << "' : " << exc.message() << std::endl;
}
#endif
}
return matches;
}
}
namespace Swig {
namespace {
jclass jclass_CollisionJNI = NULL;
jmethodID director_method_ids[68];
}
}
#if defined(SWIG_NOINCLUDE) || defined(SWIG_NOARRAYS)
static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input);
static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input);
static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz);
static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input);
static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input);
static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz);
static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input);
static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input);
static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz);
static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input);
static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input);
static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz);
static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input);
static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input);
static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz);
static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input);
static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input);
static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz);
static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input);
static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz);
static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input);
static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input);
static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz);
static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input);
static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz);
static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input);
static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input);
static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz);
static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input);
static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input);
static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz);
static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input);
static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input);
static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz);
#else
/* bool[] support */
static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetBooleanArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new bool[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseBooleanArrayElements(input, jarr, 0);
}
static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz) {
jboolean *arr;
int i;
jbooleanArray jresult = jenv->NewBooleanArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetBooleanArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseBooleanArrayElements(jresult, arr, 0);
return jresult;
}
/* signed char[] support */
static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetByteArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new signed char[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseByteArrayElements(input, jarr, 0);
}
static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz) {
jbyte *arr;
int i;
jbyteArray jresult = jenv->NewByteArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetByteArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseByteArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned char[] support */
static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetShortArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned char[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseShortArrayElements(input, jarr, 0);
}
static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz) {
jshort *arr;
int i;
jshortArray jresult = jenv->NewShortArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetShortArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseShortArrayElements(jresult, arr, 0);
return jresult;
}
/* short[] support */
static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetShortArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new short[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseShortArrayElements(input, jarr, 0);
}
static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz) {
jshort *arr;
int i;
jshortArray jresult = jenv->NewShortArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetShortArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseShortArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned short[] support */
static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned short[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* int[] support */
static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new int[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned int[] support */
static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned int[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* long[] support */
static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetIntArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new long[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseIntArrayElements(input, jarr, 0);
}
static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz) {
jint *arr;
int i;
jintArray jresult = jenv->NewIntArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetIntArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseIntArrayElements(jresult, arr, 0);
return jresult;
}
/* unsigned long[] support */
static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new unsigned long[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* jlong[] support */
static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetLongArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new jlong[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseLongArrayElements(input, jarr, 0);
}
static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz) {
jlong *arr;
int i;
jlongArray jresult = jenv->NewLongArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetLongArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseLongArrayElements(jresult, arr, 0);
return jresult;
}
/* float[] support */
static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetFloatArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new float[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseFloatArrayElements(input, jarr, 0);
}
static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz) {
jfloat *arr;
int i;
jfloatArray jresult = jenv->NewFloatArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetFloatArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseFloatArrayElements(jresult, arr, 0);
return jresult;
}
/* double[] support */
static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input) {
int i;
jsize sz;
if (!input) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
return 0;
}
sz = jenv->GetArrayLength(input);
*jarr = jenv->GetDoubleArrayElements(input, 0);
if (!*jarr)
return 0;
*carr = new double[sz];
if (!*carr) {
SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
return 0;
}
for (i=0; iGetArrayLength(input);
for (i=0; iReleaseDoubleArrayElements(input, jarr, 0);
}
static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz) {
jdouble *arr;
int i;
jdoubleArray jresult = jenv->NewDoubleArray(sz);
if (!jresult)
return NULL;
arr = jenv->GetDoubleArrayElements(jresult, 0);
if (!arr)
return NULL;
for (i=0; iReleaseDoubleArrayElements(jresult, arr, 0);
return jresult;
}
#endif
#include
#include
#include
#include
#include
#include
#include
#include
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassVector3(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectVector3(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassVector3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectVector3(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassVector3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseVector3 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseVector3(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseVector3() {
gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Vector3. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnVector3(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassVector3(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticVector3", "Lcom/badlogic/gdx/math/Vector3;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 & target, jobject source) {
Vector3_to_btVector3(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 * target, jobject source) {
gdx_setbtVector3FromVector3(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 & source) {
btVector3_to_Vector3(jenv, target, source);
}
SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 * source) {
gdx_setVector3FrombtVector3(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btVector3 back to Vector3
*/
class gdxAutoCommitVector3 {
private:
JNIEnv * jenv;
jobject jVector3;
btVector3 & cbtVector3;
public:
gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3) :
jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3) { };
gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3) :
jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3) { };
virtual ~gdxAutoCommitVector3() {
gdx_setVector3FrombtVector3(this->jenv, this->jVector3, this->cbtVector3);
};
};
class gdxAutoCommitbtVector3AndReleaseVector3 {
private:
JNIEnv * jenv;
jobject jVector3;
btVector3 & cbtVector3;
const char * poolName;
public:
gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3, const char *poolName) :
jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3), poolName(poolName) { };
gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3, const char *poolName) :
jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3), poolName(poolName) { };
virtual ~gdxAutoCommitbtVector3AndReleaseVector3() {
gdx_setbtVector3FromVector3(this->jenv, this->cbtVector3, this->jVector3);
gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->jVector3);
};
};
#include
#include
#include
#include
#include
#include
#include
#include
#include
// Inline (cached) method to retrieve the type's jclass
SWIGINTERN inline jclass &gdx_getClassbtBroadphasePair(JNIEnv * const &jenv) {
static jclass cls = NULL;
if (cls == NULL)
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btBroadphasePair"));
return cls;
}
// Inline method to get the termporary instance
SWIGINTERN inline jobject gdx_getTempbtBroadphasePair(JNIEnv * jenv, void *cPtr, bool ownMem) {
static jobject ret = NULL;
jclass &clazz = gdx_getClassbtBroadphasePair(jenv);
if (ret == NULL) {
jfieldID field = jenv->GetStaticFieldID(clazz, "temp", "Lcom/badlogic/gdx/physics/bullet/collision/btBroadphasePair;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(clazz, field));
}
static jmethodID reuseMethod = NULL;
if (reuseMethod == NULL)
reuseMethod = (jmethodID) jenv->GetMethodID(clazz, "reset", "(JZ)V");
long ptr;
*(const void **)&ptr = cPtr;
jenv->CallVoidMethod(ret, reuseMethod, ptr, (jboolean)ownMem);
return ret;
}
// Inline method to obtain an instance from the pool
SWIGINTERN inline jobject gdx_obtainbtBroadphasePair(JNIEnv * jenv, jclass clazz, void *cPtr, bool ownMem) {
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL)
obtainMethod = (jmethodID) jenv->GetStaticMethodID(clazz, "obtain", "(JZ)Lcom/badlogic/gdx/physics/bullet/collision/btBroadphasePair;");
long ptr;
*(const void **)&ptr = cPtr;
jobject ret = jenv->CallStaticObjectMethod(clazz, obtainMethod, ptr, (jboolean)ownMem);
return ret;
}
// Inline method to free an instance from the pool
SWIGINTERN inline void gdx_freebtBroadphasePair(JNIEnv * jenv, const jclass clazz, const jobject obj) {
static jmethodID freeMethod = NULL;
if (freeMethod == NULL)
freeMethod = (jmethodID) jenv->GetStaticMethodID(clazz, "free", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphasePair;)V");
jenv->CallStaticVoidMethod(clazz, freeMethod, obj);
jenv->DeleteLocalRef(obj);
}
// Simple raii class to auto free the instance from the pool
class gdxAutoFreebtBroadphasePair {
private:
JNIEnv * jenv;
jobject jbtBroadphasePair;
jclass jclazz;
public:
gdxAutoFreebtBroadphasePair(JNIEnv * jenv, jclass jclazz, jobject jbtBroadphasePair) :
jenv(jenv), jbtBroadphasePair(jbtBroadphasePair), jclazz(jclazz) { }
virtual ~gdxAutoFreebtBroadphasePair() {
gdx_freebtBroadphasePair(this->jenv, this->jclazz, this->jbtBroadphasePair);
}
};
#include
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassMatrix4(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectMatrix4(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseMatrix4 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseMatrix4() {
gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Matrix4. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnMatrix4(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassMatrix4(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix4", "Lcom/badlogic/gdx/math/Matrix4;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform & target, jobject source) {
Matrix4_to_btTransform(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform * target, jobject source) {
gdx_setbtTransformFromMatrix4(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform & source) {
btTransform_to_Matrix4(jenv, target, source);
}
SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform * source) {
gdx_setMatrix4FrombtTransform(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btTransform back to Matrix4
*/
class gdxAutoCommitMatrix4 {
private:
JNIEnv * jenv;
jobject jMatrix4;
btTransform & cbtTransform;
public:
gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform) { };
gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform) { };
virtual ~gdxAutoCommitMatrix4() {
gdx_setMatrix4FrombtTransform(this->jenv, this->jMatrix4, this->cbtTransform);
};
};
class gdxAutoCommitbtTransformAndReleaseMatrix4 {
private:
JNIEnv * jenv;
jobject jMatrix4;
btTransform & cbtTransform;
const char * poolName;
public:
gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform, const char *poolName) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform), poolName(poolName) { };
gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform, const char *poolName) :
jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform), poolName(poolName) { };
virtual ~gdxAutoCommitbtTransformAndReleaseMatrix4() {
gdx_setbtTransformFromMatrix4(this->jenv, this->cbtTransform, this->jMatrix4);
gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->jMatrix4);
};
};
#include
#include
#include
#include
#include
#include
#include
#include
SWIGINTERN btHeightfieldTerrainShape *new_btHeightfieldTerrainShape__SWIG_0(int heightStickWidth,int heightStickLength,float const *heightfieldData,btScalar heightScale,btScalar minHeight,btScalar maxHeight,int upAxis,bool flipQuadEdges){
return new btHeightfieldTerrainShape(heightStickWidth, heightStickLength, (void *)heightfieldData, heightScale, minHeight, maxHeight, upAxis, PHY_FLOAT, flipQuadEdges);
}
SWIGINTERN btHeightfieldTerrainShape *new_btHeightfieldTerrainShape__SWIG_1(int heightStickWidth,int heightStickLength,short const *heightfieldData,btScalar heightScale,btScalar minHeight,btScalar maxHeight,int upAxis,bool flipQuadEdges){
return new btHeightfieldTerrainShape(heightStickWidth, heightStickLength, (void *)heightfieldData, heightScale, minHeight, maxHeight, upAxis, PHY_SHORT, flipQuadEdges);
}
#include
#include
SWIGINTERN btBvhTriangleMeshShape *new_btBvhTriangleMeshShape__SWIG_0(bool dummy,btStridingMeshInterface *meshInterface,bool useQuantizedAabbCompression,bool buildBvh=true){
return new btBvhTriangleMeshShape(meshInterface, useQuantizedAabbCompression, buildBvh);
}
SWIGINTERN btBvhTriangleMeshShape *new_btBvhTriangleMeshShape__SWIG_2(bool dummy,btStridingMeshInterface *meshInterface,bool useQuantizedAabbCompression,btVector3 const &bvhAabbMin,btVector3 const &bvhAabbMax,bool buildBvh=true){
return new btBvhTriangleMeshShape(meshInterface, useQuantizedAabbCompression, bvhAabbMin, bvhAabbMax, buildBvh);
}
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
SWIGINTERN void btIndexedMesh_setTriangleIndexBase(btIndexedMesh *self,short *data){
self->m_triangleIndexBase = (unsigned char*)data;
}
SWIGINTERN void btIndexedMesh_setVertexBase(btIndexedMesh *self,float *data){
self->m_vertexBase = (unsigned char*)data;
}
SWIGINTERN void btIndexedMesh_setVertices(btIndexedMesh *self,float *vertices,int sizeInBytesOfEachVertex,int vertexCount,int positionOffsetInBytes){
unsigned char *data = (unsigned char *)vertices;
self->m_vertexBase = &(data[positionOffsetInBytes]);
self->m_vertexStride = sizeInBytesOfEachVertex;
self->m_numVertices = vertexCount;
self->m_vertexType = PHY_FLOAT;
}
SWIGINTERN void btIndexedMesh_setIndices(btIndexedMesh *self,short *indices,int indexOffset,int indexCount){
self->m_triangleIndexBase = (unsigned char*)&(indices[indexOffset]);
self->m_triangleIndexStride = 3 * sizeof(short);
self->m_numTriangles = indexCount / 3;
self->m_indexType = PHY_SHORT;
}
#include
#include
#include
SWIGINTERN btVector3 const &btShapeHull_getVertex(btShapeHull *self,int idx){
return (self->getVertexPointer()[idx]);
}
SWIGINTERN int btShapeHull_getIndex(btShapeHull *self,int idx){
return self->getIndexPointer()[idx];
}
#include
SWIGINTERN btConvexHullShape *new_btConvexHullShape__SWIG_4(btShapeHull const *hull){
btConvexHullShape *result = new btConvexHullShape();
for (int i = 0; i < hull->numVertices(); i++) {
result->addPoint(hull->getVertexPointer()[i]);
}
return result;
}
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
SWIGINTERN void btCollisionObject_internalSetGdxBridge(btCollisionObject *self,GdxCollisionObjectBridge *bridge){
self->setUserPointer(bridge);
}
SWIGINTERN GdxCollisionObjectBridge *btCollisionObject_internalGetGdxBridge(btCollisionObject *self){
return (GdxCollisionObjectBridge *)(self->getUserPointer());
}
SWIGINTERN void btCollisionObject_getAnisotropicFriction__SWIG_1(btCollisionObject *self,btVector3 &out){
out = self->getAnisotropicFriction();
}
SWIGINTERN void btCollisionObject_getWorldTransform__SWIG_2(btCollisionObject *self,btTransform &out){
out = self->getWorldTransform();
}
SWIGINTERN void btCollisionObject_getInterpolationWorldTransform__SWIG_2(btCollisionObject *self,btTransform &out){
out = self->getInterpolationWorldTransform();
}
SWIGINTERN void btCollisionObject_getInterpolationLinearVelocity__SWIG_1(btCollisionObject *self,btVector3 &out){
out = self->getInterpolationLinearVelocity();
}
SWIGINTERN void btCollisionObject_getInterpolationAngularVelocity__SWIG_1(btCollisionObject *self,btVector3 &out){
out = self->getInterpolationAngularVelocity();
}
#include
SWIGINTERN btDbvtNode *btDbvtNode_getChild(btDbvtNode *self,int const &index){
return self->childs[index];
}
SWIGINTERN btDbvtNode *btDbvtNode_getChild0(btDbvtNode *self){
return self->childs[0];
}
SWIGINTERN btDbvtNode *btDbvtNode_getChild1(btDbvtNode *self){
return self->childs[1];
}
SWIGINTERN btBroadphaseProxy *btDbvtNode_getDataAsProxy(btDbvtNode *self){
return (btBroadphaseProxy*)self->data;
}
SWIGINTERN btCollisionObject *btDbvtNode_getDataAsProxyClientObject(btDbvtNode *self){
return (self->isleaf()) ? (btCollisionObject*)((btBroadphaseProxy*)self->data)->m_clientObject : NULL;
}
SWIGINTERN void btDbvt_collideKDOP__SWIG_1(btDbvtNode const *root,btScalar const *normals,btScalar const *offsets,int count,btDbvt::ICollide &policy){
btDbvt::collideKDOP(root, (btVector3*)normals, offsets, count, policy);
}
SWIGINTERN void btDbvt_collideOCL__SWIG_2(btDbvtNode const *root,btScalar const *normals,btScalar const *offsets,btVector3 const &sortaxis,int count,btDbvt::ICollide &policy,bool fullsort=true){
btDbvt::collideOCL(root, (btVector3*)normals, offsets, sortaxis, count, policy, fullsort);
}
#include
SWIGINTERN btDbvt *btDbvtBroadphase_getSet(btDbvtBroadphase *self,int const &index){
return &(self->m_sets[index]);
}
SWIGINTERN btDbvt *btDbvtBroadphase_getSet0(btDbvtBroadphase *self){
return &(self->m_sets[0]);
}
SWIGINTERN btDbvt *btDbvtBroadphase_getSet1(btDbvtBroadphase *self){
return &(self->m_sets[1]);
}
#include
#include
#include
#include
#include
#include
#include
#include
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassQuaternion(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectQuaternion(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseQuaternion {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseQuaternion() {
gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Quaternion. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnQuaternion(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassQuaternion(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticQuaternion", "Lcom/badlogic/gdx/math/Quaternion;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion & target, jobject source) {
Quaternion_to_btQuaternion(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion * target, jobject source) {
gdx_setbtQuaternionFromQuaternion(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion & source) {
btQuaternion_to_Quaternion(jenv, target, source);
}
SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion * source) {
gdx_setQuaternionFrombtQuaternion(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btQuaternion back to Quaternion
*/
class gdxAutoCommitQuaternion {
private:
JNIEnv * jenv;
jobject jQuaternion;
btQuaternion & cbtQuaternion;
public:
gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion) { };
gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion) { };
virtual ~gdxAutoCommitQuaternion() {
gdx_setQuaternionFrombtQuaternion(this->jenv, this->jQuaternion, this->cbtQuaternion);
};
};
class gdxAutoCommitbtQuaternionAndReleaseQuaternion {
private:
JNIEnv * jenv;
jobject jQuaternion;
btQuaternion & cbtQuaternion;
const char * poolName;
public:
gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion, const char *poolName) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion), poolName(poolName) { };
gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion, const char *poolName) :
jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion), poolName(poolName) { };
virtual ~gdxAutoCommitbtQuaternionAndReleaseQuaternion() {
gdx_setbtQuaternionFromQuaternion(this->jenv, this->cbtQuaternion, this->jQuaternion);
gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->jQuaternion);
};
};
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_getRayFromWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 &out){
out = self->m_rayFromWorld;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_setRayFromWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 const &value){
self->m_rayFromWorld = value;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_getRayToWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 &out){
out = self->m_rayToWorld;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_setRayToWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 const &value){
self->m_rayToWorld = value;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_getHitNormalWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 &out){
out = self->m_hitNormalWorld;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_setHitNormalWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 const &value){
self->m_hitNormalWorld = value;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_getHitPointWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 &out){
out = self->m_hitPointWorld;
}
SWIGINTERN void btCollisionWorld_ClosestRayResultCallback_setHitPointWorld(btCollisionWorld::ClosestRayResultCallback *self,btVector3 const &value){
self->m_hitPointWorld = value;
}
SWIGINTERN void btCollisionWorld_AllHitsRayResultCallback_getRayFromWorld(btCollisionWorld::AllHitsRayResultCallback *self,btVector3 &out){
out = self->m_rayFromWorld;
}
SWIGINTERN void btCollisionWorld_AllHitsRayResultCallback_setRayFromWorld(btCollisionWorld::AllHitsRayResultCallback *self,btVector3 const &value){
self->m_rayFromWorld = value;
}
SWIGINTERN void btCollisionWorld_AllHitsRayResultCallback_getRayToWorld(btCollisionWorld::AllHitsRayResultCallback *self,btVector3 &out){
out = self->m_rayToWorld;
}
SWIGINTERN void btCollisionWorld_AllHitsRayResultCallback_setRayToWorld(btCollisionWorld::AllHitsRayResultCallback *self,btVector3 const &value){
self->m_rayToWorld = value;
}
SWIGINTERN void btCollisionWorld_LocalConvexResult_getHitNormalLocal(btCollisionWorld::LocalConvexResult *self,btVector3 &out){
out = self->m_hitNormalLocal;
}
SWIGINTERN void btCollisionWorld_LocalConvexResult_setHitNormalLocal(btCollisionWorld::LocalConvexResult *self,btVector3 const &value){
self->m_hitNormalLocal = value;
}
SWIGINTERN void btCollisionWorld_LocalConvexResult_getHitPointLocal(btCollisionWorld::LocalConvexResult *self,btVector3 &out){
out = self->m_hitPointLocal;
}
SWIGINTERN void btCollisionWorld_LocalConvexResult_setHitPointLocal(btCollisionWorld::LocalConvexResult *self,btVector3 const &value){
self->m_hitPointLocal = value;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_getConvexFromWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 &out){
out = self->m_convexFromWorld;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_setRayFromWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 const &value){
self->m_convexFromWorld = value;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_getConvexToWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 &out){
out = self->m_convexToWorld;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_setConvexToWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 const &value){
self->m_convexToWorld = value;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_getHitNormalWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 &out){
out = self->m_hitNormalWorld;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_setHitNormalWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 const &value){
self->m_hitNormalWorld = value;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_getHitPointWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 &out){
out = self->m_hitPointWorld;
}
SWIGINTERN void btCollisionWorld_ClosestConvexResultCallback_setHitPointWorld(btCollisionWorld::ClosestConvexResultCallback *self,btVector3 const &value){
self->m_hitPointWorld = value;
}
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
SWIGINTERN int btManifoldPoint_getUserValue(btManifoldPoint *self){
int result;
*(const void **)&result = self->m_userPersistentData;
return result;
}
SWIGINTERN void btManifoldPoint_setUserValue(btManifoldPoint *self,int value){
self->m_userPersistentData = (void*)value;
}
SWIGINTERN void btManifoldPoint_getLocalPointA(btManifoldPoint *self,btVector3 &out){
out = self->m_localPointA;
}
SWIGINTERN void btManifoldPoint_setLocalPointA(btManifoldPoint *self,btVector3 const &value){
self->m_localPointA = value;
}
SWIGINTERN void btManifoldPoint_getLocalPointB(btManifoldPoint *self,btVector3 &out){
out = self->m_localPointB;
}
SWIGINTERN void btManifoldPoint_setLocalPointB(btManifoldPoint *self,btVector3 const &value){
self->m_localPointB = value;
}
SWIGINTERN void btManifoldPoint_getPositionWorldOnA(btManifoldPoint *self,btVector3 &out){
out = self->m_positionWorldOnA;
}
SWIGINTERN void btManifoldPoint_setPositionWorldOnA(btManifoldPoint *self,btVector3 const &value){
self->m_positionWorldOnA = value;
}
SWIGINTERN void btManifoldPoint_getPositionWorldOnB(btManifoldPoint *self,btVector3 &out){
out = self->m_positionWorldOnB;
}
SWIGINTERN void btManifoldPoint_setPositionWorldOnB(btManifoldPoint *self,btVector3 const &value){
self->m_positionWorldOnB = value;
}
SWIGINTERN void btManifoldPoint_getNormalWorldOnB(btManifoldPoint *self,btVector3 &out){
out = self->m_normalWorldOnB;
}
SWIGINTERN void btManifoldPoint_setNormalWorldOnB(btManifoldPoint *self,btVector3 const &value){
self->m_normalWorldOnB = value;
}
SWIGINTERN void btManifoldPoint_getLateralFrictionDir1(btManifoldPoint *self,btVector3 &out){
out = self->m_lateralFrictionDir1;
}
SWIGINTERN void btManifoldPoint_setLateralFrictionDir1(btManifoldPoint *self,btVector3 const &value){
self->m_lateralFrictionDir1 = value;
}
SWIGINTERN void btManifoldPoint_getLateralFrictionDir2(btManifoldPoint *self,btVector3 &out){
out = self->m_lateralFrictionDir2;
}
SWIGINTERN void btManifoldPoint_setLateralFrictionDir2(btManifoldPoint *self,btVector3 const &value){
self->m_lateralFrictionDir2 = value;
}
#include
#include
#include
#include
#include
#include
#include
#include
btVector3* Vector3ArrayToBtVector3Array(JNIEnv * jenv, jobjectArray source) {
static jfieldID xField = NULL, yField = NULL, zField = NULL;
jint len = jenv->GetArrayLength(source);
if (len <= 0)
return NULL;
btVector3* result = new btVector3[len];
if (xField == NULL) {
jobject vec = jenv->GetObjectArrayElement(source, 0);
jclass sc = jenv->GetObjectClass(vec);
xField = jenv->GetFieldID(sc, "x", "F");
yField = jenv->GetFieldID(sc, "y", "F");
zField = jenv->GetFieldID(sc, "z", "F");
jenv->DeleteLocalRef(sc);
}
for (int i = 0; i < len; i++) {
jobject vec = jenv->GetObjectArrayElement(source, i);
result[i].setValue(jenv->GetFloatField(vec, xField), jenv->GetFloatField(vec, yField), jenv->GetFloatField(vec, zField));
}
return result;
}
class gdxAutoDeleteBtVector3Array {
private:
btVector3* array;
public:
gdxAutoDeleteBtVector3Array(btVector3* arr) :
array(arr) { }
virtual ~gdxAutoDeleteBtVector3Array() {
if (array != NULL)
delete[] array;
}
};
#include
#include
bool custom_ContactListener_setEvents(ContactListener *listener);
SWIGINTERN bool ContactListener_setEvents(ContactListener *self){
return custom_ContactListener_setEvents(self);
}
#include
/*SWIG_JavaArrayArgout##Bool(jenv, jarr$argnum, (bool *)$1, $input);*/
/*SWIG_JavaArrayArgout##Schar(jenv, jarr$argnum, (signed char *)$1, $input);*/
/*SWIG_JavaArrayArgout##Uchar(jenv, jarr$argnum, (unsigned char *)$1, $input);*/
/*SWIG_JavaArrayArgout##Short(jenv, jarr$argnum, (short *)$1, $input);*/
/*SWIG_JavaArrayArgout##Ushort(jenv, jarr$argnum, (unsigned short *)$1, $input);*/
/*SWIG_JavaArrayArgout##Int(jenv, jarr$argnum, (int *)$1, $input);*/
/*SWIG_JavaArrayArgout##Uint(jenv, jarr$argnum, (unsigned int *)$1, $input);*/
/*SWIG_JavaArrayArgout##Long(jenv, jarr$argnum, (long *)$1, $input);*/
/*SWIG_JavaArrayArgout##Ulong(jenv, jarr$argnum, (unsigned long *)$1, $input);*/
/*SWIG_JavaArrayArgout##Longlong(jenv, jarr$argnum, (long long *)$1, $input);*/
/*SWIG_JavaArrayArgout##Float(jenv, jarr$argnum, (float *)$1, $input);*/
/*SWIG_JavaArrayArgout##Double(jenv, jarr$argnum, (double *)$1, $input);*/
SWIGINTERN btBroadphasePair *btAlignedObjectArray_Sl_btBroadphasePair_Sg__at(btAlignedObjectArray< btBroadphasePair > *self,int n){
return &(self->at(n));
}
SWIGINTERN int btAlignedObjectArray_Sl_btBroadphasePair_Sg__getCollisionObjects(btAlignedObjectArray< btBroadphasePair > *self,int result[],int max,int other){
static btManifoldArray marr;
const int n = self->size();
int count = 0;
int obj0, obj1;
for (int i = 0; i < n; i++) {
const btBroadphasePair& collisionPair = (*self)[i];
if (collisionPair.m_algorithm) {
marr.resize(0);
collisionPair.m_algorithm->getAllContactManifolds(marr);
const int s = marr.size();
for (int j = 0; j < s; j++) {
btPersistentManifold *manifold = marr[j];
if (manifold->getNumContacts() > 0) {
*(const btCollisionObject **)&obj0 = manifold->getBody0();
*(const btCollisionObject **)&obj1 = manifold->getBody1();
if (obj0 == other)
result[count++] = obj1;
else if (obj1 == other)
result[count++] = obj0;
else continue;
if (count >= max)
return count;
}
}
}
}
return count;
}
SWIGINTERN int btAlignedObjectArray_Sl_btBroadphasePair_Sg__getCollisionObjectsValue(btAlignedObjectArray< btBroadphasePair > *self,int result[],int max,int other){
static btManifoldArray marr;
const int n = self->size();
int count = 0;
int obj0, obj1;
for (int i = 0; i < n; i++) {
const btBroadphasePair& collisionPair = (*self)[i];
if (collisionPair.m_algorithm) {
marr.resize(0);
collisionPair.m_algorithm->getAllContactManifolds(marr);
const int s = marr.size();
for (int j = 0; j < s; j++) {
btPersistentManifold *manifold = marr[j];
if (manifold->getNumContacts() > 0) {
*(const btCollisionObject **)&obj0 = manifold->getBody0();
*(const btCollisionObject **)&obj1 = manifold->getBody1();
if (obj0 == other)
result[count++] = ((GdxCollisionObjectBridge*)manifold->getBody1()->getUserPointer())->userValue;
else if (obj1 == other)
result[count++] = ((GdxCollisionObjectBridge*)manifold->getBody0()->getUserPointer())->userValue;
else continue;
if (count >= max)
return count;
}
}
}
}
return count;
}
#include
#include
/* Gets a global ref to the temp class. Do not release this. */
SWIGINTERN inline jclass gdx_getTempClassMatrix3(JNIEnv * jenv) {
static jclass cls = NULL;
if (cls == NULL) {
cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath"));
}
return cls;
}
SWIGINTERN inline jobject gdx_takePoolObjectMatrix3(JNIEnv * jenv, const char * poolName) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID obtainMethod = NULL;
if (obtainMethod == NULL) {
obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;");
}
jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
return ret;
}
SWIGINTERN inline void gdx_releasePoolObjectMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
static jfieldID poolField = NULL;
if (poolField == NULL) {
poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;");
}
jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField);
jclass poolClass = jenv->GetObjectClass(poolObject);
static jmethodID freeMethod = NULL;
if (freeMethod == NULL) {
freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V");
}
jenv->CallVoidMethod(poolObject, freeMethod, obj);
jenv->DeleteLocalRef(poolObject);
jenv->DeleteLocalRef(poolClass);
jenv->DeleteLocalRef(obj);
}
/*
* A simple RAII wrapper to release jobjects we obtain from pools in
* directorin typemaps. SWIG doesn't have hooks to release them after
* they're used.
*/
class gdxPoolAutoReleaseMatrix3 {
private:
JNIEnv * jenv;
const char * poolName;
jobject obj;
public:
gdxPoolAutoReleaseMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) :
jenv(jenv), poolName(poolName), obj(obj) { };
virtual ~gdxPoolAutoReleaseMatrix3() {
gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->obj);
};
};
// Workaround for some strange swig behaviour
/* Gets a global ref to the temp class's Return Matrix3. Do not release this. */
SWIGINTERN inline jobject gdx_getReturnMatrix3(JNIEnv * jenv) {
static jobject ret = NULL;
if (ret == NULL) {
jclass tempClass = gdx_getTempClassMatrix3(jenv);
jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix3", "Lcom/badlogic/gdx/math/Matrix3;");
ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field));
}
return ret;
}
/* Sets the data in the Bullet type from the Gdx type. */
SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 & target, jobject source) {
Matrix3_to_btMatrix3(jenv, target, source);
}
SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 * target, jobject source) {
gdx_setbtMatrix3x3FromMatrix3(jenv, *target, source);
}
/* Sets the data in the Gdx type from the Bullet type. */
SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 & source) {
btMatrix3_to_Matrix3(jenv, target, source);
}
SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 * source) {
gdx_setMatrix3FrombtMatrix3x3(jenv, target, *source);
}
/*
* RAII wrapper to commit changes made to a local btMatrix3x3 back to Matrix3
*/
class gdxAutoCommitMatrix3 {
private:
JNIEnv * jenv;
jobject jMatrix3;
btMatrix3x3 & cbtMatrix3x3;
public:
gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3) { };
gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3) { };
virtual ~gdxAutoCommitMatrix3() {
gdx_setMatrix3FrombtMatrix3x3(this->jenv, this->jMatrix3, this->cbtMatrix3x3);
};
};
class gdxAutoCommitbtMatrix3x3AndReleaseMatrix3 {
private:
JNIEnv * jenv;
jobject jMatrix3;
btMatrix3x3 & cbtMatrix3x3;
const char * poolName;
public:
gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3, const char *poolName) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3), poolName(poolName) { };
gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3, const char *poolName) :
jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3), poolName(poolName) { };
virtual ~gdxAutoCommitbtMatrix3x3AndReleaseMatrix3() {
gdx_setbtMatrix3x3FromMatrix3(this->jenv, this->cbtMatrix3x3, this->jMatrix3);
gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->jMatrix3);
};
};
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
/* ---------------------------------------------------
* C++ director class methods
* --------------------------------------------------- */
#include "collision_wrap.h"
SwigDirector_btBroadphaseAabbCallback::SwigDirector_btBroadphaseAabbCallback(JNIEnv *jenv) : btBroadphaseAabbCallback(), Swig::Director(jenv) {
}
SwigDirector_btBroadphaseAabbCallback::~SwigDirector_btBroadphaseAabbCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_btBroadphaseAabbCallback::process(btBroadphaseProxy const *proxy) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy = 0 ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btBroadphaseAabbCallback::process.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy) = (btBroadphaseProxy *) proxy;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[0], swigjobj, jproxy);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btBroadphaseAabbCallback::process ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btBroadphaseAabbCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"process", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btBroadphaseAabbCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btBroadphaseRayCallback::SwigDirector_btBroadphaseRayCallback(JNIEnv *jenv) : btBroadphaseRayCallback(), Swig::Director(jenv) {
}
SwigDirector_btBroadphaseRayCallback::~SwigDirector_btBroadphaseRayCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_btBroadphaseRayCallback::process(btBroadphaseProxy const *proxy) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy = 0 ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btBroadphaseRayCallback::process.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy) = (btBroadphaseProxy *) proxy;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[1], swigjobj, jproxy);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btBroadphaseRayCallback::process ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btBroadphaseRayCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"process", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btBroadphaseRayCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btNodeOverlapCallback::SwigDirector_btNodeOverlapCallback(JNIEnv *jenv) : btNodeOverlapCallback(), Swig::Director(jenv) {
}
SwigDirector_btNodeOverlapCallback::~SwigDirector_btNodeOverlapCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_btNodeOverlapCallback::processNode(int subPart, int triangleIndex) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint jsubPart ;
jint jtriangleIndex ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btNodeOverlapCallback::processNode.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jsubPart = (jint) subPart;
jtriangleIndex = (jint) triangleIndex;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[2], swigjobj, jsubPart, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btNodeOverlapCallback::processNode ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_btNodeOverlapCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"processNode", "(II)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btNodeOverlapCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btOverlapCallback::SwigDirector_btOverlapCallback(JNIEnv *jenv) : btOverlapCallback(), Swig::Director(jenv) {
}
SwigDirector_btOverlapCallback::~SwigDirector_btOverlapCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_btOverlapCallback::processOverlap(btBroadphasePair &pair) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jobject jpair = 0 ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btOverlapCallback::processOverlap.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jclass jcpair = gdx_getClassbtBroadphasePair(jenv);
jpair = gdx_obtainbtBroadphasePair(jenv, jcpair, (void*)&pair, false);
gdxAutoFreebtBroadphasePair autoRelease_jpair(jenv, jcpair, jpair);
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[3], swigjobj, jpair);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btOverlapCallback::processOverlap ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btOverlapCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"processOverlap", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphasePair;)Z", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btOverlapCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btOverlapFilterCallback::SwigDirector_btOverlapFilterCallback(JNIEnv *jenv) : btOverlapFilterCallback(), Swig::Director(jenv) {
}
SwigDirector_btOverlapFilterCallback::~SwigDirector_btOverlapFilterCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_btOverlapFilterCallback::needBroadphaseCollision(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
jlong jproxy1 = 0 ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btOverlapFilterCallback::needBroadphaseCollision.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
*((btBroadphaseProxy **)&jproxy1) = (btBroadphaseProxy *) proxy1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[4], swigjobj, jproxy0, jproxy1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btOverlapFilterCallback::needBroadphaseCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btOverlapFilterCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needBroadphaseCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btOverlapFilterCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btTriangleCallback::SwigDirector_btTriangleCallback(JNIEnv *jenv) : btTriangleCallback(), Swig::Director(jenv) {
}
SwigDirector_btTriangleCallback::~SwigDirector_btTriangleCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_btTriangleCallback::processTriangle(btVector3 *triangle, int partId, int triangleIndex) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jtriangle = 0 ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btTriangleCallback::processTriangle.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btVector3 **)&jtriangle) = (btVector3 *) triangle;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[5], swigjobj, jtriangle, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btTriangleCallback::processTriangle ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_btTriangleCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"processTriangle", "(Lcom/badlogic/gdx/physics/bullet/linearmath/btVector3;II)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btTriangleCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btInternalTriangleIndexCallback::SwigDirector_btInternalTriangleIndexCallback(JNIEnv *jenv) : btInternalTriangleIndexCallback(), Swig::Director(jenv) {
}
SwigDirector_btInternalTriangleIndexCallback::~SwigDirector_btInternalTriangleIndexCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_btInternalTriangleIndexCallback::internalProcessTriangleIndex(btVector3 *triangle, int partId, int triangleIndex) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jtriangle = 0 ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btInternalTriangleIndexCallback::internalProcessTriangleIndex.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btVector3 **)&jtriangle) = (btVector3 *) triangle;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[6], swigjobj, jtriangle, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btInternalTriangleIndexCallback::internalProcessTriangleIndex ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_btInternalTriangleIndexCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"internalProcessTriangleIndex", "(Lcom/badlogic/gdx/physics/bullet/linearmath/btVector3;II)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btInternalTriangleIndexCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ICollide::SwigDirector_ICollide(JNIEnv *jenv) : btDbvt::ICollide(), Swig::Director(jenv) {
}
SwigDirector_ICollide::~SwigDirector_ICollide() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_ICollide::Process(btDbvtNode const *arg0, btDbvtNode const *arg1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jarg0 = 0 ;
jlong jarg1 = 0 ;
if (!swig_override[0]) {
btDbvt::ICollide::Process(arg0,arg1);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDbvtNode **)&jarg0) = (btDbvtNode *) arg0;
*((btDbvtNode **)&jarg1) = (btDbvtNode *) arg1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[7], swigjobj, jarg0, jarg1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btDbvt::ICollide::Process ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ICollide::Process(btDbvtNode const *arg0) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jarg0 = 0 ;
if (!swig_override[1]) {
btDbvt::ICollide::Process(arg0);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDbvtNode **)&jarg0) = (btDbvtNode *) arg0;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[8], swigjobj, jarg0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btDbvt::ICollide::Process ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ICollide::Process(btDbvtNode const *n, btScalar arg1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jn = 0 ;
jfloat jarg1 ;
if (!swig_override[2]) {
btDbvt::ICollide::Process(n,arg1);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDbvtNode **)&jn) = (btDbvtNode *) n;
jarg1 = (jfloat) arg1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[9], swigjobj, jn, jarg1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btDbvt::ICollide::Process ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
bool SwigDirector_ICollide::Descent(btDbvtNode const *arg0) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jarg0 = 0 ;
if (!swig_override[3]) {
return btDbvt::ICollide::Descent(arg0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDbvtNode **)&jarg0) = (btDbvtNode *) arg0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[10], swigjobj, jarg0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btDbvt::ICollide::Descent ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ICollide::AllLeaves(btDbvtNode const *arg0) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jarg0 = 0 ;
if (!swig_override[4]) {
return btDbvt::ICollide::AllLeaves(arg0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btDbvtNode **)&jarg0) = (btDbvtNode *) arg0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[11], swigjobj, jarg0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btDbvt::ICollide::AllLeaves ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_ICollide::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"Process", "(Lcom/badlogic/gdx/physics/bullet/collision/btDbvtNode;Lcom/badlogic/gdx/physics/bullet/collision/btDbvtNode;)V", NULL
},
{
"Process", "(Lcom/badlogic/gdx/physics/bullet/collision/btDbvtNode;)V", NULL
},
{
"Process", "(Lcom/badlogic/gdx/physics/bullet/collision/btDbvtNode;F)V", NULL
},
{
"Descent", "(Lcom/badlogic/gdx/physics/bullet/collision/btDbvtNode;)Z", NULL
},
{
"AllLeaves", "(Lcom/badlogic/gdx/physics/bullet/collision/btDbvtNode;)Z", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ICollide");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 5; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btConvexTriangleCallback::SwigDirector_btConvexTriangleCallback(JNIEnv *jenv, btDispatcher *dispatcher, btCollisionObjectWrapper const *body0Wrap, btCollisionObjectWrapper const *body1Wrap, bool isSwapped) : btConvexTriangleCallback(dispatcher, body0Wrap, body1Wrap, isSwapped), Swig::Director(jenv) {
}
SwigDirector_btConvexTriangleCallback::~SwigDirector_btConvexTriangleCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_btConvexTriangleCallback::processTriangle(btVector3 *triangle, int partId, int triangleIndex) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jtriangle = 0 ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[0]) {
btConvexTriangleCallback::processTriangle(triangle,partId,triangleIndex);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btVector3 **)&jtriangle) = (btVector3 *) triangle;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[12], swigjobj, jtriangle, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btConvexTriangleCallback::processTriangle ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_btConvexTriangleCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"processTriangle", "(Lcom/badlogic/gdx/physics/bullet/linearmath/btVector3;II)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btConvexTriangleCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 1; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btGhostPairCallback::SwigDirector_btGhostPairCallback(JNIEnv *jenv) : btGhostPairCallback(), Swig::Director(jenv) {
}
SwigDirector_btGhostPairCallback::~SwigDirector_btGhostPairCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void *SwigDirector_btGhostPairCallback::removeOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher) {
void *c_result = 0 ;
jlong jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
jlong jproxy1 = 0 ;
jlong jdispatcher = 0 ;
if (!swig_override[0]) {
return btGhostPairCallback::removeOverlappingPair(proxy0,proxy1,dispatcher);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
*((btBroadphaseProxy **)&jproxy1) = (btBroadphaseProxy *) proxy1;
*((btDispatcher **)&jdispatcher) = (btDispatcher *) dispatcher;
jresult = (jlong) jenv->CallStaticLongMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[13], swigjobj, jproxy0, jproxy1, jdispatcher);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (void *)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btGhostPairCallback::removeOverlappingPair ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btGhostPairCallback::removeOverlappingPairsContainingProxy(btBroadphaseProxy *arg0, btDispatcher *arg1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jarg0 = 0 ;
jlong jarg1 = 0 ;
if (!swig_override[1]) {
btGhostPairCallback::removeOverlappingPairsContainingProxy(arg0,arg1);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jarg0) = (btBroadphaseProxy *) arg0;
*((btDispatcher **)&jarg1) = (btDispatcher *) arg1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[14], swigjobj, jarg0, jarg1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btGhostPairCallback::removeOverlappingPairsContainingProxy ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_btGhostPairCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"removeOverlappingPair", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;Lcom/badlogic/gdx/physics/bullet/collision/btDispatcher;)J", NULL
},
{
"removeOverlappingPairsContainingProxy", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;Lcom/badlogic/gdx/physics/bullet/collision/btDispatcher;)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btGhostPairCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_RayResultCallback::SwigDirector_RayResultCallback(JNIEnv *jenv) : btCollisionWorld::RayResultCallback(), Swig::Director(jenv) {
}
SwigDirector_RayResultCallback::~SwigDirector_RayResultCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_RayResultCallback::needsCollision(btBroadphaseProxy *proxy0) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
if (!swig_override[0]) {
return btCollisionWorld::RayResultCallback::needsCollision(proxy0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[15], swigjobj, jproxy0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::RayResultCallback::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
btScalar SwigDirector_RayResultCallback::addSingleResult(btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jrayResult = 0 ;
jboolean jnormalInWorldSpace ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btCollisionWorld::RayResultCallback::addSingleResult.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionWorld::LocalRayResult **)&jrayResult = (btCollisionWorld::LocalRayResult *) &rayResult;
jnormalInWorldSpace = (jboolean) normalInWorldSpace;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[16], swigjobj, jrayResult, jnormalInWorldSpace);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::RayResultCallback::addSingleResult ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_RayResultCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
},
{
"addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/LocalRayResult;Z)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/RayResultCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ClosestRayResultCallback::SwigDirector_ClosestRayResultCallback(JNIEnv *jenv, btVector3 const &rayFromWorld, btVector3 const &rayToWorld) : btCollisionWorld::ClosestRayResultCallback(rayFromWorld, rayToWorld), Swig::Director(jenv) {
}
SwigDirector_ClosestRayResultCallback::~SwigDirector_ClosestRayResultCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_ClosestRayResultCallback::needsCollision(btBroadphaseProxy *proxy0) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
if (!swig_override[0]) {
return btCollisionWorld::RayResultCallback::needsCollision(proxy0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[17], swigjobj, jproxy0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ClosestRayResultCallback::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
btScalar SwigDirector_ClosestRayResultCallback::addSingleResult(btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jrayResult = 0 ;
jboolean jnormalInWorldSpace ;
if (!swig_override[1]) {
return btCollisionWorld::ClosestRayResultCallback::addSingleResult(rayResult,normalInWorldSpace);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionWorld::LocalRayResult **)&jrayResult = (btCollisionWorld::LocalRayResult *) &rayResult;
jnormalInWorldSpace = (jboolean) normalInWorldSpace;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[18], swigjobj, jrayResult, jnormalInWorldSpace);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ClosestRayResultCallback::addSingleResult ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_ClosestRayResultCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
},
{
"addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/LocalRayResult;Z)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ClosestRayResultCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_AllHitsRayResultCallback::SwigDirector_AllHitsRayResultCallback(JNIEnv *jenv, btVector3 const &rayFromWorld, btVector3 const &rayToWorld) : btCollisionWorld::AllHitsRayResultCallback(rayFromWorld, rayToWorld), Swig::Director(jenv) {
}
SwigDirector_AllHitsRayResultCallback::~SwigDirector_AllHitsRayResultCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_AllHitsRayResultCallback::needsCollision(btBroadphaseProxy *proxy0) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
if (!swig_override[0]) {
return btCollisionWorld::RayResultCallback::needsCollision(proxy0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[19], swigjobj, jproxy0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::AllHitsRayResultCallback::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
btScalar SwigDirector_AllHitsRayResultCallback::addSingleResult(btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jrayResult = 0 ;
jboolean jnormalInWorldSpace ;
if (!swig_override[1]) {
return btCollisionWorld::AllHitsRayResultCallback::addSingleResult(rayResult,normalInWorldSpace);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionWorld::LocalRayResult **)&jrayResult = (btCollisionWorld::LocalRayResult *) &rayResult;
jnormalInWorldSpace = (jboolean) normalInWorldSpace;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[20], swigjobj, jrayResult, jnormalInWorldSpace);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::AllHitsRayResultCallback::addSingleResult ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_AllHitsRayResultCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
},
{
"addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/LocalRayResult;Z)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/AllHitsRayResultCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ConvexResultCallback::SwigDirector_ConvexResultCallback(JNIEnv *jenv) : btCollisionWorld::ConvexResultCallback(), Swig::Director(jenv) {
}
SwigDirector_ConvexResultCallback::~SwigDirector_ConvexResultCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_ConvexResultCallback::needsCollision(btBroadphaseProxy *proxy0) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
if (!swig_override[0]) {
return btCollisionWorld::ConvexResultCallback::needsCollision(proxy0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[21], swigjobj, jproxy0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ConvexResultCallback::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
btScalar SwigDirector_ConvexResultCallback::addSingleResult(btCollisionWorld::LocalConvexResult &convexResult, bool normalInWorldSpace) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jconvexResult = 0 ;
jboolean jnormalInWorldSpace ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btCollisionWorld::ConvexResultCallback::addSingleResult.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionWorld::LocalConvexResult **)&jconvexResult = (btCollisionWorld::LocalConvexResult *) &convexResult;
jnormalInWorldSpace = (jboolean) normalInWorldSpace;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[22], swigjobj, jconvexResult, jnormalInWorldSpace);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ConvexResultCallback::addSingleResult ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_ConvexResultCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
},
{
"addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/LocalConvexResult;Z)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ConvexResultCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ClosestConvexResultCallback::SwigDirector_ClosestConvexResultCallback(JNIEnv *jenv, btVector3 const &convexFromWorld, btVector3 const &convexToWorld) : btCollisionWorld::ClosestConvexResultCallback(convexFromWorld, convexToWorld), Swig::Director(jenv) {
}
SwigDirector_ClosestConvexResultCallback::~SwigDirector_ClosestConvexResultCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_ClosestConvexResultCallback::needsCollision(btBroadphaseProxy *proxy0) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
if (!swig_override[0]) {
return btCollisionWorld::ConvexResultCallback::needsCollision(proxy0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[23], swigjobj, jproxy0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ClosestConvexResultCallback::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
btScalar SwigDirector_ClosestConvexResultCallback::addSingleResult(btCollisionWorld::LocalConvexResult &convexResult, bool normalInWorldSpace) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jconvexResult = 0 ;
jboolean jnormalInWorldSpace ;
if (!swig_override[1]) {
return btCollisionWorld::ClosestConvexResultCallback::addSingleResult(convexResult,normalInWorldSpace);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionWorld::LocalConvexResult **)&jconvexResult = (btCollisionWorld::LocalConvexResult *) &convexResult;
jnormalInWorldSpace = (jboolean) normalInWorldSpace;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[24], swigjobj, jconvexResult, jnormalInWorldSpace);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ClosestConvexResultCallback::addSingleResult ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_ClosestConvexResultCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
},
{
"addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/LocalConvexResult;Z)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ClosestConvexResultCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ContactResultCallback::SwigDirector_ContactResultCallback(JNIEnv *jenv) : btCollisionWorld::ContactResultCallback(), Swig::Director(jenv) {
}
SwigDirector_ContactResultCallback::~SwigDirector_ContactResultCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_ContactResultCallback::needsCollision(btBroadphaseProxy *proxy0) const {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jproxy0 = 0 ;
if (!swig_override[0]) {
return btCollisionWorld::ContactResultCallback::needsCollision(proxy0);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btBroadphaseProxy **)&jproxy0) = (btBroadphaseProxy *) proxy0;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[25], swigjobj, jproxy0);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ContactResultCallback::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
btScalar SwigDirector_ContactResultCallback::addSingleResult(btManifoldPoint &cp, btCollisionObjectWrapper const *colObj0Wrap, int partId0, int index0, btCollisionObjectWrapper const *colObj1Wrap, int partId1, int index1) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0Wrap = 0 ;
jint jpartId0 ;
jint jindex0 ;
jlong jcolObj1Wrap = 0 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btCollisionWorld::ContactResultCallback::addSingleResult.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*((btCollisionObjectWrapper **)&jcolObj0Wrap) = (btCollisionObjectWrapper *) colObj0Wrap;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
*((btCollisionObjectWrapper **)&jcolObj1Wrap) = (btCollisionObjectWrapper *) colObj1Wrap;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[26], swigjobj, jcp, jcolObj0Wrap, jpartId0, jindex0, jcolObj1Wrap, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btCollisionWorld::ContactResultCallback::addSingleResult ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_ContactResultCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseProxy;)Z", NULL
},
{
"addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IILcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;II)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ContactResultCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btTriangleRaycastCallback::SwigDirector_btTriangleRaycastCallback(JNIEnv *jenv, btVector3 const &from, btVector3 const &to, unsigned int flags) : btTriangleRaycastCallback(from, to, flags), Swig::Director(jenv) {
}
SwigDirector_btTriangleRaycastCallback::~SwigDirector_btTriangleRaycastCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_btTriangleRaycastCallback::processTriangle(btVector3 *triangle, int partId, int triangleIndex) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jtriangle = 0 ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[0]) {
btTriangleRaycastCallback::processTriangle(triangle,partId,triangleIndex);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btVector3 **)&jtriangle) = (btVector3 *) triangle;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[27], swigjobj, jtriangle, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btTriangleRaycastCallback::processTriangle ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
btScalar SwigDirector_btTriangleRaycastCallback::reportHit(btVector3 const &hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jobject jhitNormalLocal = 0 ;
jfloat jhitFraction ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btTriangleRaycastCallback::reportHit.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jhitNormalLocal = gdx_takePoolObjectVector3(jenv, "poolVector3");
gdx_setVector3FrombtVector3(jenv, jhitNormalLocal, hitNormalLocal);
gdxPoolAutoReleaseVector3 autoRelease_jhitNormalLocal(jenv, "poolVector3", jhitNormalLocal);
jhitFraction = (jfloat) hitFraction;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[28], swigjobj, jhitNormalLocal, jhitFraction, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btTriangleRaycastCallback::reportHit ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btTriangleRaycastCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"processTriangle", "(Lcom/badlogic/gdx/physics/bullet/linearmath/btVector3;II)V", NULL
},
{
"reportHit", "(Lcom/badlogic/gdx/math/Vector3;FII)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btTriangleRaycastCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_btTriangleConvexcastCallback::SwigDirector_btTriangleConvexcastCallback(JNIEnv *jenv, btConvexShape const *convexShape, btTransform const &convexShapeFrom, btTransform const &convexShapeTo, btTransform const &triangleToWorld, btScalar const triangleCollisionMargin) : btTriangleConvexcastCallback(convexShape, convexShapeFrom, convexShapeTo, triangleToWorld, triangleCollisionMargin), Swig::Director(jenv) {
}
SwigDirector_btTriangleConvexcastCallback::~SwigDirector_btTriangleConvexcastCallback() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_btTriangleConvexcastCallback::processTriangle(btVector3 *triangle, int partId, int triangleIndex) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jtriangle = 0 ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[0]) {
btTriangleConvexcastCallback::processTriangle(triangle,partId,triangleIndex);
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btVector3 **)&jtriangle) = (btVector3 *) triangle;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[29], swigjobj, jtriangle, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btTriangleConvexcastCallback::processTriangle ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
btScalar SwigDirector_btTriangleConvexcastCallback::reportHit(btVector3 const &hitNormalLocal, btVector3 const &hitPointLocal, btScalar hitFraction, int partId, int triangleIndex) {
btScalar c_result = SwigValueInit< btScalar >() ;
jfloat jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jobject jhitNormalLocal = 0 ;
jobject jhitPointLocal = 0 ;
jfloat jhitFraction ;
jint jpartId ;
jint jtriangleIndex ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method btTriangleConvexcastCallback::reportHit.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jhitNormalLocal = gdx_takePoolObjectVector3(jenv, "poolVector3");
gdx_setVector3FrombtVector3(jenv, jhitNormalLocal, hitNormalLocal);
gdxPoolAutoReleaseVector3 autoRelease_jhitNormalLocal(jenv, "poolVector3", jhitNormalLocal);
jhitPointLocal = gdx_takePoolObjectVector3(jenv, "poolVector3");
gdx_setVector3FrombtVector3(jenv, jhitPointLocal, hitPointLocal);
gdxPoolAutoReleaseVector3 autoRelease_jhitPointLocal(jenv, "poolVector3", jhitPointLocal);
jhitFraction = (jfloat) hitFraction;
jpartId = (jint) partId;
jtriangleIndex = (jint) triangleIndex;
jresult = (jfloat) jenv->CallStaticFloatMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[30], swigjobj, jhitNormalLocal, jhitPointLocal, jhitFraction, jpartId, jtriangleIndex);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = (btScalar)jresult;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in btTriangleConvexcastCallback::reportHit ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_btTriangleConvexcastCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"processTriangle", "(Lcom/badlogic/gdx/physics/bullet/linearmath/btVector3;II)V", NULL
},
{
"reportHit", "(Lcom/badlogic/gdx/math/Vector3;Lcom/badlogic/gdx/math/Vector3;FII)F", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/btTriangleConvexcastCallback");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_CustomCollisionDispatcher::SwigDirector_CustomCollisionDispatcher(JNIEnv *jenv, btCollisionConfiguration *collisionConfiguration) : CustomCollisionDispatcher(collisionConfiguration), Swig::Director(jenv) {
}
SwigDirector_CustomCollisionDispatcher::~SwigDirector_CustomCollisionDispatcher() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
btPersistentManifold *SwigDirector_CustomCollisionDispatcher::getNewManifold(btCollisionObject const *b0, btCollisionObject const *b1) {
return btCollisionDispatcher::getNewManifold(b0,b1);
}
void SwigDirector_CustomCollisionDispatcher::releaseManifold(btPersistentManifold *manifold) {
btCollisionDispatcher::releaseManifold(manifold);
}
void SwigDirector_CustomCollisionDispatcher::clearManifold(btPersistentManifold *manifold) {
btCollisionDispatcher::clearManifold(manifold);
}
bool SwigDirector_CustomCollisionDispatcher::needsCollision(btCollisionObject const *body0, btCollisionObject const *body1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jbody0 = 0 ;
jlong jbody1 = 0 ;
if (!swig_override[0]) {
return CustomCollisionDispatcher::needsCollision(body0,body1);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jbody0) = (btCollisionObject *) body0;
*((btCollisionObject **)&jbody1) = (btCollisionObject *) body1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[31], swigjobj, jbody0, jbody1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomCollisionDispatcher::needsCollision ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_CustomCollisionDispatcher::needsResponse(btCollisionObject const *body0, btCollisionObject const *body1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jbody0 = 0 ;
jlong jbody1 = 0 ;
if (!swig_override[1]) {
return CustomCollisionDispatcher::needsResponse(body0,body1);
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jbody0) = (btCollisionObject *) body0;
*((btCollisionObject **)&jbody1) = (btCollisionObject *) body1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[32], swigjobj, jbody0, jbody1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomCollisionDispatcher::needsResponse ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_CustomCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache *pairCache, btDispatcherInfo const &dispatchInfo, btDispatcher *dispatcher) {
btCollisionDispatcher::dispatchAllCollisionPairs(pairCache,dispatchInfo,dispatcher);
}
int SwigDirector_CustomCollisionDispatcher::getNumManifolds() const {
return btCollisionDispatcher::getNumManifolds();
}
btPersistentManifold **SwigDirector_CustomCollisionDispatcher::getInternalManifoldPointer() {
return btCollisionDispatcher::getInternalManifoldPointer();
}
void *SwigDirector_CustomCollisionDispatcher::allocateCollisionAlgorithm(int size) {
return btCollisionDispatcher::allocateCollisionAlgorithm(size);
}
void SwigDirector_CustomCollisionDispatcher::freeCollisionAlgorithm(void *ptr) {
btCollisionDispatcher::freeCollisionAlgorithm(ptr);
}
void SwigDirector_CustomCollisionDispatcher::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;)Z", NULL
},
{
"needsResponse", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;)Z", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/CustomCollisionDispatcher");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ContactListener::SwigDirector_ContactListener(JNIEnv *jenv, bool dummy) : ContactListener(dummy), Swig::Director(jenv) {
}
SwigDirector_ContactListener::~SwigDirector_ContactListener() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
bool SwigDirector_ContactListener::onContactAdded(btManifoldPoint &cp, btCollisionObjectWrapper const &colObj0Wrap, int partId0, int index0, btCollisionObjectWrapper const &colObj1Wrap, int partId1, int index1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0Wrap = 0 ;
jint jpartId0 ;
jint jindex0 ;
jlong jcolObj1Wrap = 0 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*(btCollisionObjectWrapper **)&jcolObj0Wrap = (btCollisionObjectWrapper *) &colObj0Wrap;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
*(btCollisionObjectWrapper **)&jcolObj1Wrap = (btCollisionObjectWrapper *) &colObj1Wrap;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[33], swigjobj, jcp, jcolObj0Wrap, jpartId0, jindex0, jcolObj1Wrap, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btManifoldPoint &cp, btCollisionObject const *colObj0, int partId0, int index0, btCollisionObject const *colObj1, int partId1, int index1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0 = 0 ;
jint jpartId0 ;
jint jindex0 ;
jlong jcolObj1 = 0 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[34], swigjobj, jcp, jcolObj0, jpartId0, jindex0, jcolObj1, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btManifoldPoint &cp, int userValue0, int partId0, int index0, int userValue1, int partId1, int index1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jint juserValue0 ;
jint jpartId0 ;
jint jindex0 ;
jint juserValue1 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[2]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
juserValue0 = (jint) userValue0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
juserValue1 = (jint) userValue1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[35], swigjobj, jcp, juserValue0, jpartId0, jindex0, juserValue1, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btManifoldPoint &cp, btCollisionObjectWrapper const &colObj0Wrap, int partId0, int index0, bool match0, btCollisionObjectWrapper const &colObj1Wrap, int partId1, int index1, bool match1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0Wrap = 0 ;
jint jpartId0 ;
jint jindex0 ;
jboolean jmatch0 ;
jlong jcolObj1Wrap = 0 ;
jint jpartId1 ;
jint jindex1 ;
jboolean jmatch1 ;
if (!swig_override[3]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*(btCollisionObjectWrapper **)&jcolObj0Wrap = (btCollisionObjectWrapper *) &colObj0Wrap;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
jmatch0 = (jboolean) match0;
*(btCollisionObjectWrapper **)&jcolObj1Wrap = (btCollisionObjectWrapper *) &colObj1Wrap;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jmatch1 = (jboolean) match1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[36], swigjobj, jcp, jcolObj0Wrap, jpartId0, jindex0, jmatch0, jcolObj1Wrap, jpartId1, jindex1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btManifoldPoint &cp, btCollisionObject const *colObj0, int partId0, int index0, bool match0, btCollisionObject const *colObj1, int partId1, int index1, bool match1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0 = 0 ;
jint jpartId0 ;
jint jindex0 ;
jboolean jmatch0 ;
jlong jcolObj1 = 0 ;
jint jpartId1 ;
jint jindex1 ;
jboolean jmatch1 ;
if (!swig_override[4]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
jmatch0 = (jboolean) match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jmatch1 = (jboolean) match1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[37], swigjobj, jcp, jcolObj0, jpartId0, jindex0, jmatch0, jcolObj1, jpartId1, jindex1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btManifoldPoint &cp, int userValue0, int partId0, int index0, bool match0, int userValue1, int partId1, int index1, bool match1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jint juserValue0 ;
jint jpartId0 ;
jint jindex0 ;
jboolean jmatch0 ;
jint juserValue1 ;
jint jpartId1 ;
jint jindex1 ;
jboolean jmatch1 ;
if (!swig_override[5]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
juserValue0 = (jint) userValue0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
jmatch0 = (jboolean) match0;
juserValue1 = (jint) userValue1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jmatch1 = (jboolean) match1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[38], swigjobj, jcp, juserValue0, jpartId0, jindex0, jmatch0, juserValue1, jpartId1, jindex1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btCollisionObjectWrapper const &colObj0Wrap, int partId0, int index0, btCollisionObjectWrapper const &colObj1Wrap, int partId1, int index1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0Wrap = 0 ;
jint jpartId0 ;
jint jindex0 ;
jlong jcolObj1Wrap = 0 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[6]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionObjectWrapper **)&jcolObj0Wrap = (btCollisionObjectWrapper *) &colObj0Wrap;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
*(btCollisionObjectWrapper **)&jcolObj1Wrap = (btCollisionObjectWrapper *) &colObj1Wrap;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[39], swigjobj, jcolObj0Wrap, jpartId0, jindex0, jcolObj1Wrap, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btCollisionObject const *colObj0, int partId0, int index0, btCollisionObject const *colObj1, int partId1, int index1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jint jpartId0 ;
jint jindex0 ;
jlong jcolObj1 = 0 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[7]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[40], swigjobj, jcolObj0, jpartId0, jindex0, jcolObj1, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(int userValue0, int partId0, int index0, int userValue1, int partId1, int index1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 ;
jint jpartId0 ;
jint jindex0 ;
jint juserValue1 ;
jint jpartId1 ;
jint jindex1 ;
if (!swig_override[8]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint) userValue0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
juserValue1 = (jint) userValue1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[41], swigjobj, juserValue0, jpartId0, jindex0, juserValue1, jpartId1, jindex1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btCollisionObjectWrapper const &colObj0Wrap, int partId0, int index0, bool match0, btCollisionObjectWrapper const &colObj1Wrap, int partId1, int index1, bool match1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0Wrap = 0 ;
jint jpartId0 ;
jint jindex0 ;
jboolean jmatch0 ;
jlong jcolObj1Wrap = 0 ;
jint jpartId1 ;
jint jindex1 ;
jboolean jmatch1 ;
if (!swig_override[9]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btCollisionObjectWrapper **)&jcolObj0Wrap = (btCollisionObjectWrapper *) &colObj0Wrap;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
jmatch0 = (jboolean) match0;
*(btCollisionObjectWrapper **)&jcolObj1Wrap = (btCollisionObjectWrapper *) &colObj1Wrap;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jmatch1 = (jboolean) match1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[42], swigjobj, jcolObj0Wrap, jpartId0, jindex0, jmatch0, jcolObj1Wrap, jpartId1, jindex1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(btCollisionObject const *colObj0, int partId0, int index0, bool match0, btCollisionObject const *colObj1, int partId1, int index1, bool match1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jint jpartId0 ;
jint jindex0 ;
jboolean jmatch0 ;
jlong jcolObj1 = 0 ;
jint jpartId1 ;
jint jindex1 ;
jboolean jmatch1 ;
if (!swig_override[10]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
jmatch0 = (jboolean) match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jmatch1 = (jboolean) match1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[43], swigjobj, jcolObj0, jpartId0, jindex0, jmatch0, jcolObj1, jpartId1, jindex1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
bool SwigDirector_ContactListener::onContactAdded(int userValue0, int partId0, int index0, bool match0, int userValue1, int partId1, int index1, bool match1) {
bool c_result = SwigValueInit< bool >() ;
jboolean jresult = 0 ;
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 ;
jint jpartId0 ;
jint jindex0 ;
jboolean jmatch0 ;
jint juserValue1 ;
jint jpartId1 ;
jint jindex1 ;
jboolean jmatch1 ;
if (!swig_override[11]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactAdded.");
return c_result;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint) userValue0;
jpartId0 = (jint) partId0;
jindex0 = (jint) index0;
jmatch0 = (jboolean) match0;
juserValue1 = (jint) userValue1;
jpartId1 = (jint) partId1;
jindex1 = (jint) index1;
jmatch1 = (jboolean) match1;
jresult = (jboolean) jenv->CallStaticBooleanMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[44], swigjobj, juserValue0, jpartId0, jindex0, jmatch0, juserValue1, jpartId1, jindex1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
c_result = jresult ? true : false;
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactAdded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
return c_result;
}
void SwigDirector_ContactListener::onContactProcessed(btManifoldPoint &cp, btCollisionObject const *colObj0, btCollisionObject const *colObj1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0 = 0 ;
jlong jcolObj1 = 0 ;
if (!swig_override[12]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[45], swigjobj, jcp, jcolObj0, jcolObj1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(btManifoldPoint &cp, int userValue0, int userValue1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jint juserValue0 ;
jint juserValue1 ;
if (!swig_override[13]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
juserValue0 = (jint) userValue0;
juserValue1 = (jint) userValue1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[46], swigjobj, jcp, juserValue0, juserValue1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(btManifoldPoint &cp, btCollisionObject const *colObj0, bool match0, btCollisionObject const *colObj1, bool match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jlong jcolObj0 = 0 ;
jboolean jmatch0 ;
jlong jcolObj1 = 0 ;
jboolean jmatch1 ;
if (!swig_override[14]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jmatch0 = (jboolean) match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jmatch1 = (jboolean) match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[47], swigjobj, jcp, jcolObj0, jmatch0, jcolObj1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(btManifoldPoint &cp, int userValue0, bool match0, int userValue1, bool match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcp = 0 ;
jint juserValue0 ;
jboolean jmatch0 ;
jint juserValue1 ;
jboolean jmatch1 ;
if (!swig_override[15]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*(btManifoldPoint **)&jcp = (btManifoldPoint *) &cp;
juserValue0 = (jint) userValue0;
jmatch0 = (jboolean) match0;
juserValue1 = (jint) userValue1;
jmatch1 = (jboolean) match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[48], swigjobj, jcp, juserValue0, jmatch0, juserValue1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(btCollisionObject const *colObj0, btCollisionObject const *colObj1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jlong jcolObj1 = 0 ;
if (!swig_override[16]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[49], swigjobj, jcolObj0, jcolObj1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(int userValue0, int userValue1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 ;
jint juserValue1 ;
if (!swig_override[17]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint) userValue0;
juserValue1 = (jint) userValue1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[50], swigjobj, juserValue0, juserValue1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(btCollisionObject const *colObj0, bool match0, btCollisionObject const *colObj1, bool match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jboolean jmatch0 ;
jlong jcolObj1 = 0 ;
jboolean jmatch1 ;
if (!swig_override[18]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jmatch0 = (jboolean) match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jmatch1 = (jboolean) match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[51], swigjobj, jcolObj0, jmatch0, jcolObj1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactProcessed(int userValue0, bool match0, int userValue1, bool match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 ;
jboolean jmatch0 ;
jint juserValue1 ;
jboolean jmatch1 ;
if (!swig_override[19]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactProcessed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint) userValue0;
jmatch0 = (jboolean) match0;
juserValue1 = (jint) userValue1;
jmatch1 = (jboolean) match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[52], swigjobj, juserValue0, jmatch0, juserValue1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactProcessed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactDestroyed(int manifoldPointUserValue) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint jmanifoldPointUserValue ;
if (!swig_override[20]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactDestroyed.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
jmanifoldPointUserValue = (jint) manifoldPointUserValue;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[53], swigjobj, jmanifoldPointUserValue);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactDestroyed ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactStarted(btPersistentManifold *manifold) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jmanifold = 0 ;
if (!swig_override[21]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btPersistentManifold **)&jmanifold) = (btPersistentManifold *) manifold;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[54], swigjobj, jmanifold);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactStarted(btCollisionObject const *colObj0, btCollisionObject const *colObj1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jlong jcolObj1 = 0 ;
if (!swig_override[22]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[55], swigjobj, jcolObj0, jcolObj1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactStarted(int const &userValue0, int const &userValue1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 = 0 ;
jint juserValue1 = 0 ;
if (!swig_override[23]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint)userValue0;
juserValue1 = (jint)userValue1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[56], swigjobj, juserValue0, juserValue1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactStarted(btPersistentManifold *manifold, bool const &match0, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jmanifold = 0 ;
jboolean jmatch0 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[24]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btPersistentManifold **)&jmanifold) = (btPersistentManifold *) manifold;
jmatch0 = (jboolean)match0;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[57], swigjobj, jmanifold, jmatch0, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactStarted(btCollisionObject const *colObj0, bool const &match0, btCollisionObject const *colObj1, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jboolean jmatch0 = 0 ;
jlong jcolObj1 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[25]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jmatch0 = (jboolean)match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[58], swigjobj, jcolObj0, jmatch0, jcolObj1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactStarted(int const &userValue0, bool const &match0, int const &userValue1, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 = 0 ;
jboolean jmatch0 = 0 ;
jint juserValue1 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[26]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint)userValue0;
jmatch0 = (jboolean)match0;
juserValue1 = (jint)userValue1;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[59], swigjobj, juserValue0, jmatch0, juserValue1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactEnded(btPersistentManifold *manifold) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jmanifold = 0 ;
if (!swig_override[27]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btPersistentManifold **)&jmanifold) = (btPersistentManifold *) manifold;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[60], swigjobj, jmanifold);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactEnded(btCollisionObject const *colObj0, btCollisionObject const *colObj1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jlong jcolObj1 = 0 ;
if (!swig_override[28]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[61], swigjobj, jcolObj0, jcolObj1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactEnded(int const &userValue0, int const &userValue1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 = 0 ;
jint juserValue1 = 0 ;
if (!swig_override[29]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint)userValue0;
juserValue1 = (jint)userValue1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[62], swigjobj, juserValue0, juserValue1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactEnded(btPersistentManifold *manifold, bool const &match0, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jmanifold = 0 ;
jboolean jmatch0 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[30]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btPersistentManifold **)&jmanifold) = (btPersistentManifold *) manifold;
jmatch0 = (jboolean)match0;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[63], swigjobj, jmanifold, jmatch0, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactEnded(btCollisionObject const *colObj0, bool const &match0, btCollisionObject const *colObj1, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jboolean jmatch0 = 0 ;
jlong jcolObj1 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[31]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jmatch0 = (jboolean)match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[64], swigjobj, jcolObj0, jmatch0, jcolObj1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::onContactEnded(int const &userValue0, bool const &match0, int const &userValue1, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jint juserValue0 = 0 ;
jboolean jmatch0 = 0 ;
jint juserValue1 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[32]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactListener::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
juserValue0 = (jint)userValue0;
jmatch0 = (jboolean)match0;
juserValue1 = (jint)userValue1;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[65], swigjobj, juserValue0, jmatch0, juserValue1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactListener::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactListener::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IILcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;II)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;IILcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;II)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;IIIIII)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IIZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IIZ)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;IIZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;IIZ)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;IIIZIIIZ)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IILcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;II)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;IILcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;II)Z", NULL
},
{
"onContactAdded", "(IIIIII)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IIZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObjectWrapper;IIZ)Z", NULL
},
{
"onContactAdded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;IIZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;IIZ)Z", NULL
},
{
"onContactAdded", "(IIIZIIIZ)Z", NULL
},
{
"onContactProcessed", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;)V", NULL
},
{
"onContactProcessed", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;II)V", NULL
},
{
"onContactProcessed", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;ZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Z)V", NULL
},
{
"onContactProcessed", "(Lcom/badlogic/gdx/physics/bullet/collision/btManifoldPoint;IZIZ)V", NULL
},
{
"onContactProcessed", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;)V", NULL
},
{
"onContactProcessed", "(II)V", NULL
},
{
"onContactProcessed", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;ZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Z)V", NULL
},
{
"onContactProcessed", "(IZIZ)V", NULL
},
{
"onContactDestroyed", "(I)V", NULL
},
{
"onContactStarted", "(Lcom/badlogic/gdx/physics/bullet/collision/btPersistentManifold;)V", NULL
},
{
"onContactStarted", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;)V", NULL
},
{
"onContactStarted", "(II)V", NULL
},
{
"onContactStarted", "(Lcom/badlogic/gdx/physics/bullet/collision/btPersistentManifold;ZZ)V", NULL
},
{
"onContactStarted", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;ZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Z)V", NULL
},
{
"onContactStarted", "(IZIZ)V", NULL
},
{
"onContactEnded", "(Lcom/badlogic/gdx/physics/bullet/collision/btPersistentManifold;)V", NULL
},
{
"onContactEnded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;)V", NULL
},
{
"onContactEnded", "(II)V", NULL
},
{
"onContactEnded", "(Lcom/badlogic/gdx/physics/bullet/collision/btPersistentManifold;ZZ)V", NULL
},
{
"onContactEnded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;ZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Z)V", NULL
},
{
"onContactEnded", "(IZIZ)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ContactListener");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 33; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
SwigDirector_ContactCache::SwigDirector_ContactCache(JNIEnv *jenv, bool dummy) : ContactCache(dummy), Swig::Director(jenv) {
}
SwigDirector_ContactCache::~SwigDirector_ContactCache() {
swig_disconnect_director_self("swigDirectorDisconnect");
}
void SwigDirector_ContactCache::onContactStarted(btPersistentManifold *manifold, bool const &match0, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jmanifold = 0 ;
jboolean jmatch0 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[0]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactCache::onContactStarted.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btPersistentManifold **)&jmanifold) = (btPersistentManifold *) manifold;
jmatch0 = (jboolean)match0;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[66], swigjobj, jmanifold, jmatch0, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactCache::onContactStarted ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactCache::onContactEnded(btCollisionObject const *colObj0, bool const &match0, btCollisionObject const *colObj1, bool const &match1) {
JNIEnvWrapper swigjnienv(this) ;
JNIEnv * jenv = swigjnienv.getJNIEnv() ;
jobject swigjobj = (jobject) NULL ;
jlong jcolObj0 = 0 ;
jboolean jmatch0 = 0 ;
jlong jcolObj1 = 0 ;
jboolean jmatch1 = 0 ;
if (!swig_override[1]) {
SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method ContactCache::onContactEnded.");
return;
}
swigjobj = swig_get_self(jenv);
if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
*((btCollisionObject **)&jcolObj0) = (btCollisionObject *) colObj0;
jmatch0 = (jboolean)match0;
*((btCollisionObject **)&jcolObj1) = (btCollisionObject *) colObj1;
jmatch1 = (jboolean)match1;
jenv->CallStaticVoidMethod(Swig::jclass_CollisionJNI, Swig::director_method_ids[67], swigjobj, jcolObj0, jmatch0, jcolObj1, jmatch1);
jthrowable swigerror = jenv->ExceptionOccurred();
if (swigerror) {
jenv->ExceptionClear();
throw Swig::DirectorException(jenv, swigerror);
}
} else {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in ContactCache::onContactEnded ");
}
if (swigjobj) jenv->DeleteLocalRef(swigjobj);
}
void SwigDirector_ContactCache::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
static struct {
const char *mname;
const char *mdesc;
jmethodID base_methid;
} methods[] = {
{
"onContactStarted", "(Lcom/badlogic/gdx/physics/bullet/collision/btPersistentManifold;ZZ)V", NULL
},
{
"onContactEnded", "(Lcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;ZLcom/badlogic/gdx/physics/bullet/collision/btCollisionObject;Z)V", NULL
}
};
static jclass baseclass = 0 ;
if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
if (!baseclass) {
baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/collision/ContactCache");
if (!baseclass) return;
baseclass = (jclass) jenv->NewGlobalRef(baseclass);
}
bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
for (int i = 0; i < 2; ++i) {
if (!methods[i].base_methid) {
methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
if (!methods[i].base_methid) return;
}
swig_override[i] = false;
if (derived) {
jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
swig_override[i] = (methid != methods[i].base_methid);
jenv->ExceptionClear();
}
}
}
}
#ifdef __cplusplus
extern "C" {
#endif
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDiscreteCollisionDetectorInterface_1Result(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteCollisionDetectorInterface::Result *arg1 = (btDiscreteCollisionDetectorInterface::Result *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1Result_1setShapeIdentifiersA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btDiscreteCollisionDetectorInterface::Result *arg1 = (btDiscreteCollisionDetectorInterface::Result *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->setShapeIdentifiersA(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1Result_1setShapeIdentifiersB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btDiscreteCollisionDetectorInterface::Result *arg1 = (btDiscreteCollisionDetectorInterface::Result *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->setShapeIdentifiersB(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1Result_1addContactPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btDiscreteCollisionDetectorInterface::Result *arg1 = (btDiscreteCollisionDetectorInterface::Result *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->addContactPoint((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDiscreteCollisionDetectorInterface_1ClosestPointInput(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDiscreteCollisionDetectorInterface::ClosestPointInput *)new btDiscreteCollisionDetectorInterface::ClosestPointInput();
*(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1ClosestPointInput_1transformA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_transformA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1ClosestPointInput_1transformA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
result = (btTransform *)& ((arg1)->m_transformA);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1ClosestPointInput_1transformB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_transformB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1ClosestPointInput_1transformB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
result = (btTransform *)& ((arg1)->m_transformB);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1ClosestPointInput_1maximumDistanceSquared_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maximumDistanceSquared = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1ClosestPointInput_1maximumDistanceSquared_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
result = (btScalar) ((arg1)->m_maximumDistanceSquared);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDiscreteCollisionDetectorInterface_1ClosestPointInput(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg1 = (btDiscreteCollisionDetectorInterface::ClosestPointInput *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDiscreteCollisionDetectorInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDiscreteCollisionDetectorInterface *arg1 = (btDiscreteCollisionDetectorInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDiscreteCollisionDetectorInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1getClosestPoints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5) {
btDiscreteCollisionDetectorInterface *arg1 = (btDiscreteCollisionDetectorInterface *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDiscreteCollisionDetectorInterface **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
arg5 = jarg5 ? true : false;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDiscreteCollisionDetectorInterface_1getClosestPoints_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btDiscreteCollisionDetectorInterface *arg1 = (btDiscreteCollisionDetectorInterface *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDiscreteCollisionDetectorInterface **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1normalOnSurfaceB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStorageResult *arg1 = (btStorageResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStorageResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normalOnSurfaceB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1normalOnSurfaceB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStorageResult *arg1 = (btStorageResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStorageResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normalOnSurfaceB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1closestPointInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStorageResult *arg1 = (btStorageResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStorageResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_closestPointInB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1closestPointInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStorageResult *arg1 = (btStorageResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStorageResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_closestPointInB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1distance_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btStorageResult *arg1 = (btStorageResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStorageResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distance = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1distance_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btStorageResult *arg1 = (btStorageResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStorageResult **)&jarg1;
result = (btScalar) ((arg1)->m_distance);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btStorageResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btStorageResult *arg1 = (btStorageResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btStorageResult **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1clientObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_clientObject = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1clientObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (void *) ((arg1)->m_clientObject);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1collisionFilterGroup_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterGroup = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1collisionFilterGroup_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (int) ((arg1)->m_collisionFilterGroup);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1collisionFilterMask_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterMask = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1collisionFilterMask_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (int) ((arg1)->m_collisionFilterMask);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1uniqueId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_uniqueId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1uniqueId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (int) ((arg1)->m_uniqueId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1aabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_aabbMin = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1aabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (btVector3 *)& ((arg1)->m_aabbMin);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1aabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseProxy **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_aabbMax = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1aabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (btVector3 *)& ((arg1)->m_aabbMax);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1getUid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseProxy **)&jarg1;
result = (int)((btBroadphaseProxy const *)arg1)->getUid();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphaseProxy_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBroadphaseProxy *)new btBroadphaseProxy();
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphaseProxy_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jint jarg4, jint jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
void *arg3 = (void *) 0 ;
int arg4 ;
int arg5 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (void *)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (btBroadphaseProxy *)new btBroadphaseProxy((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isPolyhedral(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isPolyhedral(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isConvex(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isConvex(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isNonMoving(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isNonMoving(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isConcave(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isConcave(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isCompound(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isCompound(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isSoftBody(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isSoftBody(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isInfinite(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isInfinite(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseProxy_1isConvex2d(JNIEnv *jenv, jclass jcls, jint jarg1) {
jboolean jresult = 0 ;
int arg1 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (bool)btBroadphaseProxy::isConvex2d(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBroadphaseProxy *arg1 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphaseProxy **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphasePair_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBroadphasePair *)new btBroadphasePair();
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphasePair_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphasePair **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair const & reference is null");
return 0;
}
result = (btBroadphasePair *)new btBroadphasePair((btBroadphasePair const &)*arg1);
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphasePair_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btBroadphaseProxy *arg1 = 0 ;
btBroadphaseProxy *arg2 = 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphaseProxy **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseProxy & reference is null");
return 0;
}
arg2 = *(btBroadphaseProxy **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseProxy & reference is null");
return 0;
}
result = (btBroadphasePair *)new btBroadphasePair(*arg1,*arg2);
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1pProxy0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
if (arg1) (arg1)->m_pProxy0 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1pProxy0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
result = (btBroadphaseProxy *) ((arg1)->m_pProxy0);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1pProxy1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
if (arg1) (arg1)->m_pProxy1 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1pProxy1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
result = (btBroadphaseProxy *) ((arg1)->m_pProxy1);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1algorithm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
btCollisionAlgorithm *arg2 = (btCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = *(btCollisionAlgorithm **)&jarg2;
if (arg1) (arg1)->m_algorithm = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1algorithm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
btCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
result = (btCollisionAlgorithm *) ((arg1)->m_algorithm);
*(btCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1internalInfo1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_internalInfo1 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1internalInfo1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
result = (void *) ((arg1)->m_internalInfo1);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1internalTmpValue_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_internalTmpValue = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePair_1internalTmpValue_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePair **)&jarg1;
result = (int) ((arg1)->m_internalTmpValue);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphasePair(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBroadphasePair *arg1 = (btBroadphasePair *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphasePair **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePairSortPredicate_1operatorFunctionCall(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jboolean jresult = 0 ;
btBroadphasePairSortPredicate *arg1 = (btBroadphasePairSortPredicate *) 0 ;
btBroadphasePair *arg2 = 0 ;
btBroadphasePair *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphasePairSortPredicate **)&jarg1;
arg2 = *(btBroadphasePair **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair const & reference is null");
return 0;
}
arg3 = *(btBroadphasePair **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair const & reference is null");
return 0;
}
result = (bool)((btBroadphasePairSortPredicate const *)arg1)->operator ()((btBroadphasePair const &)*arg2,(btBroadphasePair const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphasePairSortPredicate(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBroadphasePairSortPredicate *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBroadphasePairSortPredicate *)new btBroadphasePairSortPredicate();
*(btBroadphasePairSortPredicate **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphasePairSortPredicate(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBroadphasePairSortPredicate *arg1 = (btBroadphasePairSortPredicate *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphasePairSortPredicate **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_operatorEqualTo_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btBroadphasePair *arg1 = 0 ;
btBroadphasePair *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphasePair **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair const & reference is null");
return 0;
}
arg2 = *(btBroadphasePair **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair const & reference is null");
return 0;
}
result = (bool)operator ==((btBroadphasePair const &)*arg1,(btBroadphasePair const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphaseAabbCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBroadphaseAabbCallback *arg1 = (btBroadphaseAabbCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphaseAabbCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseAabbCallback_1process(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btBroadphaseAabbCallback *arg1 = (btBroadphaseAabbCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseAabbCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)(arg1)->process((btBroadphaseProxy const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphaseAabbCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBroadphaseAabbCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBroadphaseAabbCallback *)new SwigDirector_btBroadphaseAabbCallback(jenv);
*(btBroadphaseAabbCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseAabbCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btBroadphaseAabbCallback *obj = *((btBroadphaseAabbCallback **)&objarg);
(void)jcls;
SwigDirector_btBroadphaseAabbCallback *director = (SwigDirector_btBroadphaseAabbCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseAabbCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btBroadphaseAabbCallback *obj = *((btBroadphaseAabbCallback **)&objarg);
SwigDirector_btBroadphaseAabbCallback *director = (SwigDirector_btBroadphaseAabbCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1rayDirectionInverse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_rayDirectionInverse = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1rayDirectionInverse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_rayDirectionInverse);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1signs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlongArray jarg2) {
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
unsigned int *arg2 ;
jlong *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUint(jenv, &jarr2, (unsigned int **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned int *b = (unsigned int *) arg1->m_signs;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned int *) arg2 + ii);
}
SWIG_JavaArrayArgoutUint(jenv, jarr2, (unsigned int *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jlongArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1signs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlongArray jresult = 0 ;
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
unsigned int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
result = (unsigned int *)(unsigned int *) ((arg1)->m_signs);
jresult = SWIG_JavaArrayOutUint(jenv, (unsigned int *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1lambda_1max_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_lambda_max = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1lambda_1max_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
result = (btScalar) ((arg1)->m_lambda_max);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphaseRayCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBroadphaseRayCallback *arg1 = (btBroadphaseRayCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphaseRayCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphaseRayCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBroadphaseRayCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBroadphaseRayCallback *)new SwigDirector_btBroadphaseRayCallback(jenv);
*(btBroadphaseRayCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btBroadphaseRayCallback *obj = *((btBroadphaseRayCallback **)&objarg);
(void)jcls;
SwigDirector_btBroadphaseRayCallback *director = (SwigDirector_btBroadphaseRayCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btBroadphaseRayCallback *obj = *((btBroadphaseRayCallback **)&objarg);
SwigDirector_btBroadphaseRayCallback *director = (SwigDirector_btBroadphaseRayCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphaseInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBroadphaseInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1createProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4, jlong jarg5, jint jarg6, jint jarg7, jlong jarg8, jobject jarg8_) {
jlong jresult = 0 ;
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
int arg4 ;
void *arg5 = (void *) 0 ;
int arg6 ;
int arg7 ;
btDispatcher *arg8 = (btDispatcher *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg8_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
arg5 = (void *)jarg5;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
arg8 = *(btDispatcher **)&jarg8;
result = (btBroadphaseProxy *)(arg1)->createProxy((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4,arg5,arg6,arg7,arg8);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1destroyProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btBroadphaseInterface **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->destroyProxy(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1setAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btDispatcher *arg5 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btBroadphaseInterface **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btDispatcher **)&jarg5;
(arg1)->setAabb(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1getAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseInterface **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btBroadphaseInterface const *)arg1)->getAabb(arg2,*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1rayTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jobject jarg6) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1rayTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1rayTest_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1aabbTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseAabbCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseAabbCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseAabbCallback & reference is null");
return ;
}
(arg1)->aabbTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1calculateOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseInterface **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
(arg1)->calculateOverlappingPairs(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1getOverlappingPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseInterface **)&jarg1;
result = (btOverlappingPairCache *)(arg1)->getOverlappingPairCache();
*(btOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1getOverlappingPairCacheConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseInterface **)&jarg1;
result = (btOverlappingPairCache *)((btBroadphaseInterface const *)arg1)->getOverlappingPairCache();
*(btOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1getBroadphaseAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btBroadphaseInterface const *)arg1)->getBroadphaseAabb(*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1resetPool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBroadphaseInterface **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
(arg1)->resetPool(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseInterface_1printStats(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseInterface **)&jarg1;
(arg1)->printStats();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1quantizedAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMin;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1quantizedAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMin);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1quantizedAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMax;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1quantizedAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMax);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1escapeIndexOrTriangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_escapeIndexOrTriangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1escapeIndexOrTriangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (int) ((arg1)->m_escapeIndexOrTriangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (bool)((btQuantizedBvhNode const *)arg1)->isLeafNode();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1getEscapeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (int)((btQuantizedBvhNode const *)arg1)->getEscapeIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1getTriangleIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (int)((btQuantizedBvhNode const *)arg1)->getTriangleIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNode_1getPartId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNode **)&jarg1;
result = (int)((btQuantizedBvhNode const *)arg1)->getPartId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btQuantizedBvhNode(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btQuantizedBvhNode *result = 0 ;
(void)jenv;
(void)jcls;
result = (btQuantizedBvhNode *)new btQuantizedBvhNode();
*(btQuantizedBvhNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btQuantizedBvhNode(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btQuantizedBvhNode *arg1 = (btQuantizedBvhNode *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btQuantizedBvhNode **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1aabbMinOrg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_aabbMinOrg = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1aabbMinOrg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
result = (btVector3 *)& ((arg1)->m_aabbMinOrg);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1aabbMaxOrg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_aabbMaxOrg = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1aabbMaxOrg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
result = (btVector3 *)& ((arg1)->m_aabbMaxOrg);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1escapeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_escapeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1escapeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
result = (int) ((arg1)->m_escapeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1subPart_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_subPart = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1subPart_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
result = (int) ((arg1)->m_subPart);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1triangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1triangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
result = (int) ((arg1)->m_triangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 20-1);
arg1->m_padding[20-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNode_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNode **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btOptimizedBvhNode(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btOptimizedBvhNode *result = 0 ;
(void)jenv;
(void)jcls;
result = (btOptimizedBvhNode *)new btOptimizedBvhNode();
*(btOptimizedBvhNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOptimizedBvhNode(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOptimizedBvhNode *arg1 = (btOptimizedBvhNode *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOptimizedBvhNode **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1quantizedAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMin;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1quantizedAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMin);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1quantizedAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMax;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1quantizedAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMax);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1rootNodeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_rootNodeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1rootNodeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
result = (int) ((arg1)->m_rootNodeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1subtreeSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_subtreeSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1subtreeSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
result = (int) ((arg1)->m_subtreeSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
int *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInInt(jenv, &jarr2, (int **)&arg2, jarg2)) return ;
{
size_t ii;
int *b = (int *) arg1->m_padding;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii);
}
SWIG_JavaArrayArgoutInt(jenv, jarr2, (int *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
result = (int *)(int *) ((arg1)->m_padding);
jresult = SWIG_JavaArrayOutInt(jenv, (int *)result, 3);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhSubtreeInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBvhSubtreeInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBvhSubtreeInfo *)new btBvhSubtreeInfo();
*(btBvhSubtreeInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfo_1setAabbFromQuantizeNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
btQuantizedBvhNode *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
arg2 = *(btQuantizedBvhNode **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btQuantizedBvhNode const & reference is null");
return ;
}
(arg1)->setAabbFromQuantizeNode((btQuantizedBvhNode const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBvhSubtreeInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBvhSubtreeInfo *arg1 = (btBvhSubtreeInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBvhSubtreeInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btNodeOverlapCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btNodeOverlapCallback *arg1 = (btNodeOverlapCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btNodeOverlapCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btNodeOverlapCallback_1processNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btNodeOverlapCallback *arg1 = (btNodeOverlapCallback *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btNodeOverlapCallback **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->processNode(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btNodeOverlapCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btNodeOverlapCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btNodeOverlapCallback *)new SwigDirector_btNodeOverlapCallback(jenv);
*(btNodeOverlapCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btNodeOverlapCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btNodeOverlapCallback *obj = *((btNodeOverlapCallback **)&objarg);
(void)jcls;
SwigDirector_btNodeOverlapCallback *director = (SwigDirector_btNodeOverlapCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btNodeOverlapCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btNodeOverlapCallback *obj = *((btNodeOverlapCallback **)&objarg);
SwigDirector_btNodeOverlapCallback *director = (SwigDirector_btNodeOverlapCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btQuantizedBvh(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btQuantizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
result = (btQuantizedBvh *)new btQuantizedBvh();
*(btQuantizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btQuantizedBvh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btQuantizedBvh **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1setQuantizationValues_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
(arg1)->setQuantizationValues((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1setQuantizationValues_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setQuantizationValues((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1getLeafNodeArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
QuantizedNodeArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
result = (QuantizedNodeArray *) &(arg1)->getLeafNodeArray();
*(QuantizedNodeArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1buildInternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
(arg1)->buildInternal();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1reportAabbOverlappingNodex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btNodeOverlapCallback *arg2 = (btNodeOverlapCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = *(btNodeOverlapCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btQuantizedBvh const *)arg1)->reportAabbOverlappingNodex(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1reportRayOverlappingNodex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btNodeOverlapCallback *arg2 = (btNodeOverlapCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = *(btNodeOverlapCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btQuantizedBvh const *)arg1)->reportRayOverlappingNodex(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1reportBoxCastOverlappingNodex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btNodeOverlapCallback *arg2 = (btNodeOverlapCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = *(btNodeOverlapCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
((btQuantizedBvh const *)arg1)->reportBoxCastOverlappingNodex(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1quantize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
btVector3 *arg3 = 0 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
{
arg2 = (unsigned short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
((btQuantizedBvh const *)arg1)->quantize(arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1quantizeWithClamp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
btVector3 *arg3 = 0 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
{
arg2 = (unsigned short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
((btQuantizedBvh const *)arg1)->quantizeWithClamp(arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1unQuantize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
{
arg2 = (unsigned short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
result = ((btQuantizedBvh const *)arg1)->unQuantize((unsigned short const *)arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1setTraversalMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btQuantizedBvh::btTraversalMode arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (btQuantizedBvh::btTraversalMode)jarg2;
(arg1)->setTraversalMode(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1getQuantizedNodeArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
QuantizedNodeArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
result = (QuantizedNodeArray *) &(arg1)->getQuantizedNodeArray();
*(QuantizedNodeArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1getSubtreeInfoArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
BvhSubtreeInfoArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
result = (BvhSubtreeInfoArray *) &(arg1)->getSubtreeInfoArray();
*(BvhSubtreeInfoArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
result = (unsigned int)((btQuantizedBvh const *)arg1)->calculateSerializeBufferSize();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1serialize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jboolean jarg4) {
jboolean jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
unsigned int arg3 ;
bool arg4 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (unsigned int)jarg3;
arg4 = jarg4 ? true : false;
result = (bool)((btQuantizedBvh const *)arg1)->serialize(arg2,arg3,arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1deSerializeInPlace(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jboolean jarg3) {
jlong jresult = 0 ;
void *arg1 = (void *) 0 ;
unsigned int arg2 ;
bool arg3 ;
btQuantizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
arg2 = (unsigned int)jarg2;
arg3 = jarg3 ? true : false;
result = (btQuantizedBvh *)btQuantizedBvh::deSerializeInPlace(arg1,arg2,arg3);
*(btQuantizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1getAlignmentSerializationPadding(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
result = (unsigned int)btQuantizedBvh::getAlignmentSerializationPadding();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1calculateSerializeBufferSizeNew(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
result = (int)((btQuantizedBvh const *)arg1)->calculateSerializeBufferSizeNew();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1serialize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btQuantizedBvh const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1deSerializeFloat(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btQuantizedBvhFloatData *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = *(btQuantizedBvhFloatData **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btQuantizedBvhFloatData & reference is null");
return ;
}
(arg1)->deSerializeFloat(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1deSerializeDouble(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
btQuantizedBvhDoubleData *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvh **)&jarg1;
arg2 = *(btQuantizedBvhDoubleData **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btQuantizedBvhDoubleData & reference is null");
return ;
}
(arg1)->deSerializeDouble(*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvh_1isQuantized(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btQuantizedBvh *arg1 = (btQuantizedBvh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvh **)&jarg1;
result = (bool)(arg1)->isQuantized();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1rootNodeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_rootNodeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1rootNodeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
result = (int) ((arg1)->m_rootNodeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1subtreeSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_subtreeSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1subtreeSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
result = (int) ((arg1)->m_subtreeSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1quantizedAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMin;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1quantizedAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMin);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1quantizedAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMax;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhSubtreeInfoData_1quantizedAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMax);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhSubtreeInfoData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBvhSubtreeInfoData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBvhSubtreeInfoData *)new btBvhSubtreeInfoData();
*(btBvhSubtreeInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBvhSubtreeInfoData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBvhSubtreeInfoData *arg1 = (btBvhSubtreeInfoData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBvhSubtreeInfoData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1aabbMinOrg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_aabbMinOrg = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1aabbMinOrg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_aabbMinOrg);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1aabbMaxOrg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_aabbMaxOrg = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1aabbMaxOrg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_aabbMaxOrg);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1escapeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_escapeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1escapeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
result = (int) ((arg1)->m_escapeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1subPart_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_subPart = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1subPart_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
result = (int) ((arg1)->m_subPart);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1triangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1triangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
result = (int) ((arg1)->m_triangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 4-1);
arg1->m_pad[4-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeFloatData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btOptimizedBvhNodeFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btOptimizedBvhNodeFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btOptimizedBvhNodeFloatData *)new btOptimizedBvhNodeFloatData();
*(btOptimizedBvhNodeFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOptimizedBvhNodeFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOptimizedBvhNodeFloatData *arg1 = (btOptimizedBvhNodeFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOptimizedBvhNodeFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1aabbMinOrg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_aabbMinOrg = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1aabbMinOrg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_aabbMinOrg);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1aabbMaxOrg_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_aabbMaxOrg = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1aabbMaxOrg_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_aabbMaxOrg);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1escapeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_escapeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1escapeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
result = (int) ((arg1)->m_escapeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1subPart_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_subPart = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1subPart_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
result = (int) ((arg1)->m_subPart);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1triangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1triangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
result = (int) ((arg1)->m_triangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 4-1);
arg1->m_pad[4-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvhNodeDoubleData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btOptimizedBvhNodeDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btOptimizedBvhNodeDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btOptimizedBvhNodeDoubleData *)new btOptimizedBvhNodeDoubleData();
*(btOptimizedBvhNodeDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOptimizedBvhNodeDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOptimizedBvhNodeDoubleData *arg1 = (btOptimizedBvhNodeDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOptimizedBvhNodeDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNodeData_1quantizedAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMin;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNodeData_1quantizedAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMin);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNodeData_1quantizedAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMax;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNodeData_1quantizedAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMax);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNodeData_1escapeIndexOrTriangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_escapeIndexOrTriangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhNodeData_1escapeIndexOrTriangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
result = (int) ((arg1)->m_escapeIndexOrTriangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btQuantizedBvhNodeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btQuantizedBvhNodeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btQuantizedBvhNodeData *)new btQuantizedBvhNodeData();
*(btQuantizedBvhNodeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btQuantizedBvhNodeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btQuantizedBvhNodeData *arg1 = (btQuantizedBvhNodeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btQuantizedBvhNodeData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1bvhAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_bvhAabbMin = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1bvhAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_bvhAabbMin);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1bvhAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_bvhAabbMax = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1bvhAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_bvhAabbMax);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1bvhQuantization_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_bvhQuantization = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1bvhQuantization_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_bvhQuantization);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1curNodeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_curNodeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1curNodeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (int) ((arg1)->m_curNodeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1useQuantization_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useQuantization = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1useQuantization_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (int) ((arg1)->m_useQuantization);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1numContiguousLeafNodes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numContiguousLeafNodes = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1numContiguousLeafNodes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (int) ((arg1)->m_numContiguousLeafNodes);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1numQuantizedContiguousNodes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numQuantizedContiguousNodes = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1numQuantizedContiguousNodes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (int) ((arg1)->m_numQuantizedContiguousNodes);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1contiguousNodesPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btOptimizedBvhNodeFloatData *arg2 = (btOptimizedBvhNodeFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = *(btOptimizedBvhNodeFloatData **)&jarg2;
if (arg1) (arg1)->m_contiguousNodesPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1contiguousNodesPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btOptimizedBvhNodeFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (btOptimizedBvhNodeFloatData *) ((arg1)->m_contiguousNodesPtr);
*(btOptimizedBvhNodeFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1quantizedContiguousNodesPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btQuantizedBvhNodeData *arg2 = (btQuantizedBvhNodeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = *(btQuantizedBvhNodeData **)&jarg2;
if (arg1) (arg1)->m_quantizedContiguousNodesPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1quantizedContiguousNodesPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btQuantizedBvhNodeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (btQuantizedBvhNodeData *) ((arg1)->m_quantizedContiguousNodesPtr);
*(btQuantizedBvhNodeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1subTreeInfoPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btBvhSubtreeInfoData *arg2 = (btBvhSubtreeInfoData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = *(btBvhSubtreeInfoData **)&jarg2;
if (arg1) (arg1)->m_subTreeInfoPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1subTreeInfoPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
btBvhSubtreeInfoData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (btBvhSubtreeInfoData *) ((arg1)->m_subTreeInfoPtr);
*(btBvhSubtreeInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1traversalMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_traversalMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1traversalMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (int) ((arg1)->m_traversalMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1numSubtreeHeaders_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numSubtreeHeaders = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhFloatData_1numSubtreeHeaders_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
result = (int) ((arg1)->m_numSubtreeHeaders);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btQuantizedBvhFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btQuantizedBvhFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btQuantizedBvhFloatData *)new btQuantizedBvhFloatData();
*(btQuantizedBvhFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btQuantizedBvhFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btQuantizedBvhFloatData *arg1 = (btQuantizedBvhFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btQuantizedBvhFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1bvhAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_bvhAabbMin = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1bvhAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_bvhAabbMin);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1bvhAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_bvhAabbMax = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1bvhAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_bvhAabbMax);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1bvhQuantization_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_bvhQuantization = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1bvhQuantization_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_bvhQuantization);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1curNodeIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_curNodeIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1curNodeIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (int) ((arg1)->m_curNodeIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1useQuantization_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useQuantization = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1useQuantization_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (int) ((arg1)->m_useQuantization);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1numContiguousLeafNodes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numContiguousLeafNodes = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1numContiguousLeafNodes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (int) ((arg1)->m_numContiguousLeafNodes);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1numQuantizedContiguousNodes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numQuantizedContiguousNodes = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1numQuantizedContiguousNodes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (int) ((arg1)->m_numQuantizedContiguousNodes);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1contiguousNodesPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btOptimizedBvhNodeDoubleData *arg2 = (btOptimizedBvhNodeDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = *(btOptimizedBvhNodeDoubleData **)&jarg2;
if (arg1) (arg1)->m_contiguousNodesPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1contiguousNodesPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btOptimizedBvhNodeDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (btOptimizedBvhNodeDoubleData *) ((arg1)->m_contiguousNodesPtr);
*(btOptimizedBvhNodeDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1quantizedContiguousNodesPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btQuantizedBvhNodeData *arg2 = (btQuantizedBvhNodeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = *(btQuantizedBvhNodeData **)&jarg2;
if (arg1) (arg1)->m_quantizedContiguousNodesPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1quantizedContiguousNodesPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btQuantizedBvhNodeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (btQuantizedBvhNodeData *) ((arg1)->m_quantizedContiguousNodesPtr);
*(btQuantizedBvhNodeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1traversalMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_traversalMode = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1traversalMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (int) ((arg1)->m_traversalMode);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1numSubtreeHeaders_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numSubtreeHeaders = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1numSubtreeHeaders_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (int) ((arg1)->m_numSubtreeHeaders);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1subTreeInfoPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btBvhSubtreeInfoData *arg2 = (btBvhSubtreeInfoData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
arg2 = *(btBvhSubtreeInfoData **)&jarg2;
if (arg1) (arg1)->m_subTreeInfoPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhDoubleData_1subTreeInfoPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
btBvhSubtreeInfoData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
result = (btBvhSubtreeInfoData *) ((arg1)->m_subTreeInfoPtr);
*(btBvhSubtreeInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btQuantizedBvhDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btQuantizedBvhDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btQuantizedBvhDoubleData *)new btQuantizedBvhDoubleData();
*(btQuantizedBvhDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btQuantizedBvhDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btQuantizedBvhDoubleData *arg1 = (btQuantizedBvhDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btQuantizedBvhDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphaseProxy_1nextFree_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimpleBroadphaseProxy *arg1 = (btSimpleBroadphaseProxy *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleBroadphaseProxy **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_nextFree = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphaseProxy_1nextFree_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimpleBroadphaseProxy *arg1 = (btSimpleBroadphaseProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleBroadphaseProxy **)&jarg1;
result = (int) ((arg1)->m_nextFree);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimpleBroadphaseProxy_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimpleBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimpleBroadphaseProxy *)new btSimpleBroadphaseProxy();
*(btSimpleBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimpleBroadphaseProxy_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jlong jarg4, jint jarg5, jint jarg6) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
int arg3 ;
void *arg4 = (void *) 0 ;
int arg5 ;
int arg6 ;
btSimpleBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (int)jarg3;
arg4 = (void *)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
result = (btSimpleBroadphaseProxy *)new btSimpleBroadphaseProxy((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5,arg6);
*(btSimpleBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphaseProxy_1SetNextFree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimpleBroadphaseProxy *arg1 = (btSimpleBroadphaseProxy *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleBroadphaseProxy **)&jarg1;
arg2 = (int)jarg2;
(arg1)->SetNextFree(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphaseProxy_1GetNextFree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimpleBroadphaseProxy *arg1 = (btSimpleBroadphaseProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimpleBroadphaseProxy **)&jarg1;
result = (int)((btSimpleBroadphaseProxy const *)arg1)->GetNextFree();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSimpleBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimpleBroadphaseProxy *arg1 = (btSimpleBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimpleBroadphaseProxy **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimpleBroadphase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
int arg1 ;
btOverlappingPairCache *arg2 = (btOverlappingPairCache *) 0 ;
btSimpleBroadphase *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = (int)jarg1;
arg2 = *(btOverlappingPairCache **)&jarg2;
result = (btSimpleBroadphase *)new btSimpleBroadphase(arg1,arg2);
*(btSimpleBroadphase **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimpleBroadphase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1) {
jlong jresult = 0 ;
int arg1 ;
btSimpleBroadphase *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
result = (btSimpleBroadphase *)new btSimpleBroadphase(arg1);
*(btSimpleBroadphase **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimpleBroadphase_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimpleBroadphase *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimpleBroadphase *)new btSimpleBroadphase();
*(btSimpleBroadphase **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSimpleBroadphase(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimpleBroadphase *arg1 = (btSimpleBroadphase *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimpleBroadphase **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphase_1aabbOverlap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btSimpleBroadphaseProxy *arg1 = (btSimpleBroadphaseProxy *) 0 ;
btSimpleBroadphaseProxy *arg2 = (btSimpleBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimpleBroadphaseProxy **)&jarg1;
arg2 = *(btSimpleBroadphaseProxy **)&jarg2;
result = (bool)btSimpleBroadphase::aabbOverlap(arg1,arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphase_1rayTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jobject jarg6) {
btSimpleBroadphase *arg1 = (btSimpleBroadphase *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btSimpleBroadphase **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphase_1rayTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5) {
btSimpleBroadphase *arg1 = (btSimpleBroadphase *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btSimpleBroadphase **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphase_1rayTest_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btSimpleBroadphase *arg1 = (btSimpleBroadphase *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btSimpleBroadphase **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphase_1testAabbOverlap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btSimpleBroadphase *arg1 = (btSimpleBroadphase *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSimpleBroadphase **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (bool)(arg1)->testAabbOverlap(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionAlgorithmConstructionInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionAlgorithmConstructionInfo *)new btCollisionAlgorithmConstructionInfo();
*(btCollisionAlgorithmConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionAlgorithmConstructionInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
int arg2 ;
btCollisionAlgorithmConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionAlgorithmConstructionInfo *)new btCollisionAlgorithmConstructionInfo(arg1,arg2);
*(btCollisionAlgorithmConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmConstructionInfo_1dispatcher1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionAlgorithmConstructionInfo *arg1 = (btCollisionAlgorithmConstructionInfo *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
if (arg1) (arg1)->m_dispatcher1 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmConstructionInfo_1dispatcher1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = (btCollisionAlgorithmConstructionInfo *) 0 ;
btDispatcher *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
result = (btDispatcher *) ((arg1)->m_dispatcher1);
*(btDispatcher **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmConstructionInfo_1manifold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionAlgorithmConstructionInfo *arg1 = (btCollisionAlgorithmConstructionInfo *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
if (arg1) (arg1)->m_manifold = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmConstructionInfo_1manifold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = (btCollisionAlgorithmConstructionInfo *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
result = (btPersistentManifold *) ((arg1)->m_manifold);
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionAlgorithmConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionAlgorithmConstructionInfo *arg1 = (btCollisionAlgorithmConstructionInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionAlgorithm *arg1 = (btCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithm_1processCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
btCollisionAlgorithm *arg1 = (btCollisionAlgorithm *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btDispatcherInfo *arg4 = 0 ;
btManifoldResult *arg5 = (btManifoldResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btDispatcherInfo **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDispatcherInfo const & reference is null");
return ;
}
arg5 = *(btManifoldResult **)&jarg5;
(arg1)->processCollision((btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,(btDispatcherInfo const &)*arg4,arg5);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithm_1calculateTimeOfImpact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
jfloat jresult = 0 ;
btCollisionAlgorithm *arg1 = (btCollisionAlgorithm *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btDispatcherInfo *arg4 = 0 ;
btManifoldResult *arg5 = (btManifoldResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
arg4 = *(btDispatcherInfo **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDispatcherInfo const & reference is null");
return 0;
}
arg5 = *(btManifoldResult **)&jarg5;
result = (btScalar)(arg1)->calculateTimeOfImpact(arg2,arg3,(btDispatcherInfo const &)*arg4,arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithm_1getAllContactManifolds(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionAlgorithm *arg1 = (btCollisionAlgorithm *) 0 ;
btManifoldArray *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionAlgorithm **)&jarg1;
arg2 = *(btManifoldArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldArray & reference is null");
return ;
}
(arg1)->getAllContactManifolds(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOverlappingPairCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOverlappingPairCallback *arg1 = (btOverlappingPairCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOverlappingPairCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCallback_1addOverlappingPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btOverlappingPairCallback *arg1 = (btOverlappingPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btOverlappingPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (btBroadphasePair *)(arg1)->addOverlappingPair(arg2,arg3);
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCallback_1removeOverlappingPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btOverlappingPairCallback *arg1 = (btOverlappingPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg4 = (btDispatcher *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btOverlappingPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
arg4 = *(btDispatcher **)&jarg4;
result = (void *)(arg1)->removeOverlappingPair(arg2,arg3,arg4);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCallback_1removeOverlappingPairsContainingProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btOverlappingPairCallback *arg1 = (btOverlappingPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btOverlappingPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->removeOverlappingPairsContainingProxy(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gOverlappingPairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gOverlappingPairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gOverlappingPairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gOverlappingPairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Edge_1pos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAxisSweep3Internal< unsigned short >::Edge *arg1 = (btAxisSweep3Internal< unsigned short >::Edge *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Edge **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->m_pos = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Edge_1pos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Edge *arg1 = (btAxisSweep3Internal< unsigned short >::Edge *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Edge **)&jarg1;
result = (unsigned short) ((arg1)->m_pos);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Edge_1handle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAxisSweep3Internal< unsigned short >::Edge *arg1 = (btAxisSweep3Internal< unsigned short >::Edge *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Edge **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->m_handle = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Edge_1handle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Edge *arg1 = (btAxisSweep3Internal< unsigned short >::Edge *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Edge **)&jarg1;
result = (unsigned short) ((arg1)->m_handle);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Edge_1IsMax(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Edge *arg1 = (btAxisSweep3Internal< unsigned short >::Edge *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Edge **)&jarg1;
result = (unsigned short)((btAxisSweep3Internal< unsigned short >::Edge const *)arg1)->IsMax();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalShort_1Edge(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Edge *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAxisSweep3Internal< unsigned short >::Edge *)new btAxisSweep3Internal< unsigned short >::Edge();
*(btAxisSweep3Internal< unsigned short >::Edge **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3InternalShort_1Edge(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3Internal< unsigned short >::Edge *arg1 = (btAxisSweep3Internal< unsigned short >::Edge *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3Internal< unsigned short >::Edge **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1minEdges_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_minEdges;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1minEdges_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_minEdges);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1maxEdges_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
unsigned short *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUshort(jenv, &jarr2, (unsigned short **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_maxEdges;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
SWIG_JavaArrayArgoutUshort(jenv, jarr2, (unsigned short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1maxEdges_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_maxEdges);
jresult = SWIG_JavaArrayOutUshort(jenv, (unsigned short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1dbvtProxy_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
if (arg1) (arg1)->m_dbvtProxy = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1dbvtProxy_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
result = (btBroadphaseProxy *) ((arg1)->m_dbvtProxy);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1SetNextFree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
arg2 = (unsigned short)jarg2;
(arg1)->SetNextFree(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1GetNextFree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
result = (unsigned short)((btAxisSweep3Internal< unsigned short >::Handle const *)arg1)->GetNextFree();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalShort_1Handle(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short >::Handle *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAxisSweep3Internal< unsigned short >::Handle *)new btAxisSweep3Internal< unsigned short >::Handle();
*(btAxisSweep3Internal< unsigned short >::Handle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3InternalShort_1Handle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3Internal< unsigned short >::Handle *arg1 = (btAxisSweep3Internal< unsigned short >::Handle *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalShort_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jint jarg4, jint jarg5, jlong jarg6, jobject jarg6_, jboolean jarg7) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
unsigned short arg4 ;
unsigned short arg5 ;
btOverlappingPairCache *arg6 = (btOverlappingPairCache *) 0 ;
bool arg7 ;
btAxisSweep3Internal< unsigned short > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg6_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
arg4 = (unsigned short)jarg4;
arg5 = (unsigned short)jarg5;
arg6 = *(btOverlappingPairCache **)&jarg6;
arg7 = jarg7 ? true : false;
result = (btAxisSweep3Internal< unsigned short > *)new btAxisSweep3Internal< unsigned short >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5,arg6,arg7);
*(btAxisSweep3Internal< unsigned short > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalShort_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jint jarg4, jint jarg5, jlong jarg6, jobject jarg6_) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
unsigned short arg4 ;
unsigned short arg5 ;
btOverlappingPairCache *arg6 = (btOverlappingPairCache *) 0 ;
btAxisSweep3Internal< unsigned short > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg6_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
arg4 = (unsigned short)jarg4;
arg5 = (unsigned short)jarg5;
arg6 = *(btOverlappingPairCache **)&jarg6;
result = (btAxisSweep3Internal< unsigned short > *)new btAxisSweep3Internal< unsigned short >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5,arg6);
*(btAxisSweep3Internal< unsigned short > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalShort_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jint jarg4, jint jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
unsigned short arg4 ;
unsigned short arg5 ;
btAxisSweep3Internal< unsigned short > *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
arg4 = (unsigned short)jarg4;
arg5 = (unsigned short)jarg5;
result = (btAxisSweep3Internal< unsigned short > *)new btAxisSweep3Internal< unsigned short >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(btAxisSweep3Internal< unsigned short > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalShort_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jint jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
unsigned short arg4 ;
btAxisSweep3Internal< unsigned short > *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
arg4 = (unsigned short)jarg4;
result = (btAxisSweep3Internal< unsigned short > *)new btAxisSweep3Internal< unsigned short >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4);
*(btAxisSweep3Internal< unsigned short > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3InternalShort(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1getNumHandles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
result = (unsigned short)((btAxisSweep3Internal< unsigned short > const *)arg1)->getNumHandles();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1addHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jint jarg5, jint jarg6, jlong jarg7, jobject jarg7_) {
jint jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
void *arg4 = (void *) 0 ;
int arg5 ;
int arg6 ;
btDispatcher *arg7 = (btDispatcher *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (void *)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
arg7 = *(btDispatcher **)&jarg7;
result = (unsigned short)(arg1)->addHandle((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4,arg5,arg6,arg7);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1removeHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
unsigned short arg2 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (unsigned short)jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->removeHandle(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1updateHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
unsigned short arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btDispatcher *arg5 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (unsigned short)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btDispatcher **)&jarg5;
(arg1)->updateHandle(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1getHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
unsigned short arg2 ;
btAxisSweep3Internal< unsigned short >::Handle *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = (unsigned short)jarg2;
result = (btAxisSweep3Internal< unsigned short >::Handle *)((btAxisSweep3Internal< unsigned short > const *)arg1)->getHandle(arg2);
*(btAxisSweep3Internal< unsigned short >::Handle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1rayTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jobject jarg6) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1rayTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1rayTest_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1quantize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
btVector3 *arg3 = 0 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
{
arg2 = (unsigned short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
((btAxisSweep3Internal< unsigned short > const *)arg1)->quantize(arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1unQuantize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btAxisSweep3Internal< unsigned short > const *)arg1)->unQuantize(arg2,*arg3,*arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1testAabbOverlap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (bool)(arg1)->testAabbOverlap(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1setOverlappingPairUserCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btOverlappingPairCallback *arg2 = (btOverlappingPairCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
arg2 = *(btOverlappingPairCallback **)&jarg2;
(arg1)->setOverlappingPairUserCallback(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1getOverlappingPairUserCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned short > *arg1 = (btAxisSweep3Internal< unsigned short > *) 0 ;
btOverlappingPairCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
result = (btOverlappingPairCallback *)((btAxisSweep3Internal< unsigned short > const *)arg1)->getOverlappingPairUserCallback();
*(btOverlappingPairCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Edge_1pos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int >::Edge *arg1 = (btAxisSweep3Internal< unsigned int >::Edge *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Edge **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_pos = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Edge_1pos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Edge *arg1 = (btAxisSweep3Internal< unsigned int >::Edge *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Edge **)&jarg1;
result = (unsigned int) ((arg1)->m_pos);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Edge_1handle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int >::Edge *arg1 = (btAxisSweep3Internal< unsigned int >::Edge *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Edge **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_handle = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Edge_1handle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Edge *arg1 = (btAxisSweep3Internal< unsigned int >::Edge *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Edge **)&jarg1;
result = (unsigned int) ((arg1)->m_handle);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Edge_1IsMax(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Edge *arg1 = (btAxisSweep3Internal< unsigned int >::Edge *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Edge **)&jarg1;
result = (unsigned int)((btAxisSweep3Internal< unsigned int >::Edge const *)arg1)->IsMax();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalInt_1Edge(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Edge *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAxisSweep3Internal< unsigned int >::Edge *)new btAxisSweep3Internal< unsigned int >::Edge();
*(btAxisSweep3Internal< unsigned int >::Edge **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3InternalInt_1Edge(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3Internal< unsigned int >::Edge *arg1 = (btAxisSweep3Internal< unsigned int >::Edge *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3Internal< unsigned int >::Edge **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1minEdges_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlongArray jarg2) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
unsigned int *arg2 ;
jlong *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUint(jenv, &jarr2, (unsigned int **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned int *b = (unsigned int *) arg1->m_minEdges;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned int *) arg2 + ii);
}
SWIG_JavaArrayArgoutUint(jenv, jarr2, (unsigned int *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jlongArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1minEdges_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlongArray jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
unsigned int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
result = (unsigned int *)(unsigned int *) ((arg1)->m_minEdges);
jresult = SWIG_JavaArrayOutUint(jenv, (unsigned int *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1maxEdges_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlongArray jarg2) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
unsigned int *arg2 ;
jlong *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUint(jenv, &jarr2, (unsigned int **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned int *b = (unsigned int *) arg1->m_maxEdges;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned int *) arg2 + ii);
}
SWIG_JavaArrayArgoutUint(jenv, jarr2, (unsigned int *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jlongArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1maxEdges_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlongArray jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
unsigned int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
result = (unsigned int *)(unsigned int *) ((arg1)->m_maxEdges);
jresult = SWIG_JavaArrayOutUint(jenv, (unsigned int *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1dbvtProxy_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
if (arg1) (arg1)->m_dbvtProxy = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1dbvtProxy_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
result = (btBroadphaseProxy *) ((arg1)->m_dbvtProxy);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1SetNextFree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
arg2 = (unsigned int)jarg2;
(arg1)->SetNextFree(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1GetNextFree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
result = (unsigned int)((btAxisSweep3Internal< unsigned int >::Handle const *)arg1)->GetNextFree();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalInt_1Handle(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int >::Handle *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAxisSweep3Internal< unsigned int >::Handle *)new btAxisSweep3Internal< unsigned int >::Handle();
*(btAxisSweep3Internal< unsigned int >::Handle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3InternalInt_1Handle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3Internal< unsigned int >::Handle *arg1 = (btAxisSweep3Internal< unsigned int >::Handle *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalInt_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jobject jarg6_, jboolean jarg7) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
btOverlappingPairCache *arg6 = (btOverlappingPairCache *) 0 ;
bool arg7 ;
btAxisSweep3Internal< unsigned int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg6_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
arg4 = (unsigned int)jarg4;
arg5 = (unsigned int)jarg5;
arg6 = *(btOverlappingPairCache **)&jarg6;
arg7 = jarg7 ? true : false;
result = (btAxisSweep3Internal< unsigned int > *)new btAxisSweep3Internal< unsigned int >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5,arg6,arg7);
*(btAxisSweep3Internal< unsigned int > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalInt_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jobject jarg6_) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
btOverlappingPairCache *arg6 = (btOverlappingPairCache *) 0 ;
btAxisSweep3Internal< unsigned int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg6_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
arg4 = (unsigned int)jarg4;
arg5 = (unsigned int)jarg5;
arg6 = *(btOverlappingPairCache **)&jarg6;
result = (btAxisSweep3Internal< unsigned int > *)new btAxisSweep3Internal< unsigned int >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5,arg6);
*(btAxisSweep3Internal< unsigned int > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalInt_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
btAxisSweep3Internal< unsigned int > *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
arg4 = (unsigned int)jarg4;
arg5 = (unsigned int)jarg5;
result = (btAxisSweep3Internal< unsigned int > *)new btAxisSweep3Internal< unsigned int >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(btAxisSweep3Internal< unsigned int > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3InternalInt_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jlong jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
btAxisSweep3Internal< unsigned int > *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
arg4 = (unsigned int)jarg4;
result = (btAxisSweep3Internal< unsigned int > *)new btAxisSweep3Internal< unsigned int >((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4);
*(btAxisSweep3Internal< unsigned int > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3InternalInt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1getNumHandles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
result = (unsigned int)((btAxisSweep3Internal< unsigned int > const *)arg1)->getNumHandles();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1addHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jint jarg5, jint jarg6, jlong jarg7, jobject jarg7_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
void *arg4 = (void *) 0 ;
int arg5 ;
int arg6 ;
btDispatcher *arg7 = (btDispatcher *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (void *)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
arg7 = *(btDispatcher **)&jarg7;
result = (unsigned int)(arg1)->addHandle((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4,arg5,arg6,arg7);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1removeHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
unsigned int arg2 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (unsigned int)jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->removeHandle(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1updateHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
unsigned int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btDispatcher *arg5 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (unsigned int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btDispatcher **)&jarg5;
(arg1)->updateHandle(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1getHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
unsigned int arg2 ;
btAxisSweep3Internal< unsigned int >::Handle *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = (unsigned int)jarg2;
result = (btAxisSweep3Internal< unsigned int >::Handle *)((btAxisSweep3Internal< unsigned int > const *)arg1)->getHandle(arg2);
*(btAxisSweep3Internal< unsigned int >::Handle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1rayTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jobject jarg6) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1rayTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1rayTest_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1quantize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
btVector3 *arg3 = 0 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
{
arg2 = (unsigned int*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
((btAxisSweep3Internal< unsigned int > const *)arg1)->quantize(arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1unQuantize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btAxisSweep3Internal< unsigned int > const *)arg1)->unQuantize(arg2,*arg3,*arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1testAabbOverlap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (bool)(arg1)->testAabbOverlap(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1setOverlappingPairUserCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btOverlappingPairCallback *arg2 = (btOverlappingPairCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
arg2 = *(btOverlappingPairCallback **)&jarg2;
(arg1)->setOverlappingPairUserCallback(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1getOverlappingPairUserCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAxisSweep3Internal< unsigned int > *arg1 = (btAxisSweep3Internal< unsigned int > *) 0 ;
btOverlappingPairCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
result = (btOverlappingPairCallback *)((btAxisSweep3Internal< unsigned int > const *)arg1)->getOverlappingPairUserCallback();
*(btOverlappingPairCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jlong jarg4, jobject jarg4_, jboolean jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
btOverlappingPairCache *arg4 = (btOverlappingPairCache *) 0 ;
bool arg5 ;
btAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg4_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
arg4 = *(btOverlappingPairCache **)&jarg4;
arg5 = jarg5 ? true : false;
result = (btAxisSweep3 *)new btAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(btAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
btOverlappingPairCache *arg4 = (btOverlappingPairCache *) 0 ;
btAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg4_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
arg4 = *(btOverlappingPairCache **)&jarg4;
result = (btAxisSweep3 *)new btAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4);
*(btAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned short arg3 ;
btAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned short)jarg3;
result = (btAxisSweep3 *)new btAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3);
*(btAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAxisSweep3_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btAxisSweep3 *)new btAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAxisSweep3(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAxisSweep3 *arg1 = (btAxisSweep3 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAxisSweep3 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1bt32BitAxisSweep3_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jlong jarg4, jobject jarg4_, jboolean jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
btOverlappingPairCache *arg4 = (btOverlappingPairCache *) 0 ;
bool arg5 ;
bt32BitAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg4_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
arg4 = *(btOverlappingPairCache **)&jarg4;
arg5 = jarg5 ? true : false;
result = (bt32BitAxisSweep3 *)new bt32BitAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(bt32BitAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1bt32BitAxisSweep3_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
btOverlappingPairCache *arg4 = (btOverlappingPairCache *) 0 ;
bt32BitAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg4_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
arg4 = *(btOverlappingPairCache **)&jarg4;
result = (bt32BitAxisSweep3 *)new bt32BitAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4);
*(bt32BitAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1bt32BitAxisSweep3_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
bt32BitAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
result = (bt32BitAxisSweep3 *)new bt32BitAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3);
*(bt32BitAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1bt32BitAxisSweep3_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bt32BitAxisSweep3 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bt32BitAxisSweep3 *)new bt32BitAxisSweep3((btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(bt32BitAxisSweep3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1bt32BitAxisSweep3(JNIEnv *jenv, jclass jcls, jlong jarg1) {
bt32BitAxisSweep3 *arg1 = (bt32BitAxisSweep3 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(bt32BitAxisSweep3 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDispatcherInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDispatcherInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDispatcherInfo *)new btDispatcherInfo();
*(btDispatcherInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_timeStep = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (btScalar) ((arg1)->m_timeStep);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1stepCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_stepCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1stepCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (int) ((arg1)->m_stepCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1dispatchFunc_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dispatchFunc = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1dispatchFunc_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (int) ((arg1)->m_dispatchFunc);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1timeOfImpact_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_timeOfImpact = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1timeOfImpact_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (btScalar) ((arg1)->m_timeOfImpact);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1useContinuous_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useContinuous = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1useContinuous_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (bool) ((arg1)->m_useContinuous);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1debugDraw_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
if (arg1) (arg1)->m_debugDraw = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1debugDraw_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btIDebugDraw *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (btIDebugDraw *) ((arg1)->m_debugDraw);
*(btIDebugDraw **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1enableSatConvex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableSatConvex = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1enableSatConvex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (bool) ((arg1)->m_enableSatConvex);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1enableSPU_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_enableSPU = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1enableSPU_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (bool) ((arg1)->m_enableSPU);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1useEpa_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useEpa = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1useEpa_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (bool) ((arg1)->m_useEpa);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1allowedCcdPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_allowedCcdPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1allowedCcdPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (btScalar) ((arg1)->m_allowedCcdPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1useConvexConservativeDistanceUtil_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_useConvexConservativeDistanceUtil = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1useConvexConservativeDistanceUtil_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (bool) ((arg1)->m_useConvexConservativeDistanceUtil);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1convexConservativeDistanceThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_convexConservativeDistanceThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcherInfo_1convexConservativeDistanceThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcherInfo **)&jarg1;
result = (btScalar) ((arg1)->m_convexConservativeDistanceThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDispatcherInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDispatcherInfo *arg1 = (btDispatcherInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDispatcherInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDispatcher *arg1 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDispatcher **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1findAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jint jarg5) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btPersistentManifold *arg4 = (btPersistentManifold *) 0 ;
ebtDispatcherQueryType arg5 ;
btCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btPersistentManifold **)&jarg4;
arg5 = (ebtDispatcherQueryType)jarg5;
result = (btCollisionAlgorithm *)(arg1)->findAlgorithm((btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4,arg5);
*(btCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1getNewManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (btPersistentManifold *)(arg1)->getNewManifold((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1releaseManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDispatcher *arg1 = (btDispatcher *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->releaseManifold(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1clearManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDispatcher *arg1 = (btDispatcher *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->clearManifold(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1needsCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (bool)(arg1)->needsCollision((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1needsResponse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (bool)(arg1)->needsResponse((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1dispatchAllCollisionPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btDispatcher *arg1 = (btDispatcher *) 0 ;
btOverlappingPairCache *arg2 = (btOverlappingPairCache *) 0 ;
btDispatcherInfo *arg3 = 0 ;
btDispatcher *arg4 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btOverlappingPairCache **)&jarg2;
arg3 = *(btDispatcherInfo **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDispatcherInfo const & reference is null");
return ;
}
arg4 = *(btDispatcher **)&jarg4;
(arg1)->dispatchAllCollisionPairs(arg2,(btDispatcherInfo const &)*arg3,arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1getNumManifolds(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
result = (int)((btDispatcher const *)arg1)->getNumManifolds();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1getManifoldByIndexInternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
int arg2 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = (int)jarg2;
result = (btPersistentManifold *)(arg1)->getManifoldByIndexInternal(arg2);
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1getInternalManifoldPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
result = (btPersistentManifold **)(arg1)->getInternalManifoldPointer();
*(btPersistentManifold ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1getInternalManifoldPool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
result = (btPoolAllocator *)(arg1)->getInternalManifoldPool();
*(btPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1getInternalManifoldPoolConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
result = (btPoolAllocator *)((btDispatcher const *)arg1)->getInternalManifoldPool();
*(btPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1allocateCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
int arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = (int)jarg2;
result = (void *)(arg1)->allocateCollisionAlgorithm(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDispatcher_1freeCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDispatcher *arg1 = (btDispatcher *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->freeCollisionAlgorithm(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOverlapCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOverlapCallback *arg1 = (btOverlapCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOverlapCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlapCallback_1processOverlap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jboolean jresult = 0 ;
btOverlapCallback *arg1 = (btOverlapCallback *) 0 ;
btBroadphasePair *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlapCallback **)&jarg1;
arg2 = *(btBroadphasePair **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair & reference is null");
return 0;
}
result = (bool)(arg1)->processOverlap(*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btOverlapCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btOverlapCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btOverlapCallback *)new SwigDirector_btOverlapCallback(jenv);
*(btOverlapCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlapCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btOverlapCallback *obj = *((btOverlapCallback **)&objarg);
(void)jcls;
SwigDirector_btOverlapCallback *director = (SwigDirector_btOverlapCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlapCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btOverlapCallback *obj = *((btOverlapCallback **)&objarg);
SwigDirector_btOverlapCallback *director = (SwigDirector_btOverlapCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOverlapFilterCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOverlapFilterCallback *arg1 = (btOverlapFilterCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOverlapFilterCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlapFilterCallback_1needBroadphaseCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btOverlapFilterCallback *arg1 = (btOverlapFilterCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btOverlapFilterCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (bool)((btOverlapFilterCallback const *)arg1)->needBroadphaseCollision(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btOverlapFilterCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btOverlapFilterCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btOverlapFilterCallback *)new SwigDirector_btOverlapFilterCallback(jenv);
*(btOverlapFilterCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlapFilterCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btOverlapFilterCallback *obj = *((btOverlapFilterCallback **)&objarg);
(void)jcls;
SwigDirector_btOverlapFilterCallback *director = (SwigDirector_btOverlapFilterCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlapFilterCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btOverlapFilterCallback *obj = *((btOverlapFilterCallback **)&objarg);
SwigDirector_btOverlapFilterCallback *director = (SwigDirector_btOverlapFilterCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gRemovePairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gRemovePairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gRemovePairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gRemovePairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gAddedPairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gAddedPairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gAddedPairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gAddedPairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gFindPairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gFindPairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gFindPairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gFindPairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1NULL_1PAIR_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)(int)BT_NULL_PAIR;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOverlappingPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOverlappingPairCache **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1getOverlappingPairArrayPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlappingPairCache **)&jarg1;
result = (btBroadphasePair *)(arg1)->getOverlappingPairArrayPtr();
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1getOverlappingPairArrayPtrConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlappingPairCache **)&jarg1;
result = (btBroadphasePair *)((btOverlappingPairCache const *)arg1)->getOverlappingPairArrayPtr();
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1getOverlappingPairArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btBroadphasePairArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlappingPairCache **)&jarg1;
result = (btBroadphasePairArray *) &(arg1)->getOverlappingPairArray();
*(btBroadphasePairArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1cleanOverlappingPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btBroadphasePair *arg2 = 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btBroadphasePair **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair & reference is null");
return ;
}
arg3 = *(btDispatcher **)&jarg3;
(arg1)->cleanOverlappingPair(*arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1getNumOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlappingPairCache **)&jarg1;
result = (int)((btOverlappingPairCache const *)arg1)->getNumOverlappingPairs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1cleanProxyFromPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->cleanProxyFromPairs(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1setOverlapFilterCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btOverlapFilterCallback *arg2 = (btOverlapFilterCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btOverlapFilterCallback **)&jarg2;
(arg1)->setOverlapFilterCallback(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1processAllOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btOverlapCallback *arg2 = (btOverlapCallback *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btOverlapCallback **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->processAllOverlappingPairs(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1findPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (btBroadphasePair *)(arg1)->findPair(arg2,arg3);
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1hasDeferredRemoval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlappingPairCache **)&jarg1;
result = (bool)(arg1)->hasDeferredRemoval();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1setInternalGhostPairCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btOverlappingPairCallback *arg2 = (btOverlappingPairCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btOverlappingPairCallback **)&jarg2;
(arg1)->setInternalGhostPairCallback(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1sortOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOverlappingPairCache **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
(arg1)->sortOverlappingPairs(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btHashedOverlappingPairCache(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHashedOverlappingPairCache *)new btHashedOverlappingPairCache();
*(btHashedOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btHashedOverlappingPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1needsBroadphaseCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (bool)((btHashedOverlappingPairCache const *)arg1)->needsBroadphaseCollision(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1getOverlappingPairArrayConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
btBroadphasePairArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
result = (btBroadphasePairArray *) &((btHashedOverlappingPairCache const *)arg1)->getOverlappingPairArray();
*(btBroadphasePairArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1GetCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
result = (int)((btHashedOverlappingPairCache const *)arg1)->GetCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1getOverlapFilterCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHashedOverlappingPairCache *arg1 = (btHashedOverlappingPairCache *) 0 ;
btOverlapFilterCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedOverlappingPairCache **)&jarg1;
result = (btOverlapFilterCallback *)(arg1)->getOverlapFilterCallback();
*(btOverlapFilterCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSortedOverlappingPairCache(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSortedOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSortedOverlappingPairCache *)new btSortedOverlappingPairCache();
*(btSortedOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSortedOverlappingPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSortedOverlappingPairCache *arg1 = (btSortedOverlappingPairCache *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSortedOverlappingPairCache **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSortedOverlappingPairCache_1needsBroadphaseCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btSortedOverlappingPairCache *arg1 = (btSortedOverlappingPairCache *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSortedOverlappingPairCache **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
result = (bool)((btSortedOverlappingPairCache const *)arg1)->needsBroadphaseCollision(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSortedOverlappingPairCache_1getOverlappingPairArrayConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSortedOverlappingPairCache *arg1 = (btSortedOverlappingPairCache *) 0 ;
btBroadphasePairArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSortedOverlappingPairCache **)&jarg1;
result = (btBroadphasePairArray *) &((btSortedOverlappingPairCache const *)arg1)->getOverlappingPairArray();
*(btBroadphasePairArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSortedOverlappingPairCache_1getOverlapFilterCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSortedOverlappingPairCache *arg1 = (btSortedOverlappingPairCache *) 0 ;
btOverlapFilterCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSortedOverlappingPairCache **)&jarg1;
result = (btOverlapFilterCallback *)(arg1)->getOverlapFilterCallback();
*(btOverlapFilterCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btNullPairCache(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btNullPairCache *result = 0 ;
(void)jenv;
(void)jcls;
result = (btNullPairCache *)new btNullPairCache();
*(btNullPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btNullPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btNullPairCache *arg1 = (btNullPairCache *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btNullPairCache **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btCollisionShape const *)arg1)->getAabb((btTransform const &)*arg2,*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getBoundingSphere(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btVector3 *arg2 = 0 ;
btScalar *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btScalar **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
((btCollisionShape const *)arg1)->getBoundingSphere(*arg2,*arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getAngularMotionDisc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (btScalar)((btCollisionShape const *)arg1)->getAngularMotionDisc();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getContactBreakingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jfloat jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btScalar arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (btScalar)jarg2;
result = (btScalar)((btCollisionShape const *)arg1)->getContactBreakingThreshold(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1calculateTemporalAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jfloat jarg5, jobject jarg6, jobject jarg7) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
((btCollisionShape const *)arg1)->calculateTemporalAabb((btTransform const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5,*arg6,*arg7);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isPolyhedral(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isPolyhedral();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isConvex2d(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isConvex2d();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isConvex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isConvex();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isNonMoving(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isNonMoving();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isConcave(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isConcave();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isCompound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isCompound();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isSoftBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isSoftBody();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1isInfinite(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (bool)((btCollisionShape const *)arg1)->isInfinite();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1setLocalScaling(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setLocalScaling((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getLocalScaling(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (btVector3 *) &((btCollisionShape const *)arg1)->getLocalScaling();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1calculateLocalInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btScalar arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (btScalar)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btCollisionShape const *)arg1)->calculateLocalInertia(arg2,*arg3);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (char *)((btCollisionShape const *)arg1)->getName();
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getShapeType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (int)((btCollisionShape const *)arg1)->getShapeType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getAnisotropicRollingFrictionDirection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = ((btCollisionShape const *)arg1)->getAnisotropicRollingFrictionDirection();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1setMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setMargin(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (btScalar)((btCollisionShape const *)arg1)->getMargin();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1setUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setUserPointer(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (void *)((btCollisionShape const *)arg1)->getUserPointer();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1setUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1getUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (int)((btCollisionShape const *)arg1)->getUserIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShape **)&jarg1;
result = (int)((btCollisionShape const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btCollisionShape const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShape_1serializeSingleShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btSerializer *arg2 = (btSerializer *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = *(btSerializer **)&jarg2;
((btCollisionShape const *)arg1)->serializeSingleShape(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShapeData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShapeData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShapeData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShapeData_1shapeType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_shapeType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShapeData_1shapeType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShapeData **)&jarg1;
result = (int) ((arg1)->m_shapeType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShapeData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionShapeData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionShapeData *)new btCollisionShapeData();
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionShapeData *arg1 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1localGetSupportingVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btConvexShape const *)arg1)->localGetSupportingVertex((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1localGetSupportingVertexWithoutMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btConvexShape const *)arg1)->localGetSupportingVertexWithoutMargin((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1localGetSupportVertexWithoutMarginNonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btConvexShape const *)arg1)->localGetSupportVertexWithoutMarginNonVirtual((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1localGetSupportVertexNonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btConvexShape const *)arg1)->localGetSupportVertexNonVirtual((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1getMarginNonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
result = (btScalar)((btConvexShape const *)arg1)->getMarginNonVirtual();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1getAabbNonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btConvexShape const *)arg1)->getAabbNonVirtual((btTransform const &)*arg2,*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1project(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jlong jarg5, jobject jarg6, jobject jarg7) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btScalar **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg5 = *(btScalar **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
((btConvexShape const *)arg1)->project((btTransform const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,*arg6,*arg7);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1batchedUnitVectorGetSupportingVertexWithoutMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
arg4 = (int)jarg4;
((btConvexShape const *)arg1)->batchedUnitVectorGetSupportingVertexWithoutMargin((btVector3 const *)arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1getAabbSlow(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btConvexShape const *)arg1)->getAabbSlow((btTransform const &)*arg2,*arg3,*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1getNumPreferredPenetrationDirections(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
result = (int)((btConvexShape const *)arg1)->getNumPreferredPenetrationDirections();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1getPreferredPenetrationDirection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btConvexShape const *)arg1)->getPreferredPenetrationDirection(arg2,*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexInternalShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexInternalShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1getImplicitShapeDimensions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
result = (btVector3 *) &((btConvexInternalShape const *)arg1)->getImplicitShapeDimensions();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1setImplicitShapeDimensions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setImplicitShapeDimensions((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1setSafeMargin_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setSafeMargin(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1setSafeMargin_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSafeMargin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1setSafeMargin_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
(arg1)->setSafeMargin((btVector3 const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1setSafeMargin_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setSafeMargin((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1getLocalScalingNV(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
result = (btVector3 *) &((btConvexInternalShape const *)arg1)->getLocalScalingNV();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1getMarginNV(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConvexInternalShape *arg1 = (btConvexInternalShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShape **)&jarg1;
result = (btScalar)((btConvexInternalShape const *)arg1)->getMarginNV();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1collisionShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_collisionShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1collisionShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
result = (btCollisionShapeData *)& ((arg1)->m_collisionShapeData);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1localScaling_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_localScaling = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1localScaling_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_localScaling);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1implicitShapeDimensions_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_implicitShapeDimensions = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1implicitShapeDimensions_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_implicitShapeDimensions);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1collisionMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_collisionMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1collisionMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
result = (float) ((arg1)->m_collisionMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_padding = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShapeData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalShapeData **)&jarg1;
result = (int) ((arg1)->m_padding);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexInternalShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexInternalShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexInternalShapeData *)new btConvexInternalShapeData();
*(btConvexInternalShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexInternalShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexInternalShapeData *arg1 = (btConvexInternalShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexInternalShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalAabbCachingShape_1recalcLocalAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConvexInternalAabbCachingShape *arg1 = (btConvexInternalAabbCachingShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexInternalAabbCachingShape **)&jarg1;
(arg1)->recalcLocalAabb();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexInternalAabbCachingShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexInternalAabbCachingShape *arg1 = (btConvexInternalAabbCachingShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexInternalAabbCachingShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPolyhedralConvexShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1initializePolyhedralFeatures_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (int)jarg2;
result = (bool)(arg1)->initializePolyhedralFeatures(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1initializePolyhedralFeatures_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
result = (bool)(arg1)->initializePolyhedralFeatures();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getConvexPolyhedron(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
btConvexPolyhedron *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
result = (btConvexPolyhedron *)((btPolyhedralConvexShape const *)arg1)->getConvexPolyhedron();
*(btConvexPolyhedron **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getNumVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
result = (int)((btPolyhedralConvexShape const *)arg1)->getNumVertices();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getNumEdges(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
result = (int)((btPolyhedralConvexShape const *)arg1)->getNumEdges();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getEdge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btPolyhedralConvexShape const *)arg1)->getEdge(arg2,*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btPolyhedralConvexShape const *)arg1)->getVertex(arg2,*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getNumPlanes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
result = (int)((btPolyhedralConvexShape const *)arg1)->getNumPlanes();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1getPlane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4) {
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
((btPolyhedralConvexShape const *)arg1)->getPlane(*arg2,*arg3,arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1isInside(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
jboolean jresult = 0 ;
btPolyhedralConvexShape *arg1 = (btPolyhedralConvexShape *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
result = (bool)((btPolyhedralConvexShape const *)arg1)->isInside((btVector3 const &)*arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexAabbCachingShape_1getNonvirtualAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jfloat jarg5) {
btPolyhedralConvexAabbCachingShape *arg1 = (btPolyhedralConvexAabbCachingShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexAabbCachingShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
((btPolyhedralConvexAabbCachingShape const *)arg1)->getNonvirtualAabb((btTransform const &)*arg2,*arg3,*arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexAabbCachingShape_1recalcLocalAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btPolyhedralConvexAabbCachingShape *arg1 = (btPolyhedralConvexAabbCachingShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPolyhedralConvexAabbCachingShape **)&jarg1;
(arg1)->recalcLocalAabb();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPolyhedralConvexAabbCachingShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPolyhedralConvexAabbCachingShape *arg1 = (btPolyhedralConvexAabbCachingShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPolyhedralConvexAabbCachingShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConcaveShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConcaveShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1processAllTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btConcaveShape *arg1 = (btConcaveShape *) 0 ;
btTriangleCallback *arg2 = (btTriangleCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConcaveShape **)&jarg1;
arg2 = *(btTriangleCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btConcaveShape const *)arg1)->processAllTriangles(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleCallback *arg1 = (btTriangleCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleCallback_1processTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btTriangleCallback *arg1 = (btTriangleCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleCallback *)new SwigDirector_btTriangleCallback(jenv);
*(btTriangleCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btTriangleCallback *obj = *((btTriangleCallback **)&objarg);
(void)jcls;
SwigDirector_btTriangleCallback *director = (SwigDirector_btTriangleCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btTriangleCallback *obj = *((btTriangleCallback **)&objarg);
SwigDirector_btTriangleCallback *director = (SwigDirector_btTriangleCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btInternalTriangleIndexCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btInternalTriangleIndexCallback *arg1 = (btInternalTriangleIndexCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btInternalTriangleIndexCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btInternalTriangleIndexCallback_1internalProcessTriangleIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btInternalTriangleIndexCallback *arg1 = (btInternalTriangleIndexCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btInternalTriangleIndexCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->internalProcessTriangleIndex(arg2,arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btInternalTriangleIndexCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btInternalTriangleIndexCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btInternalTriangleIndexCallback *)new SwigDirector_btInternalTriangleIndexCallback(jenv);
*(btInternalTriangleIndexCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btInternalTriangleIndexCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btInternalTriangleIndexCallback *obj = *((btInternalTriangleIndexCallback **)&objarg);
(void)jcls;
SwigDirector_btInternalTriangleIndexCallback *director = (SwigDirector_btInternalTriangleIndexCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btInternalTriangleIndexCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btInternalTriangleIndexCallback *obj = *((btInternalTriangleIndexCallback **)&objarg);
SwigDirector_btInternalTriangleIndexCallback *director = (SwigDirector_btInternalTriangleIndexCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1insert(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
btTriangleInfo *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return ;
}
arg3 = *(btTriangleInfo **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTriangleInfo const & reference is null");
return ;
}
(arg1)->insert((btHashInt const &)*arg2,(btTriangleInfo const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return ;
}
(arg1)->remove((btHashInt const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
result = (int)((btHashMap< btHashInt,btTriangleInfo > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1getAtIndexConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
int arg2 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = (int)jarg2;
result = (btTriangleInfo *)((btHashMap< btHashInt,btTriangleInfo > const *)arg1)->getAtIndex(arg2);
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1getAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
int arg2 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = (int)jarg2;
result = (btTriangleInfo *)(arg1)->getAtIndex(arg2);
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1getKeyAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
int arg2 ;
btHashInt result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = (int)jarg2;
result = (arg1)->getKeyAtIndex(arg2);
*(btHashInt **)&jresult = new btHashInt((const btHashInt &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1getKeyAtIndexConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
int arg2 ;
btHashInt result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = (int)jarg2;
result = ((btHashMap< btHashInt,btTriangleInfo > const *)arg1)->getKeyAtIndex(arg2);
*(btHashInt **)&jresult = new btHashInt((const btHashInt &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return 0;
}
result = (btTriangleInfo *)(arg1)->operator []((btHashInt const &)*arg2);
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return 0;
}
result = (btTriangleInfo *)((btHashMap< btHashInt,btTriangleInfo > const *)arg1)->operator []((btHashInt const &)*arg2);
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1findConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return 0;
}
result = (btTriangleInfo *)((btHashMap< btHashInt,btTriangleInfo > const *)arg1)->find((btHashInt const &)*arg2);
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1find(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return 0;
}
result = (btTriangleInfo *)(arg1)->find((btHashInt const &)*arg2);
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1findIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
btHashInt *arg2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
arg2 = *(btHashInt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btHashInt const & reference is null");
return 0;
}
result = (int)((btHashMap< btHashInt,btTriangleInfo > const *)arg1)->findIndex((btHashInt const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashMapInternalShortBtHashIntBtTriangleInfo_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btHashMapInternalShortBtHashIntBtTriangleInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHashMap< btHashInt,btTriangleInfo > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHashMap< btHashInt,btTriangleInfo > *)new btHashMap< btHashInt,btTriangleInfo >();
*(btHashMap< btHashInt,btTriangleInfo > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btHashMapInternalShortBtHashIntBtTriangleInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHashMap< btHashInt,btTriangleInfo > *arg1 = (btHashMap< btHashInt,btTriangleInfo > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHashMap< btHashInt,btTriangleInfo > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleInfo *)new btTriangleInfo();
*(btTriangleInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1flags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_flags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1flags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
result = (int) ((arg1)->m_flags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1edgeV0V1Angle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_edgeV0V1Angle = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1edgeV0V1Angle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
result = (btScalar) ((arg1)->m_edgeV0V1Angle);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1edgeV1V2Angle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_edgeV1V2Angle = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1edgeV1V2Angle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
result = (btScalar) ((arg1)->m_edgeV1V2Angle);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1edgeV2V0Angle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_edgeV2V0Angle = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfo_1edgeV2V0Angle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfo **)&jarg1;
result = (btScalar) ((arg1)->m_edgeV2V0Angle);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleInfo *arg1 = (btTriangleInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1convexEpsilon_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_convexEpsilon = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1convexEpsilon_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (btScalar) ((arg1)->m_convexEpsilon);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1planarEpsilon_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_planarEpsilon = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1planarEpsilon_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (btScalar) ((arg1)->m_planarEpsilon);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1equalVertexThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_equalVertexThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1equalVertexThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (btScalar) ((arg1)->m_equalVertexThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1edgeDistanceThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_edgeDistanceThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1edgeDistanceThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (btScalar) ((arg1)->m_edgeDistanceThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1maxEdgeAngleThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maxEdgeAngleThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1maxEdgeAngleThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (btScalar) ((arg1)->m_maxEdgeAngleThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1zeroAreaThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_zeroAreaThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1zeroAreaThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (btScalar) ((arg1)->m_zeroAreaThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleInfoMap(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleInfoMap *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleInfoMap *)new btTriangleInfoMap();
*(btTriangleInfoMap **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleInfoMap(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleInfoMap **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMap **)&jarg1;
result = (int)((btTriangleInfoMap const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btTriangleInfoMap const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1deSerialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleInfoMap *arg1 = (btTriangleInfoMap *) 0 ;
btTriangleInfoMapData *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleInfoMap **)&jarg1;
arg2 = *(btTriangleInfoMapData **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTriangleInfoMapData & reference is null");
return ;
}
(arg1)->deSerialize(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1flags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_flags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1flags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
result = (int) ((arg1)->m_flags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1edgeV0V1Angle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_edgeV0V1Angle = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1edgeV0V1Angle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
result = (float) ((arg1)->m_edgeV0V1Angle);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1edgeV1V2Angle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_edgeV1V2Angle = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1edgeV1V2Angle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
result = (float) ((arg1)->m_edgeV1V2Angle);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1edgeV2V0Angle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_edgeV2V0Angle = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoData_1edgeV2V0Angle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoData **)&jarg1;
result = (float) ((arg1)->m_edgeV2V0Angle);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleInfoData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleInfoData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleInfoData *)new btTriangleInfoData();
*(btTriangleInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleInfoData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleInfoData *arg1 = (btTriangleInfoData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleInfoData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1hashTablePtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int *arg2 = (int *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
{
arg2 = (int*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_hashTablePtr = arg2;
} else {
arg1->m_hashTablePtr = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1hashTablePtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int *) ((arg1)->m_hashTablePtr);
*(int **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1nextPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int *arg2 = (int *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
{
arg2 = (int*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_nextPtr = arg2;
} else {
arg1->m_nextPtr = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1nextPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int *) ((arg1)->m_nextPtr);
*(int **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1valueArrayPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
btTriangleInfoData *arg2 = (btTriangleInfoData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = *(btTriangleInfoData **)&jarg2;
if (arg1) (arg1)->m_valueArrayPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1valueArrayPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
btTriangleInfoData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (btTriangleInfoData *) ((arg1)->m_valueArrayPtr);
*(btTriangleInfoData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1keyArrayPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int *arg2 = (int *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
{
arg2 = (int*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_keyArrayPtr = arg2;
} else {
arg1->m_keyArrayPtr = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1keyArrayPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int *) ((arg1)->m_keyArrayPtr);
*(int **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1convexEpsilon_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_convexEpsilon = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1convexEpsilon_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (float) ((arg1)->m_convexEpsilon);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1planarEpsilon_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_planarEpsilon = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1planarEpsilon_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (float) ((arg1)->m_planarEpsilon);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1equalVertexThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_equalVertexThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1equalVertexThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (float) ((arg1)->m_equalVertexThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1edgeDistanceThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_edgeDistanceThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1edgeDistanceThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (float) ((arg1)->m_edgeDistanceThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1zeroAreaThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_zeroAreaThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1zeroAreaThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (float) ((arg1)->m_zeroAreaThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1nextSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_nextSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1nextSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int) ((arg1)->m_nextSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1hashTableSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_hashTableSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1hashTableSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int) ((arg1)->m_hashTableSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1numValues_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numValues = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1numValues_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int) ((arg1)->m_numValues);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1numKeys_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numKeys = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1numKeys_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (int) ((arg1)->m_numKeys);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMapData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleInfoMapData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleInfoMapData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleInfoMapData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleInfoMapData *)new btTriangleInfoMapData();
*(btTriangleInfoMapData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleInfoMapData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleInfoMapData *arg1 = (btTriangleInfoMapData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleInfoMapData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btStaticPlaneShape(JNIEnv *jenv, jclass jcls, jobject jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btScalar arg2 ;
btStaticPlaneShape *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = (btScalar)jarg2;
result = (btStaticPlaneShape *)new btStaticPlaneShape((btVector3 const &)*arg1,arg2);
*(btStaticPlaneShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btStaticPlaneShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btStaticPlaneShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1getPlaneNormal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
result = (btVector3 *) &((btStaticPlaneShape const *)arg1)->getPlaneNormal();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1getPlaneConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btStaticPlaneShape *arg1 = (btStaticPlaneShape *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShape **)&jarg1;
result = (btScalar *) &((btStaticPlaneShape const *)arg1)->getPlaneConstant();
jresult = (jfloat)*result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1collisionShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_collisionShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1collisionShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
result = (btCollisionShapeData *)& ((arg1)->m_collisionShapeData);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1localScaling_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_localScaling = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1localScaling_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_localScaling);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1planeNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_planeNormal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1planeNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_planeNormal);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1planeConstant_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_planeConstant = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1planeConstant_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
result = (float) ((arg1)->m_planeConstant);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 4-1);
arg1->m_pad[4-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShapeData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btStaticPlaneShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btStaticPlaneShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btStaticPlaneShapeData *)new btStaticPlaneShapeData();
*(btStaticPlaneShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btStaticPlaneShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btStaticPlaneShapeData *arg1 = (btStaticPlaneShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btStaticPlaneShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btHeightfieldTerrainShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1setUseDiamondSubdivision_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseDiamondSubdivision(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1setUseDiamondSubdivision_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
(arg1)->setUseDiamondSubdivision();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1setUseZigzagSubdivision_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setUseZigzagSubdivision(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1setUseZigzagSubdivision_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btHeightfieldTerrainShape *arg1 = (btHeightfieldTerrainShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHeightfieldTerrainShape **)&jarg1;
(arg1)->setUseZigzagSubdivision();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btHeightfieldTerrainShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2, jobject jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6, jint jarg7, jboolean jarg8) {
jlong jresult = 0 ;
int arg1 ;
int arg2 ;
float *arg3 = (float *) 0 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
int arg7 ;
bool arg8 ;
btHeightfieldTerrainShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
{
arg3 = (float*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = (int)jarg7;
arg8 = jarg8 ? true : false;
result = (btHeightfieldTerrainShape *)new_btHeightfieldTerrainShape__SWIG_0(arg1,arg2,(float const *)arg3,arg4,arg5,arg6,arg7,arg8);
*(btHeightfieldTerrainShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btHeightfieldTerrainShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2, jobject jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6, jint jarg7, jboolean jarg8) {
jlong jresult = 0 ;
int arg1 ;
int arg2 ;
short *arg3 = (short *) 0 ;
btScalar arg4 ;
btScalar arg5 ;
btScalar arg6 ;
int arg7 ;
bool arg8 ;
btHeightfieldTerrainShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
{
arg3 = (short*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = (int)jarg7;
arg8 = jarg8 ? true : false;
result = (btHeightfieldTerrainShape *)new_btHeightfieldTerrainShape__SWIG_1(arg1,arg2,(short const *)arg3,arg4,arg5,arg6,arg7,arg8);
*(btHeightfieldTerrainShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleMeshShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1localGetSupportingVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btTriangleMeshShape const *)arg1)->localGetSupportingVertex((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1localGetSupportingVertexWithoutMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((btTriangleMeshShape const *)arg1)->localGetSupportingVertexWithoutMargin((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1recalcLocalAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
(arg1)->recalcLocalAabb();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1getMeshInterface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
result = (btStridingMeshInterface *)(arg1)->getMeshInterface();
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1getMeshInterfaceConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
result = (btStridingMeshInterface *)((btTriangleMeshShape const *)arg1)->getMeshInterface();
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1getLocalAabbMin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
result = (btVector3 *) &((btTriangleMeshShape const *)arg1)->getLocalAabbMin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1getLocalAabbMax(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btTriangleMeshShape *arg1 = (btTriangleMeshShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShape **)&jarg1;
result = (btVector3 *) &((btTriangleMeshShape const *)arg1)->getLocalAabbMax();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBvhTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1getOwnsBvh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
result = (bool)((btBvhTriangleMeshShape const *)arg1)->getOwnsBvh();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1performRaycast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btTriangleCallback *arg2 = (btTriangleCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btTriangleCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->performRaycast(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1performConvexcast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btTriangleCallback *arg2 = (btTriangleCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btTriangleCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->performConvexcast(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1refitTree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->refitTree((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1partialRefitTree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->partialRefitTree((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1getOptimizedBvh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btOptimizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
result = (btOptimizedBvh *)(arg1)->getOptimizedBvh();
*(btOptimizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1setOptimizedBvh_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btOptimizedBvh *arg2 = (btOptimizedBvh *) 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btOptimizedBvh **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setOptimizedBvh(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1setOptimizedBvh_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btOptimizedBvh *arg2 = (btOptimizedBvh *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btOptimizedBvh **)&jarg2;
(arg1)->setOptimizedBvh(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1buildOptimizedBvh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
(arg1)->buildOptimizedBvh();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1usesQuantizedAabbCompression(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
result = (bool)((btBvhTriangleMeshShape const *)arg1)->usesQuantizedAabbCompression();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1setTriangleInfoMap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btTriangleInfoMap *arg2 = (btTriangleInfoMap *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btTriangleInfoMap **)&jarg2;
(arg1)->setTriangleInfoMap(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1getTriangleInfoMap_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btTriangleInfoMap *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
result = (btTriangleInfoMap *)((btBvhTriangleMeshShape const *)arg1)->getTriangleInfoMap();
*(btTriangleInfoMap **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1serializeSingleBvh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btSerializer *arg2 = (btSerializer *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btSerializer **)&jarg2;
((btBvhTriangleMeshShape const *)arg1)->serializeSingleBvh(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1serializeSingleTriangleInfoMap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btSerializer *arg2 = (btSerializer *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btSerializer **)&jarg2;
((btBvhTriangleMeshShape const *)arg1)->serializeSingleTriangleInfoMap(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhTriangleMeshShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_, jboolean jarg3, jboolean jarg4) {
jlong jresult = 0 ;
bool arg1 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
bool arg3 ;
bool arg4 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = jarg1 ? true : false;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = jarg3 ? true : false;
arg4 = jarg4 ? true : false;
result = (btBvhTriangleMeshShape *)new_btBvhTriangleMeshShape__SWIG_0(arg1,arg2,arg3,arg4);
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhTriangleMeshShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jlong jresult = 0 ;
bool arg1 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
bool arg3 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = jarg1 ? true : false;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = jarg3 ? true : false;
result = (btBvhTriangleMeshShape *)new_btBvhTriangleMeshShape__SWIG_0(arg1,arg2,arg3);
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhTriangleMeshShape_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_, jboolean jarg3, jobject jarg4, jobject jarg5, jboolean jarg6) {
jlong jresult = 0 ;
bool arg1 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
bool arg3 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
bool arg6 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = jarg1 ? true : false;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = jarg3 ? true : false;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = jarg6 ? true : false;
result = (btBvhTriangleMeshShape *)new_btBvhTriangleMeshShape__SWIG_2(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6);
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhTriangleMeshShape_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_, jboolean jarg3, jobject jarg4, jobject jarg5) {
jlong jresult = 0 ;
bool arg1 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
bool arg3 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
arg1 = jarg1 ? true : false;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = jarg3 ? true : false;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btBvhTriangleMeshShape *)new_btBvhTriangleMeshShape__SWIG_2(arg1,arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1collisionShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_collisionShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1collisionShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (btCollisionShapeData *)& ((arg1)->m_collisionShapeData);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1meshInterface_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btStridingMeshInterfaceData *arg2 = (btStridingMeshInterfaceData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = *(btStridingMeshInterfaceData **)&jarg2;
if (arg1) (arg1)->m_meshInterface = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1meshInterface_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btStridingMeshInterfaceData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (btStridingMeshInterfaceData *)& ((arg1)->m_meshInterface);
*(btStridingMeshInterfaceData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1quantizedFloatBvh_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btQuantizedBvhFloatData *arg2 = (btQuantizedBvhFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = *(btQuantizedBvhFloatData **)&jarg2;
if (arg1) (arg1)->m_quantizedFloatBvh = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1quantizedFloatBvh_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btQuantizedBvhFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (btQuantizedBvhFloatData *) ((arg1)->m_quantizedFloatBvh);
*(btQuantizedBvhFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1quantizedDoubleBvh_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btQuantizedBvhDoubleData *arg2 = (btQuantizedBvhDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = *(btQuantizedBvhDoubleData **)&jarg2;
if (arg1) (arg1)->m_quantizedDoubleBvh = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1quantizedDoubleBvh_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btQuantizedBvhDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (btQuantizedBvhDoubleData *) ((arg1)->m_quantizedDoubleBvh);
*(btQuantizedBvhDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1triangleInfoMap_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btTriangleInfoMapData *arg2 = (btTriangleInfoMapData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = *(btTriangleInfoMapData **)&jarg2;
if (arg1) (arg1)->m_triangleInfoMap = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1triangleInfoMap_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
btTriangleInfoMapData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (btTriangleInfoMapData *) ((arg1)->m_triangleInfoMap);
*(btTriangleInfoMapData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1collisionMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_collisionMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1collisionMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (float) ((arg1)->m_collisionMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1pad3_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad3, (const char *)arg2, 4-1);
arg1->m_pad3[4-1] = 0;
} else {
arg1->m_pad3[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShapeData_1pad3_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleMeshShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleMeshShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleMeshShapeData *)new btTriangleMeshShapeData();
*(btTriangleMeshShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleMeshShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleMeshShapeData *arg1 = (btTriangleMeshShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleMeshShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBoxShape *arg1 = (btBoxShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBoxShape *arg1 = (btBoxShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBoxShape *arg1 = (btBoxShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBoxShape *arg1 = (btBoxShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1getHalfExtentsWithMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
result = ((btBoxShape const *)arg1)->getHalfExtentsWithMargin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1getHalfExtentsWithoutMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxShape **)&jarg1;
result = (btVector3 *) &((btBoxShape const *)arg1)->getHalfExtentsWithoutMargin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBoxShape(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btBoxShape *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
result = (btBoxShape *)new btBoxShape((btVector3 const &)*arg1);
*(btBoxShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1getPlaneEquation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btBoxShape *arg1 = (btBoxShape *) 0 ;
btVector4 *arg2 = 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
arg3 = (int)jarg3;
((btBoxShape const *)arg1)->getPlaneEquation(*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBoxShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBoxShape *arg1 = (btBoxShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBoxShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCapsuleShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btCapsuleShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btCapsuleShape *)new btCapsuleShape(arg1,arg2);
*(btCapsuleShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1getUpAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
result = (int)((btCapsuleShape const *)arg1)->getUpAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1getRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
result = (btScalar)((btCapsuleShape const *)arg1)->getRadius();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1getHalfHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShape **)&jarg1;
result = (btScalar)((btCapsuleShape const *)arg1)->getHalfHeight();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1deSerializeFloat(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
btCapsuleShapeData *arg2 = (btCapsuleShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCapsuleShape **)&jarg1;
arg2 = *(btCapsuleShapeData **)&jarg2;
(arg1)->deSerializeFloat(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCapsuleShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCapsuleShape *arg1 = (btCapsuleShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCapsuleShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCapsuleShapeX(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btCapsuleShapeX *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btCapsuleShapeX *)new btCapsuleShapeX(arg1,arg2);
*(btCapsuleShapeX **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCapsuleShapeX(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCapsuleShapeX *arg1 = (btCapsuleShapeX *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCapsuleShapeX **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCapsuleShapeZ(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btCapsuleShapeZ *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btCapsuleShapeZ *)new btCapsuleShapeZ(arg1,arg2);
*(btCapsuleShapeZ **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCapsuleShapeZ(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCapsuleShapeZ *arg1 = (btCapsuleShapeZ *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCapsuleShapeZ **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeData_1convexInternalShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
btConvexInternalShapeData *arg2 = (btConvexInternalShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCapsuleShapeData **)&jarg1;
arg2 = *(btConvexInternalShapeData **)&jarg2;
if (arg1) (arg1)->m_convexInternalShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeData_1convexInternalShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
btConvexInternalShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShapeData **)&jarg1;
result = (btConvexInternalShapeData *)& ((arg1)->m_convexInternalShapeData);
*(btConvexInternalShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeData_1upAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_upAxis = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeData_1upAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShapeData **)&jarg1;
result = (int) ((arg1)->m_upAxis);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCapsuleShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCapsuleShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCapsuleShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCapsuleShapeData *)new btCapsuleShapeData();
*(btCapsuleShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCapsuleShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCapsuleShapeData *arg1 = (btCapsuleShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCapsuleShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getHalfExtentsWithMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
result = ((btBox2dShape const *)arg1)->getHalfExtentsWithMargin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getHalfExtentsWithoutMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
result = (btVector3 *) &((btBox2dShape const *)arg1)->getHalfExtentsWithoutMargin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBox2dShape(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btBox2dShape *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
result = (btBox2dShape *)new btBox2dShape((btVector3 const &)*arg1);
*(btBox2dShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getVertexCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
result = (int)((btBox2dShape const *)arg1)->getVertexCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
result = (btVector3 *)((btBox2dShape const *)arg1)->getVertices();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getNormals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
result = (btVector3 *)((btBox2dShape const *)arg1)->getNormals();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getCentroid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBox2dShape **)&jarg1;
result = (btVector3 *) &((btBox2dShape const *)arg1)->getCentroid();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1getPlaneEquation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
btVector4 *arg2 = 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBox2dShape **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
arg3 = (int)jarg3;
((btBox2dShape const *)arg1)->getPlaneEquation(*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBox2dShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBox2dShape *arg1 = (btBox2dShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBox2dShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1vertices1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_vertices1;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1vertices1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_vertices1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1getVertexPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &(arg1)->getVertexPtr(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1getVertexPtrConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btTriangleShape const *)arg1)->getVertexPtr(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleShape *)new btTriangleShape();
*(btTriangleShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btTriangleShape *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btTriangleShape *)new btTriangleShape((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btTriangleShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1calcNormal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((btTriangleShape const *)arg1)->calcNormal(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1getPlaneEquation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShape **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btTriangleShape const *)arg1)->getPlaneEquation(arg2,*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleShape *arg1 = (btTriangleShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSphereShape *arg1 = (btSphereShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSphereShape *arg1 = (btSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSphereShape *arg1 = (btSphereShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSphereShape *arg1 = (btSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btSphereShape *arg1 = (btSphereShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSphereShape *arg1 = (btSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btSphereShape *arg1 = (btSphereShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btSphereShape *arg1 = (btSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereShape(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
jlong jresult = 0 ;
btScalar arg1 ;
btSphereShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
result = (btSphereShape *)new btSphereShape(arg1);
*(btSphereShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1getRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btSphereShape *arg1 = (btSphereShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
result = (btScalar)((btSphereShape const *)arg1)->getRadius();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1setUnscaledRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSphereShape *arg1 = (btSphereShape *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setUnscaledRadius(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereShape *arg1 = (btSphereShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btStridingMeshInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btStridingMeshInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1InternalProcessAllTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btInternalTriangleIndexCallback *arg2 = (btInternalTriangleIndexCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = *(btInternalTriangleIndexCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btStridingMeshInterface const *)arg1)->InternalProcessAllTriangles(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1calculateAabbBruteForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calculateAabbBruteForce(*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getLockedVertexIndexBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9, jint jarg10) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
int arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg10 = (int)jarg10;
(arg1)->getLockedVertexIndexBase(arg2,*arg3,*arg4,*arg5,arg6,*arg7,*arg8,*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getLockedVertexIndexBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
(arg1)->getLockedVertexIndexBase(arg2,*arg3,*arg4,*arg5,arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getLockedReadOnlyVertexIndexBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9, jint jarg10) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
int arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg10 = (int)jarg10;
((btStridingMeshInterface const *)arg1)->getLockedReadOnlyVertexIndexBase((unsigned char const **)arg2,*arg3,*arg4,*arg5,(unsigned char const **)arg6,*arg7,*arg8,*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getLockedReadOnlyVertexIndexBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
((btStridingMeshInterface const *)arg1)->getLockedReadOnlyVertexIndexBase((unsigned char const **)arg2,*arg3,*arg4,*arg5,(unsigned char const **)arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1unLockVertexBase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (int)jarg2;
(arg1)->unLockVertexBase(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1unLockReadOnlyVertexBase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (int)jarg2;
((btStridingMeshInterface const *)arg1)->unLockReadOnlyVertexBase(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getNumSubParts(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
result = (int)((btStridingMeshInterface const *)arg1)->getNumSubParts();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1preallocateVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (int)jarg2;
(arg1)->preallocateVertices(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1preallocateIndices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (int)jarg2;
(arg1)->preallocateIndices(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1hasPremadeAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
result = (bool)((btStridingMeshInterface const *)arg1)->hasPremadeAabb();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1setPremadeAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btStridingMeshInterface const *)arg1)->setPremadeAabb((btVector3 const &)*arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getPremadeAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
((btStridingMeshInterface const *)arg1)->getPremadeAabb(arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1getScaling(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
result = (btVector3 *) &((btStridingMeshInterface const *)arg1)->getScaling();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1setScaling(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setScaling((btVector3 const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
result = (int)((btStridingMeshInterface const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterface_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btStridingMeshInterface const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIntIndexData_1value_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIntIndexData *arg1 = (btIntIndexData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIntIndexData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_value = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIntIndexData_1value_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIntIndexData *arg1 = (btIntIndexData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIntIndexData **)&jarg1;
result = (int) ((arg1)->m_value);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btIntIndexData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btIntIndexData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btIntIndexData *)new btIntIndexData();
*(btIntIndexData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btIntIndexData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btIntIndexData *arg1 = (btIntIndexData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btIntIndexData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexData_1value_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2) {
btShortIntIndexData *arg1 = (btShortIntIndexData *) 0 ;
short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexData **)&jarg1;
arg2 = (short)jarg2;
if (arg1) (arg1)->m_value = arg2;
}
SWIGEXPORT jshort JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexData_1value_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jshort jresult = 0 ;
btShortIntIndexData *arg1 = (btShortIntIndexData *) 0 ;
short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexData **)&jarg1;
result = (short) ((arg1)->m_value);
jresult = (jshort)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btShortIntIndexData *arg1 = (btShortIntIndexData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 2-1);
arg1->m_pad[2-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btShortIntIndexData *arg1 = (btShortIntIndexData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btShortIntIndexData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btShortIntIndexData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btShortIntIndexData *)new btShortIntIndexData();
*(btShortIntIndexData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btShortIntIndexData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btShortIntIndexData *arg1 = (btShortIntIndexData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btShortIntIndexData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexTripletData_1values_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshortArray jarg2) {
btShortIntIndexTripletData *arg1 = (btShortIntIndexTripletData *) 0 ;
short *arg2 ;
jshort *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexTripletData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInShort(jenv, &jarr2, (short **)&arg2, jarg2)) return ;
{
size_t ii;
short *b = (short *) arg1->m_values;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((short *) arg2 + ii);
}
SWIG_JavaArrayArgoutShort(jenv, jarr2, (short *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jshortArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexTripletData_1values_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jshortArray jresult = 0 ;
btShortIntIndexTripletData *arg1 = (btShortIntIndexTripletData *) 0 ;
short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexTripletData **)&jarg1;
result = (short *)(short *) ((arg1)->m_values);
jresult = SWIG_JavaArrayOutShort(jenv, (short *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexTripletData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btShortIntIndexTripletData *arg1 = (btShortIntIndexTripletData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexTripletData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_pad, (const char *)arg2, 2-1);
arg1->m_pad[2-1] = 0;
} else {
arg1->m_pad[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShortIntIndexTripletData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btShortIntIndexTripletData *arg1 = (btShortIntIndexTripletData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShortIntIndexTripletData **)&jarg1;
result = (char *)(char *) ((arg1)->m_pad);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btShortIntIndexTripletData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btShortIntIndexTripletData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btShortIntIndexTripletData *)new btShortIntIndexTripletData();
*(btShortIntIndexTripletData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btShortIntIndexTripletData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btShortIntIndexTripletData *arg1 = (btShortIntIndexTripletData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btShortIntIndexTripletData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCharIndexTripletData_1values_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshortArray jarg2) {
btCharIndexTripletData *arg1 = (btCharIndexTripletData *) 0 ;
unsigned char *arg2 ;
jshort *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharIndexTripletData **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUchar(jenv, &jarr2, (unsigned char **)&arg2, jarg2)) return ;
{
size_t ii;
unsigned char *b = (unsigned char *) arg1->m_values;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned char *) arg2 + ii);
}
SWIG_JavaArrayArgoutUchar(jenv, jarr2, (unsigned char *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jshortArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCharIndexTripletData_1values_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jshortArray jresult = 0 ;
btCharIndexTripletData *arg1 = (btCharIndexTripletData *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharIndexTripletData **)&jarg1;
result = (unsigned char *)(unsigned char *) ((arg1)->m_values);
jresult = SWIG_JavaArrayOutUchar(jenv, (unsigned char *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCharIndexTripletData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jchar jarg2) {
btCharIndexTripletData *arg1 = (btCharIndexTripletData *) 0 ;
char arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharIndexTripletData **)&jarg1;
arg2 = (char)jarg2;
if (arg1) (arg1)->m_pad = arg2;
}
SWIGEXPORT jchar JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCharIndexTripletData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jchar jresult = 0 ;
btCharIndexTripletData *arg1 = (btCharIndexTripletData *) 0 ;
char result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCharIndexTripletData **)&jarg1;
result = (char) ((arg1)->m_pad);
jresult = (jchar)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCharIndexTripletData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCharIndexTripletData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCharIndexTripletData *)new btCharIndexTripletData();
*(btCharIndexTripletData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCharIndexTripletData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCharIndexTripletData *arg1 = (btCharIndexTripletData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCharIndexTripletData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1vertices3f_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_vertices3f = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1vertices3f_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (btVector3FloatData *) ((arg1)->m_vertices3f);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1vertices3d_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_vertices3d = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1vertices3d_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (btVector3DoubleData *) ((arg1)->m_vertices3d);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1indices32_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btIntIndexData *arg2 = (btIntIndexData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = *(btIntIndexData **)&jarg2;
if (arg1) (arg1)->m_indices32 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1indices32_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btIntIndexData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (btIntIndexData *) ((arg1)->m_indices32);
*(btIntIndexData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_13indices16_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btShortIntIndexTripletData *arg2 = (btShortIntIndexTripletData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = *(btShortIntIndexTripletData **)&jarg2;
if (arg1) (arg1)->m_3indices16 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_13indices16_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btShortIntIndexTripletData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (btShortIntIndexTripletData *) ((arg1)->m_3indices16);
*(btShortIntIndexTripletData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_13indices8_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btCharIndexTripletData *arg2 = (btCharIndexTripletData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = *(btCharIndexTripletData **)&jarg2;
if (arg1) (arg1)->m_3indices8 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_13indices8_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btCharIndexTripletData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (btCharIndexTripletData *) ((arg1)->m_3indices8);
*(btCharIndexTripletData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1indices16_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btShortIntIndexData *arg2 = (btShortIntIndexData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = *(btShortIntIndexData **)&jarg2;
if (arg1) (arg1)->m_indices16 = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1indices16_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
btShortIntIndexData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (btShortIntIndexData *) ((arg1)->m_indices16);
*(btShortIntIndexData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1numTriangles_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numTriangles = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1numTriangles_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (int) ((arg1)->m_numTriangles);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1numVertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numVertices = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMeshPartData_1numVertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMeshPartData **)&jarg1;
result = (int) ((arg1)->m_numVertices);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMeshPartData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMeshPartData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMeshPartData *)new btMeshPartData();
*(btMeshPartData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMeshPartData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMeshPartData *arg1 = (btMeshPartData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMeshPartData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1meshPartsPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
btMeshPartData *arg2 = (btMeshPartData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
arg2 = *(btMeshPartData **)&jarg2;
if (arg1) (arg1)->m_meshPartsPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1meshPartsPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
btMeshPartData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
result = (btMeshPartData *) ((arg1)->m_meshPartsPtr);
*(btMeshPartData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1scaling_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_scaling = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1scaling_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_scaling);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1numMeshParts_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numMeshParts = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1numMeshParts_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
result = (int) ((arg1)->m_numMeshParts);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStridingMeshInterfaceData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btStridingMeshInterfaceData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btStridingMeshInterfaceData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btStridingMeshInterfaceData *)new btStridingMeshInterfaceData();
*(btStridingMeshInterfaceData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btStridingMeshInterfaceData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btStridingMeshInterfaceData *arg1 = (btStridingMeshInterfaceData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btStridingMeshInterfaceData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMinkowskiSumShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btMinkowskiSumShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
result = (btMinkowskiSumShape *)new btMinkowskiSumShape((btConvexShape const *)arg1,(btConvexShape const *)arg2);
*(btMinkowskiSumShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1setTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setTransformA((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1setTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setTransformB((btTransform const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1getTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
result = (btTransform *) &((btMinkowskiSumShape const *)arg1)->getTransformA();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1GetTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
result = (btTransform *) &((btMinkowskiSumShape const *)arg1)->GetTransformB();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1getShapeA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
result = (btConvexShape *)((btMinkowskiSumShape const *)arg1)->getShapeA();
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1getShapeB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMinkowskiSumShape **)&jarg1;
result = (btConvexShape *)((btMinkowskiSumShape const *)arg1)->getShapeB();
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMinkowskiSumShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMinkowskiSumShape *arg1 = (btMinkowskiSumShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMinkowskiSumShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFace_1indices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btFace *arg1 = (btFace *) 0 ;
btAlignedObjectArray< int > *arg2 = (btAlignedObjectArray< int > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btFace **)&jarg1;
arg2 = *(btAlignedObjectArray< int > **)&jarg2;
if (arg1) (arg1)->m_indices = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFace_1indices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btFace *arg1 = (btFace *) 0 ;
btAlignedObjectArray< int > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btFace **)&jarg1;
result = (btAlignedObjectArray< int > *)& ((arg1)->m_indices);
*(btAlignedObjectArray< int > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFace_1plane_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btFace *arg1 = (btFace *) 0 ;
btScalar *arg2 ;
jfloat *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btFace **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 4) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInFloat(jenv, &jarr2, (float **)&arg2, jarg2)) return ;
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_plane;
for (ii = 0; ii < (size_t)4; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
SWIG_JavaArrayArgoutFloat(jenv, jarr2, (float *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFace_1plane_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btFace *arg1 = (btFace *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btFace **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_plane);
jresult = SWIG_JavaArrayOutFloat(jenv, (float *)result, 4);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btFace(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btFace *result = 0 ;
(void)jenv;
(void)jcls;
result = (btFace *)new btFace();
*(btFace **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btFace(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btFace *arg1 = (btFace *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btFace **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexPolyhedron(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexPolyhedron *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexPolyhedron *)new btConvexPolyhedron();
*(btConvexPolyhedron **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexPolyhedron(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexPolyhedron **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1vertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btAlignedObjectArray< btVector3 > *arg2 = (btAlignedObjectArray< btVector3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btAlignedObjectArray< btVector3 > **)&jarg2;
if (arg1) (arg1)->m_vertices = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1vertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btAlignedObjectArray< btVector3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btAlignedObjectArray< btVector3 > *)& ((arg1)->m_vertices);
*(btAlignedObjectArray< btVector3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1faces_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btAlignedObjectArray< btFace > *arg2 = (btAlignedObjectArray< btFace > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btAlignedObjectArray< btFace > **)&jarg2;
if (arg1) (arg1)->m_faces = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1faces_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btAlignedObjectArray< btFace > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btAlignedObjectArray< btFace > *)& ((arg1)->m_faces);
*(btAlignedObjectArray< btFace > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1uniqueEdges_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btAlignedObjectArray< btVector3 > *arg2 = (btAlignedObjectArray< btVector3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btAlignedObjectArray< btVector3 > **)&jarg2;
if (arg1) (arg1)->m_uniqueEdges = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1uniqueEdges_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btAlignedObjectArray< btVector3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btAlignedObjectArray< btVector3 > *)& ((arg1)->m_uniqueEdges);
*(btAlignedObjectArray< btVector3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1localCenter_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_localCenter = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1localCenter_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btVector3 *)& ((arg1)->m_localCenter);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1extents_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_extents = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1extents_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btVector3 *)& ((arg1)->m_extents);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1radius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_radius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1radius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btScalar) ((arg1)->m_radius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1mC_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->mC = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1mC_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btVector3 *)& ((arg1)->mC);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1mE_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPolyhedron **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->mE = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1mE_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (btVector3 *)& ((arg1)->mE);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1initialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
(arg1)->initialize();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1testContainment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
result = (bool)((btConvexPolyhedron const *)arg1)->testContainment();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPolyhedron_1project(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jlong jarg5, jobject jarg6, jobject jarg7) {
btConvexPolyhedron *arg1 = (btConvexPolyhedron *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btVector3 *arg7 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPolyhedron **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btScalar **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg5 = *(btScalar **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
((btConvexPolyhedron const *)arg1)->project((btTransform const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,*arg6,*arg7);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btOptimizedBvh(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btOptimizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
result = (btOptimizedBvh *)new btOptimizedBvh();
*(btOptimizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btOptimizedBvh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btOptimizedBvh **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1build(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jobject jarg4, jobject jarg5) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
bool arg3 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = jarg3 ? true : false;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->build(arg2,arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1refit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->refit(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1refitPartial(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->refitPartial(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1updateBvhNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jint jarg5) {
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
int arg3 ;
int arg4 ;
int arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
(arg1)->updateBvhNodes(arg2,arg3,arg4,arg5);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1serializeInPlace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jboolean jarg4) {
jboolean jresult = 0 ;
btOptimizedBvh *arg1 = (btOptimizedBvh *) 0 ;
void *arg2 = (void *) 0 ;
unsigned int arg3 ;
bool arg4 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOptimizedBvh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (unsigned int)jarg3;
arg4 = jarg4 ? true : false;
result = (bool)((btOptimizedBvh const *)arg1)->serializeInPlace(arg2,arg3,arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1deSerializeInPlace(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jboolean jarg3) {
jlong jresult = 0 ;
void *arg1 = (void *) 0 ;
unsigned int arg2 ;
bool arg3 ;
btOptimizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
arg2 = (unsigned int)jarg2;
arg3 = jarg3 ? true : false;
result = (btOptimizedBvh *)btOptimizedBvh::deSerializeInPlace(arg1,arg2,arg3);
*(btOptimizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1vertex0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangle *arg1 = (btTriangle *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangle **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_vertex0 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1vertex0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangle *arg1 = (btTriangle *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
result = (btVector3 *)& ((arg1)->m_vertex0);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1vertex1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangle *arg1 = (btTriangle *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangle **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_vertex1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1vertex1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangle *arg1 = (btTriangle *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
result = (btVector3 *)& ((arg1)->m_vertex1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1vertex2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangle *arg1 = (btTriangle *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangle **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_vertex2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1vertex2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangle *arg1 = (btTriangle *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
result = (btVector3 *)& ((arg1)->m_vertex2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1partId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangle *arg1 = (btTriangle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_partId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1partId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangle *arg1 = (btTriangle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
result = (int) ((arg1)->m_partId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1triangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangle *arg1 = (btTriangle *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangle_1triangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangle *arg1 = (btTriangle *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangle **)&jarg1;
result = (int) ((arg1)->m_triangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangle(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangle *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangle *)new btTriangle();
*(btTriangle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangle *arg1 = (btTriangle *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangle **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleBuffer_1getNumTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleBuffer *arg1 = (btTriangleBuffer *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleBuffer **)&jarg1;
result = (int)((btTriangleBuffer const *)arg1)->getNumTriangles();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleBuffer_1getTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btTriangleBuffer *arg1 = (btTriangleBuffer *) 0 ;
int arg2 ;
btTriangle *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleBuffer **)&jarg1;
arg2 = (int)jarg2;
result = (btTriangle *) &((btTriangleBuffer const *)arg1)->getTriangle(arg2);
*(btTriangle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleBuffer_1clearBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btTriangleBuffer *arg1 = (btTriangleBuffer *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleBuffer **)&jarg1;
(arg1)->clearBuffer();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleBuffer(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleBuffer *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleBuffer *)new btTriangleBuffer();
*(btTriangleBuffer **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleBuffer *arg1 = (btTriangleBuffer *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleBuffer **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1numTriangles_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numTriangles = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1numTriangles_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (int) ((arg1)->m_numTriangles);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1triangleIndexBase_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_triangleIndexBase = arg2;
} else {
arg1->m_triangleIndexBase = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1triangleIndexBase_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (unsigned char *) ((arg1)->m_triangleIndexBase);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1triangleIndexStride_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleIndexStride = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1triangleIndexStride_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (int) ((arg1)->m_triangleIndexStride);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1numVertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numVertices = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1numVertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (int) ((arg1)->m_numVertices);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1vertexBase_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_vertexBase = arg2;
} else {
arg1->m_vertexBase = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1vertexBase_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (unsigned char *) ((arg1)->m_vertexBase);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1vertexStride_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_vertexStride = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1vertexStride_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (int) ((arg1)->m_vertexStride);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1indexType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
PHY_ScalarType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (PHY_ScalarType)jarg2;
if (arg1) (arg1)->m_indexType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1indexType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
PHY_ScalarType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (PHY_ScalarType) ((arg1)->m_indexType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1vertexType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
PHY_ScalarType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
arg2 = (PHY_ScalarType)jarg2;
if (arg1) (arg1)->m_vertexType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1vertexType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
PHY_ScalarType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
result = (PHY_ScalarType) ((arg1)->m_vertexType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btIndexedMesh(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btIndexedMesh *result = 0 ;
(void)jenv;
(void)jcls;
result = (btIndexedMesh *)new btIndexedMesh();
*(btIndexedMesh **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1setTriangleIndexBase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
short *arg2 = (short *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
{
arg2 = (short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btIndexedMesh_setTriangleIndexBase(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1setVertexBase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
float *arg2 = (float *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
{
arg2 = (float*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btIndexedMesh_setVertexBase(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1setVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3, jint jarg4, jint jarg5) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
float *arg2 = (float *) 0 ;
int arg3 ;
int arg4 ;
int arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
{
arg2 = (float*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
btIndexedMesh_setVertices(arg1,arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btIndexedMesh_1setIndices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3, jint jarg4) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
short *arg2 = (short *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btIndexedMesh **)&jarg1;
{
arg2 = (short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
btIndexedMesh_setIndices(arg1,arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btIndexedMesh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btIndexedMesh *arg1 = (btIndexedMesh *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btIndexedMesh **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleIndexVertexArray(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleIndexVertexArray *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleIndexVertexArray *)new btTriangleIndexVertexArray();
*(btTriangleIndexVertexArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleIndexVertexArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1internalAddIndexedMesh_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
btIndexedMesh *arg2 = 0 ;
PHY_ScalarType arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = *(btIndexedMesh **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btIndexedMesh const & reference is null");
return ;
}
arg3 = (PHY_ScalarType)jarg3;
(arg1)->addIndexedMesh((btIndexedMesh const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1internalAddIndexedMesh_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
btIndexedMesh *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = *(btIndexedMesh **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btIndexedMesh const & reference is null");
return ;
}
(arg1)->addIndexedMesh((btIndexedMesh const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1getLockedVertexIndexBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9, jint jarg10) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
int arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg10 = (int)jarg10;
(arg1)->getLockedVertexIndexBase(arg2,*arg3,*arg4,*arg5,arg6,*arg7,*arg8,*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1getLockedVertexIndexBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
(arg1)->getLockedVertexIndexBase(arg2,*arg3,*arg4,*arg5,arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1getLockedReadOnlyVertexIndexBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9, jint jarg10) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
int arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg10 = (int)jarg10;
((btTriangleIndexVertexArray const *)arg1)->getLockedReadOnlyVertexIndexBase((unsigned char const **)arg2,*arg3,*arg4,*arg5,(unsigned char const **)arg6,*arg7,*arg8,*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1getLockedReadOnlyVertexIndexBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
((btTriangleIndexVertexArray const *)arg1)->getLockedReadOnlyVertexIndexBase((unsigned char const **)arg2,*arg3,*arg4,*arg5,(unsigned char const **)arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1getIndexedMeshArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleIndexVertexArray *arg1 = (btTriangleIndexVertexArray *) 0 ;
IndexedMeshArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexArray **)&jarg1;
result = (IndexedMeshArray *) &((btTriangleIndexVertexArray const *)arg1)->getIndexedMeshArray();
*(IndexedMeshArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterial_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMaterial *arg1 = (btMaterial *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterial **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterial_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMaterial *arg1 = (btMaterial *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterial **)&jarg1;
result = (btScalar) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterial_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMaterial *arg1 = (btMaterial *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterial **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterial_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMaterial *arg1 = (btMaterial *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterial **)&jarg1;
result = (btScalar) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterial_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
btMaterial *arg1 = (btMaterial *) 0 ;
int *arg2 ;
jint *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterial **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 2) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInInt(jenv, &jarr2, (int **)&arg2, jarg2)) return ;
{
size_t ii;
int *b = (int *) arg1->pad;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((int *) arg2 + ii);
}
SWIG_JavaArrayArgoutInt(jenv, jarr2, (int *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterial_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
btMaterial *arg1 = (btMaterial *) 0 ;
int *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterial **)&jarg1;
result = (int *)(int *) ((arg1)->pad);
jresult = SWIG_JavaArrayOutInt(jenv, (int *)result, 2);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMaterial_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMaterial *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMaterial *)new btMaterial();
*(btMaterial **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMaterial_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btMaterial *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btMaterial *)new btMaterial(arg1,arg2);
*(btMaterial **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMaterial(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMaterial *arg1 = (btMaterial *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMaterial **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btScaledBvhTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btVector3 *arg2 = 0 ;
btScaledBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btScaledBvhTriangleMeshShape *)new btScaledBvhTriangleMeshShape(arg1,(btVector3 const &)*arg2);
*(btScaledBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btScaledBvhTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1getChildShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
result = (btBvhTriangleMeshShape *)(arg1)->getChildShape();
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1getChildShapeConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btScaledBvhTriangleMeshShape *arg1 = (btScaledBvhTriangleMeshShape *) 0 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledBvhTriangleMeshShape **)&jarg1;
result = (btBvhTriangleMeshShape *)((btScaledBvhTriangleMeshShape const *)arg1)->getChildShape();
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledTriangleMeshShapeData_1trimeshShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btScaledTriangleMeshShapeData *arg1 = (btScaledTriangleMeshShapeData *) 0 ;
btTriangleMeshShapeData *arg2 = (btTriangleMeshShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btScaledTriangleMeshShapeData **)&jarg1;
arg2 = *(btTriangleMeshShapeData **)&jarg2;
if (arg1) (arg1)->m_trimeshShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledTriangleMeshShapeData_1trimeshShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btScaledTriangleMeshShapeData *arg1 = (btScaledTriangleMeshShapeData *) 0 ;
btTriangleMeshShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledTriangleMeshShapeData **)&jarg1;
result = (btTriangleMeshShapeData *)& ((arg1)->m_trimeshShapeData);
*(btTriangleMeshShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledTriangleMeshShapeData_1localScaling_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btScaledTriangleMeshShapeData *arg1 = (btScaledTriangleMeshShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btScaledTriangleMeshShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_localScaling = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledTriangleMeshShapeData_1localScaling_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btScaledTriangleMeshShapeData *arg1 = (btScaledTriangleMeshShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btScaledTriangleMeshShapeData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_localScaling);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btScaledTriangleMeshShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btScaledTriangleMeshShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btScaledTriangleMeshShapeData *)new btScaledTriangleMeshShapeData();
*(btScaledTriangleMeshShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btScaledTriangleMeshShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btScaledTriangleMeshShapeData *arg1 = (btScaledTriangleMeshShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btScaledTriangleMeshShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btShapeHull *arg1 = (btShapeHull *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btShapeHull *arg1 = (btShapeHull *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btShapeHull *arg1 = (btShapeHull *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btShapeHull *arg1 = (btShapeHull *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btShapeHull(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btShapeHull *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
result = (btShapeHull *)new btShapeHull((btConvexShape const *)arg1);
*(btShapeHull **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btShapeHull(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btShapeHull *arg1 = (btShapeHull *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btShapeHull **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1buildHull(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jboolean jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
btScalar arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (btScalar)jarg2;
result = (bool)(arg1)->buildHull(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1numTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
result = (int)((btShapeHull const *)arg1)->numTriangles();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1numVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
result = (int)((btShapeHull const *)arg1)->numVertices();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1numIndices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
result = (int)((btShapeHull const *)arg1)->numIndices();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1getVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &btShapeHull_getVertex(arg1,arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btShapeHull_1getIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
arg2 = (int)jarg2;
result = (int)btShapeHull_getIndex(arg1,arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexHullShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btScalar *arg1 = (btScalar *) 0 ;
int arg2 ;
int arg3 ;
btConvexHullShape *result = 0 ;
(void)jenv;
(void)jcls;
{
arg1 = (btScalar*)jenv->GetDirectBufferAddress(jarg1);
if (arg1 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btConvexHullShape *)new btConvexHullShape((btScalar const *)arg1,arg2,arg3);
*(btConvexHullShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexHullShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jint jarg2) {
jlong jresult = 0 ;
btScalar *arg1 = (btScalar *) 0 ;
int arg2 ;
btConvexHullShape *result = 0 ;
(void)jenv;
(void)jcls;
{
arg1 = (btScalar*)jenv->GetDirectBufferAddress(jarg1);
if (arg1 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg2 = (int)jarg2;
result = (btConvexHullShape *)new btConvexHullShape((btScalar const *)arg1,arg2);
*(btConvexHullShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexHullShape_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btScalar *arg1 = (btScalar *) 0 ;
btConvexHullShape *result = 0 ;
(void)jenv;
(void)jcls;
{
arg1 = (btScalar*)jenv->GetDirectBufferAddress(jarg1);
if (arg1 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
result = (btConvexHullShape *)new btConvexHullShape((btScalar const *)arg1);
*(btConvexHullShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexHullShape_1_1SWIG_13(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexHullShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexHullShape *)new btConvexHullShape();
*(btConvexHullShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1addPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
btVector3 *arg2 = 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
(arg1)->addPoint((btVector3 const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1addPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addPoint((btVector3 const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1getUnscaledPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
result = (btVector3 *)(arg1)->getUnscaledPoints();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1getUnscaledPointsConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
result = (btVector3 *)((btConvexHullShape const *)arg1)->getUnscaledPoints();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1getPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
result = (btVector3 *)((btConvexHullShape const *)arg1)->getPoints();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1optimizeConvexHull(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
(arg1)->optimizeConvexHull();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1getScaledPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
int arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
arg2 = (int)jarg2;
result = ((btConvexHullShape const *)arg1)->getScaledPoint(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1getNumPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShape **)&jarg1;
result = (int)((btConvexHullShape const *)arg1)->getNumPoints();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexHullShape_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btShapeHull *arg1 = (btShapeHull *) 0 ;
btConvexHullShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btShapeHull **)&jarg1;
result = (btConvexHullShape *)new_btConvexHullShape__SWIG_4((btShapeHull const *)arg1);
*(btConvexHullShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexHullShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexHullShape *arg1 = (btConvexHullShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexHullShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1convexInternalShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
btConvexInternalShapeData *arg2 = (btConvexInternalShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexHullShapeData **)&jarg1;
arg2 = *(btConvexInternalShapeData **)&jarg2;
if (arg1) (arg1)->m_convexInternalShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1convexInternalShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
btConvexInternalShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
result = (btConvexInternalShapeData *)& ((arg1)->m_convexInternalShapeData);
*(btConvexInternalShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1unscaledPointsFloatPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexHullShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_unscaledPointsFloatPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1unscaledPointsFloatPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
result = (btVector3FloatData *) ((arg1)->m_unscaledPointsFloatPtr);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1unscaledPointsDoublePtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexHullShapeData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_unscaledPointsDoublePtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1unscaledPointsDoublePtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
result = (btVector3DoubleData *) ((arg1)->m_unscaledPointsDoublePtr);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1numUnscaledPoints_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numUnscaledPoints = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1numUnscaledPoints_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
result = (int) ((arg1)->m_numUnscaledPoints);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1padding3_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding3, (const char *)arg2, 4-1);
arg1->m_padding3[4-1] = 0;
} else {
arg1->m_padding3[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShapeData_1padding3_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexHullShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexHullShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexHullShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexHullShapeData *)new btConvexHullShapeData();
*(btConvexHullShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexHullShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexHullShapeData *arg1 = (btConvexHullShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexHullShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1numMaterials_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numMaterials = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1numMaterials_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (int) ((arg1)->m_numMaterials);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1materialBase_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_materialBase = arg2;
} else {
arg1->m_materialBase = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1materialBase_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (unsigned char *) ((arg1)->m_materialBase);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1materialStride_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_materialStride = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1materialStride_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (int) ((arg1)->m_materialStride);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1materialType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
PHY_ScalarType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
arg2 = (PHY_ScalarType)jarg2;
if (arg1) (arg1)->m_materialType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1materialType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
PHY_ScalarType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (PHY_ScalarType) ((arg1)->m_materialType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1numTriangles_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numTriangles = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1numTriangles_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (int) ((arg1)->m_numTriangles);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1triangleMaterialsBase_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_triangleMaterialsBase = arg2;
} else {
arg1->m_triangleMaterialsBase = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1triangleMaterialsBase_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (unsigned char *) ((arg1)->m_triangleMaterialsBase);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1triangleMaterialStride_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleMaterialStride = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1triangleMaterialStride_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (int) ((arg1)->m_triangleMaterialStride);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1triangleType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
PHY_ScalarType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
arg2 = (PHY_ScalarType)jarg2;
if (arg1) (arg1)->m_triangleType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMaterialProperties_1triangleType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
PHY_ScalarType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMaterialProperties **)&jarg1;
result = (PHY_ScalarType) ((arg1)->m_triangleType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMaterialProperties(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMaterialProperties *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMaterialProperties *)new btMaterialProperties();
*(btMaterialProperties **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMaterialProperties(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMaterialProperties *arg1 = (btMaterialProperties *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMaterialProperties **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleIndexVertexMaterialArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleIndexVertexMaterialArray *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleIndexVertexMaterialArray *)new btTriangleIndexVertexMaterialArray();
*(btTriangleIndexVertexMaterialArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleIndexVertexMaterialArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jobject jarg2, jint jarg3, jint jarg4, jobject jarg5, jint jarg6, jint jarg7, jobject jarg8, jint jarg9, jobject jarg10, jint jarg11) {
jlong jresult = 0 ;
int arg1 ;
int *arg2 = (int *) 0 ;
int arg3 ;
int arg4 ;
btScalar *arg5 = (btScalar *) 0 ;
int arg6 ;
int arg7 ;
unsigned char *arg8 = (unsigned char *) 0 ;
int arg9 ;
int *arg10 = (int *) 0 ;
int arg11 ;
btTriangleIndexVertexMaterialArray *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
{
arg2 = (int*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
{
arg5 = (btScalar*)jenv->GetDirectBufferAddress(jarg5);
if (arg5 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg6 = (int)jarg6;
arg7 = (int)jarg7;
{
arg8 = (unsigned char*)jenv->GetDirectBufferAddress(jarg8);
if (arg8 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg9 = (int)jarg9;
{
arg10 = (int*)jenv->GetDirectBufferAddress(jarg10);
if (arg10 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg11 = (int)jarg11;
result = (btTriangleIndexVertexMaterialArray *)new btTriangleIndexVertexMaterialArray(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
*(btTriangleIndexVertexMaterialArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleIndexVertexMaterialArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1addMaterialProperties_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
btMaterialProperties *arg2 = 0 ;
PHY_ScalarType arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = *(btMaterialProperties **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMaterialProperties const & reference is null");
return ;
}
arg3 = (PHY_ScalarType)jarg3;
(arg1)->addMaterialProperties((btMaterialProperties const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1addMaterialProperties_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
btMaterialProperties *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = *(btMaterialProperties **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btMaterialProperties const & reference is null");
return ;
}
(arg1)->addMaterialProperties((btMaterialProperties const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1getLockedMaterialBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9, jint jarg10) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
int arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg10 = (int)jarg10;
(arg1)->getLockedMaterialBase(arg2,*arg3,*arg4,*arg5,arg6,*arg7,*arg8,*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1getLockedMaterialBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
(arg1)->getLockedMaterialBase(arg2,*arg3,*arg4,*arg5,arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1getLockedReadOnlyMaterialBase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9, jint jarg10) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
int arg10 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg10 = (int)jarg10;
(arg1)->getLockedReadOnlyMaterialBase((unsigned char const **)arg2,*arg3,*arg4,*arg5,(unsigned char const **)arg6,*arg7,*arg8,*arg9,arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1getLockedReadOnlyMaterialBase_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
btTriangleIndexVertexMaterialArray *arg1 = (btTriangleIndexVertexMaterialArray *) 0 ;
unsigned char **arg2 = (unsigned char **) 0 ;
int *arg3 = 0 ;
PHY_ScalarType *arg4 = 0 ;
int *arg5 = 0 ;
unsigned char **arg6 = (unsigned char **) 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
PHY_ScalarType *arg9 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleIndexVertexMaterialArray **)&jarg1;
arg2 = *(unsigned char ***)&jarg2;
arg3 = *(int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg4 = *(PHY_ScalarType **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
arg5 = *(int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg6 = *(unsigned char ***)&jarg6;
arg7 = *(int **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg8 = *(int **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
arg9 = *(PHY_ScalarType **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "PHY_ScalarType & reference is null");
return ;
}
(arg1)->getLockedReadOnlyMaterialBase((unsigned char const **)arg2,*arg3,*arg4,*arg5,(unsigned char const **)arg6,*arg7,*arg8,*arg9);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1getHalfExtentsWithMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
result = ((btCylinderShape const *)arg1)->getHalfExtentsWithMargin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1getHalfExtentsWithoutMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
result = (btVector3 *) &((btCylinderShape const *)arg1)->getHalfExtentsWithoutMargin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCylinderShape(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btCylinderShape *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
result = (btCylinderShape *)new btCylinderShape((btVector3 const &)*arg1);
*(btCylinderShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1getUpAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
result = (int)((btCylinderShape const *)arg1)->getUpAxis();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1getRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShape **)&jarg1;
result = (btScalar)((btCylinderShape const *)arg1)->getRadius();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCylinderShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCylinderShape *arg1 = (btCylinderShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCylinderShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeX **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCylinderShapeX(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btCylinderShapeX *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
result = (btCylinderShapeX *)new btCylinderShapeX((btVector3 const &)*arg1);
*(btCylinderShapeX **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCylinderShapeX(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCylinderShapeX *arg1 = (btCylinderShapeX *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCylinderShapeX **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeZ **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCylinderShapeZ(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btCylinderShapeZ *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
result = (btCylinderShapeZ *)new btCylinderShapeZ((btVector3 const &)*arg1);
*(btCylinderShapeZ **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCylinderShapeZ(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCylinderShapeZ *arg1 = (btCylinderShapeZ *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCylinderShapeZ **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeData_1convexInternalShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
btConvexInternalShapeData *arg2 = (btConvexInternalShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCylinderShapeData **)&jarg1;
arg2 = *(btConvexInternalShapeData **)&jarg2;
if (arg1) (arg1)->m_convexInternalShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeData_1convexInternalShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
btConvexInternalShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeData **)&jarg1;
result = (btConvexInternalShapeData *)& ((arg1)->m_convexInternalShapeData);
*(btConvexInternalShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeData_1upAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_upAxis = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeData_1upAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeData **)&jarg1;
result = (int) ((arg1)->m_upAxis);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCylinderShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCylinderShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCylinderShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCylinderShapeData *)new btCylinderShapeData();
*(btCylinderShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCylinderShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCylinderShapeData *arg1 = (btCylinderShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCylinderShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1weldingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_weldingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1weldingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
result = (btScalar) ((arg1)->m_weldingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleMesh_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jboolean jarg2) {
jlong jresult = 0 ;
bool arg1 ;
bool arg2 ;
btTriangleMesh *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
arg2 = jarg2 ? true : false;
result = (btTriangleMesh *)new btTriangleMesh(arg1,arg2);
*(btTriangleMesh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleMesh_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
jlong jresult = 0 ;
bool arg1 ;
btTriangleMesh *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
result = (btTriangleMesh *)new btTriangleMesh(arg1);
*(btTriangleMesh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleMesh_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleMesh *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleMesh *)new btTriangleMesh();
*(btTriangleMesh **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1getUse32bitIndices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
result = (bool)((btTriangleMesh const *)arg1)->getUse32bitIndices();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1getUse4componentVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
result = (bool)((btTriangleMesh const *)arg1)->getUse4componentVertices();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1addTriangle_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jboolean jarg5) {
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
(arg1)->addTriangle((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1addTriangle_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4) {
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->addTriangle((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1addTriangleIndices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addTriangleIndices(arg2,arg3,arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1getNumTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
result = (int)((btTriangleMesh const *)arg1)->getNumTriangles();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1findOrAddVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) {
jint jresult = 0 ;
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
btVector3 *arg2 = 0 ;
bool arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = jarg3 ? true : false;
result = (int)(arg1)->findOrAddVertex((btVector3 const &)*arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1addIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleMesh **)&jarg1;
arg2 = (int)jarg2;
(arg1)->addIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleMesh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleMesh *arg1 = (btTriangleMesh *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleMesh **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConeShape *arg1 = (btConeShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConeShape *arg1 = (btConeShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConeShape *arg1 = (btConeShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConeShape *arg1 = (btConeShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConeShape(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btConeShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btConeShape *)new btConeShape(arg1,arg2);
*(btConeShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1getRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
result = (btScalar)((btConeShape const *)arg1)->getRadius();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1getHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
result = (btScalar)((btConeShape const *)arg1)->getHeight();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1setRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeShape *arg1 = (btConeShape *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRadius(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1setHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConeShape *arg1 = (btConeShape *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setHeight(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1setConeUpIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConeShape *arg1 = (btConeShape *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setConeUpIndex(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1getConeUpIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeShape *arg1 = (btConeShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShape **)&jarg1;
result = (int)((btConeShape const *)arg1)->getConeUpIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConeShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeShape *arg1 = (btConeShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConeShapeX(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btConeShapeX *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btConeShapeX *)new btConeShapeX(arg1,arg2);
*(btConeShapeX **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConeShapeX(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeShapeX *arg1 = (btConeShapeX *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeShapeX **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConeShapeZ(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btScalar arg1 ;
btScalar arg2 ;
btConeShapeZ *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
arg2 = (btScalar)jarg2;
result = (btConeShapeZ *)new btConeShapeZ(arg1,arg2);
*(btConeShapeZ **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConeShapeZ(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeShapeZ *arg1 = (btConeShapeZ *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeShapeZ **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeData_1convexInternalShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
btConvexInternalShapeData *arg2 = (btConvexInternalShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConeShapeData **)&jarg1;
arg2 = *(btConvexInternalShapeData **)&jarg2;
if (arg1) (arg1)->m_convexInternalShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeData_1convexInternalShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
btConvexInternalShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShapeData **)&jarg1;
result = (btConvexInternalShapeData *)& ((arg1)->m_convexInternalShapeData);
*(btConvexInternalShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeData_1upIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_upIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeData_1upIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShapeData **)&jarg1;
result = (int) ((arg1)->m_upIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConeShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConeShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConeShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConeShapeData *)new btConeShapeData();
*(btConeShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConeShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConeShapeData *arg1 = (btConeShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConeShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexTriangleMeshShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
bool arg2 ;
btConvexTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = jarg2 ? true : false;
result = (btConvexTriangleMeshShape *)new btConvexTriangleMeshShape(arg1,arg2);
*(btConvexTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexTriangleMeshShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btConvexTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
result = (btConvexTriangleMeshShape *)new btConvexTriangleMeshShape(arg1);
*(btConvexTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1getMeshInterface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
result = (btStridingMeshInterface *)(arg1)->getMeshInterface();
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1getMeshInterfaceConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
result = (btStridingMeshInterface *)((btConvexTriangleMeshShape const *)arg1)->getMeshInterface();
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1calculatePrincipalAxisTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4) {
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
btTransform *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btScalar **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
((btConvexTriangleMeshShape const *)arg1)->calculatePrincipalAxisTransform(*arg2,*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexTriangleMeshShape *arg1 = (btConvexTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexTriangleMeshShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btEmptyShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btEmptyShape(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btEmptyShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btEmptyShape *)new btEmptyShape();
*(btEmptyShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btEmptyShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btEmptyShape *arg1 = (btEmptyShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btEmptyShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMultimaterialTriangleMeshShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jboolean jarg3) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
bool arg2 ;
bool arg3 ;
btMultimaterialTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = jarg2 ? true : false;
arg3 = jarg3 ? true : false;
result = (btMultimaterialTriangleMeshShape *)new btMultimaterialTriangleMeshShape(arg1,arg2,arg3);
*(btMultimaterialTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMultimaterialTriangleMeshShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
bool arg2 ;
btMultimaterialTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = jarg2 ? true : false;
result = (btMultimaterialTriangleMeshShape *)new btMultimaterialTriangleMeshShape(arg1,arg2);
*(btMultimaterialTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMultimaterialTriangleMeshShape_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jobject jarg3, jobject jarg4, jboolean jarg5) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
bool arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
bool arg5 ;
btMultimaterialTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = jarg2 ? true : false;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = jarg5 ? true : false;
result = (btMultimaterialTriangleMeshShape *)new btMultimaterialTriangleMeshShape(arg1,arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
*(btMultimaterialTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMultimaterialTriangleMeshShape_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
bool arg2 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btMultimaterialTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = jarg2 ? true : false;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btMultimaterialTriangleMeshShape *)new btMultimaterialTriangleMeshShape(arg1,arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btMultimaterialTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMultimaterialTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1getMaterialProperties(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btMultimaterialTriangleMeshShape *arg1 = (btMultimaterialTriangleMeshShape *) 0 ;
int arg2 ;
int arg3 ;
btMaterial *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultimaterialTriangleMeshShape **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btMaterial *)(arg1)->getMaterialProperties(arg2,arg3);
*(btMaterial **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBU_1Simplex1to4_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBU_Simplex1to4 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBU_Simplex1to4 *)new btBU_Simplex1to4();
*(btBU_Simplex1to4 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBU_1Simplex1to4_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btBU_Simplex1to4 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
result = (btBU_Simplex1to4 *)new btBU_Simplex1to4((btVector3 const &)*arg1);
*(btBU_Simplex1to4 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBU_1Simplex1to4_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btBU_Simplex1to4 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btBU_Simplex1to4 *)new btBU_Simplex1to4((btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btBU_Simplex1to4 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBU_1Simplex1to4_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBU_Simplex1to4 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btBU_Simplex1to4 *)new btBU_Simplex1to4((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btBU_Simplex1to4 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBU_1Simplex1to4_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btBU_Simplex1to4 *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (btBU_Simplex1to4 *)new btBU_Simplex1to4((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
*(btBU_Simplex1to4 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
(arg1)->reset();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1addVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->addVertex((btVector3 const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1getIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btBU_Simplex1to4 const *)arg1)->getIndex(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBU_1Simplex1to4(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBU_Simplex1to4 *arg1 = (btBU_Simplex1to4 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBU_Simplex1to4 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btUniformScalingShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btScalar arg2 ;
btUniformScalingShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = (btScalar)jarg2;
result = (btUniformScalingShape *)new btUniformScalingShape(arg1,arg2);
*(btUniformScalingShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btUniformScalingShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btUniformScalingShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1getUniformScalingFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
result = (btScalar)((btUniformScalingShape const *)arg1)->getUniformScalingFactor();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1getChildShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
result = (btConvexShape *)(arg1)->getChildShape();
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1getChildShapeConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btUniformScalingShape *arg1 = (btUniformScalingShape *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUniformScalingShape **)&jarg1;
result = (btConvexShape *)((btUniformScalingShape const *)arg1)->getChildShape();
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexPointCloudShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexPointCloudShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexPointCloudShape *)new btConvexPointCloudShape();
*(btConvexPointCloudShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexPointCloudShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jboolean jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
bool arg4 ;
btConvexPointCloudShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
result = (btConvexPointCloudShape *)new btConvexPointCloudShape(arg1,arg2,(btVector3 const &)*arg3,arg4);
*(btConvexPointCloudShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexPointCloudShape_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
btConvexPointCloudShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btConvexPointCloudShape *)new btConvexPointCloudShape(arg1,arg2,(btVector3 const &)*arg3);
*(btConvexPointCloudShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1setPoints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jboolean jarg4, jobject jarg5) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
bool arg4 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = jarg4 ? true : false;
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->setPoints(arg2,arg3,arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1setPoints_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jboolean jarg4) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = jarg4 ? true : false;
(arg1)->setPoints(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1setPoints_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
(arg1)->setPoints(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1getUnscaledPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
result = (btVector3 *)(arg1)->getUnscaledPoints();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1getUnscaledPointsConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
result = (btVector3 *)((btConvexPointCloudShape const *)arg1)->getUnscaledPoints();
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1getNumPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
result = (int)((btConvexPointCloudShape const *)arg1)->getNumPoints();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1getScaledPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
int arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPointCloudShape **)&jarg1;
arg2 = (int)jarg2;
result = ((btConvexPointCloudShape const *)arg1)->getScaledPoint(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexPointCloudShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexPointCloudShape *arg1 = (btConvexPointCloudShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexPointCloudShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvex2dShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvex2dShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
result = (btConvex2dShape *)new btConvex2dShape(arg1);
*(btConvex2dShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvex2dShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvex2dShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1getChildShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
result = (btConvexShape *)(arg1)->getChildShape();
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1getChildShapeConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvex2dShape *arg1 = (btConvex2dShape *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dShape **)&jarg1;
result = (btConvexShape *)((btConvex2dShape const *)arg1)->getChildShape();
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1mergesSimulationIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->mergesSimulationIslands();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getAnisotropicFriction_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btVector3 *) &((btCollisionObject const *)arg1)->getAnisotropicFriction();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setAnisotropicFriction_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (int)jarg3;
(arg1)->setAnisotropicFriction((btVector3 const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setAnisotropicFriction_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setAnisotropicFriction((btVector3 const &)*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1hasAnisotropicFriction_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btCollisionObject const *)arg1)->hasAnisotropicFriction(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1hasAnisotropicFriction_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->hasAnisotropicFriction();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setContactProcessingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setContactProcessingThreshold(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getContactProcessingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getContactProcessingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1isStaticObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->isStaticObject();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1isKinematicObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->isKinematicObject();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1isStaticOrKinematicObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->isStaticOrKinematicObject();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1hasContactResponse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->hasContactResponse();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObject(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionObject *)new btCollisionObject();
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObject(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionObject **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1internalSetCollisionShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
(arg1)->setCollisionShape(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1internalGetCollisionShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btCollisionShape *)((btCollisionObject const *)arg1)->getCollisionShape();
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setIgnoreCollisionCheck(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = jarg3 ? true : false;
(arg1)->setIgnoreCollisionCheck((btCollisionObject const *)arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1checkCollideWithOverride(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (bool)((btCollisionObject const *)arg1)->checkCollideWithOverride((btCollisionObject const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1internalGetExtensionPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (void *)((btCollisionObject const *)arg1)->internalGetExtensionPointer();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1internalSetExtensionPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->internalSetExtensionPointer(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getActivationState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getActivationState();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setActivationState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
((btCollisionObject const *)arg1)->setActivationState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setDeactivationTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDeactivationTime(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getDeactivationTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getDeactivationTime();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1forceActivationState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
((btCollisionObject const *)arg1)->forceActivationState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1activate_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = jarg2 ? true : false;
((btCollisionObject const *)arg1)->activate(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1activate_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
((btCollisionObject const *)arg1)->activate();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1isActive(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (bool)((btCollisionObject const *)arg1)->isActive();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRestitution(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getRestitution();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setFriction(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getFriction();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setRollingFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setRollingFriction(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getRollingFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getRollingFriction();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setSpinningFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setSpinningFriction(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getSpinningFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getSpinningFriction();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setContactStiffnessAndDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setContactStiffnessAndDamping(arg2,arg3);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getContactStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getContactStiffness();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getContactDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getContactDamping();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInternalType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getInternalType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getWorldTransform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btTransform *) &(arg1)->getWorldTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setWorldTransform((btTransform const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getBroadphaseHandle_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btBroadphaseProxy *)(arg1)->getBroadphaseHandle();
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setBroadphaseHandle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
(arg1)->setBroadphaseHandle(arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInterpolationWorldTransform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btTransform *) &((btCollisionObject const *)arg1)->getInterpolationWorldTransform();
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setInterpolationWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setInterpolationWorldTransform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setInterpolationLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setInterpolationLinearVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setInterpolationAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setInterpolationAngularVelocity((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInterpolationLinearVelocity_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btVector3 *) &((btCollisionObject const *)arg1)->getInterpolationLinearVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInterpolationAngularVelocity_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btVector3 *) &((btCollisionObject const *)arg1)->getInterpolationAngularVelocity();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getIslandTag(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getIslandTag();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setIslandTag(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setIslandTag(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getCompanionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getCompanionId();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setCompanionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setCompanionId(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getWorldArrayIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getWorldArrayIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setWorldArrayIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setWorldArrayIndex(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getHitFraction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getHitFraction();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setHitFraction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setHitFraction(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getCollisionFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getCollisionFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setCollisionFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setCollisionFlags(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getCcdSweptSphereRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getCcdSweptSphereRadius();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setCcdSweptSphereRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setCcdSweptSphereRadius(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getCcdMotionThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getCcdMotionThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getCcdSquareMotionThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btScalar)((btCollisionObject const *)arg1)->getCcdSquareMotionThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setCcdMotionThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setCcdMotionThreshold(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (void *)((btCollisionObject const *)arg1)->getUserPointer();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getUserIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getUserIndex2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getUserIndex2();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setUserPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->setUserPointer(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setUserIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setUserIndex2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setUserIndex2(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getUpdateRevisionInternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->getUpdateRevisionInternal();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1setCustomDebugColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setCustomDebugColor((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1removeCustomDebugColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
(arg1)->removeCustomDebugColor();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getCustomDebugColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)((btCollisionObject const *)arg1)->getCustomDebugColor(*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1checkCollideWith(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (bool)((btCollisionObject const *)arg1)->checkCollideWith((btCollisionObject const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (int)((btCollisionObject const *)arg1)->calculateSerializeBufferSize();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
jstring jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
void *arg2 = (void *) 0 ;
btSerializer *arg3 = (btSerializer *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (void *)jarg2;
arg3 = *(btSerializer **)&jarg3;
result = (char *)((btCollisionObject const *)arg1)->serialize(arg2,arg3);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1serializeSingleObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btSerializer *arg2 = (btSerializer *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btSerializer **)&jarg2;
((btCollisionObject const *)arg1)->serializeSingleObject(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1internalSetGdxBridge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
GdxCollisionObjectBridge *arg2 = (GdxCollisionObjectBridge *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(GdxCollisionObjectBridge **)&jarg2;
btCollisionObject_internalSetGdxBridge(arg1,arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1internalGetGdxBridge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
GdxCollisionObjectBridge *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (GdxCollisionObjectBridge *)btCollisionObject_internalGetGdxBridge(arg1);
*(GdxCollisionObjectBridge **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getAnisotropicFriction_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionObject_getAnisotropicFriction__SWIG_1(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getWorldTransform_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionObject_getWorldTransform__SWIG_2(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInterpolationWorldTransform_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionObject_getInterpolationWorldTransform__SWIG_2(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInterpolationLinearVelocity_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionObject_getInterpolationLinearVelocity__SWIG_1(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObject_1getInterpolationAngularVelocity_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionObject_getInterpolationAngularVelocity__SWIG_1(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1broadphaseHandle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_broadphaseHandle = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1broadphaseHandle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (void *) ((arg1)->m_broadphaseHandle);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1collisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_collisionShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1collisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (void *) ((arg1)->m_collisionShape);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1rootCollisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_rootCollisionShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1rootCollisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (btCollisionShapeData *) ((arg1)->m_rootCollisionShape);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_worldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_worldTransform);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1interpolationWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = *(btTransformDoubleData **)&jarg2;
if (arg1) (arg1)->m_interpolationWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1interpolationWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btTransformDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (btTransformDoubleData *)& ((arg1)->m_interpolationWorldTransform);
*(btTransformDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1interpolationLinearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_interpolationLinearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1interpolationLinearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_interpolationLinearVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1interpolationAngularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_interpolationAngularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1interpolationAngularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_interpolationAngularVelocity);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1anisotropicFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = *(btVector3DoubleData **)&jarg2;
if (arg1) (arg1)->m_anisotropicFriction = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1anisotropicFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
btVector3DoubleData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (btVector3DoubleData *)& ((arg1)->m_anisotropicFriction);
*(btVector3DoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1contactProcessingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_contactProcessingThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1contactProcessingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_contactProcessingThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1deactivationTime_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_deactivationTime = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1deactivationTime_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_deactivationTime);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_friction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1rollingFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_rollingFriction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1rollingFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_rollingFriction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1contactDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_contactDamping = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1contactDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_contactDamping);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1contactStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_contactStiffness = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1contactStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_contactStiffness);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_restitution);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1hitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_hitFraction = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1hitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_hitFraction);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1ccdSweptSphereRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_ccdSweptSphereRadius = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1ccdSweptSphereRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_ccdSweptSphereRadius);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1ccdMotionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (double)jarg2;
if (arg1) (arg1)->m_ccdMotionThreshold = arg2;
}
SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1ccdMotionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jdouble jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
double result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (double) ((arg1)->m_ccdMotionThreshold);
jresult = (jdouble)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1hasAnisotropicFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_hasAnisotropicFriction = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1hasAnisotropicFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_hasAnisotropicFriction);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1collisionFlags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFlags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1collisionFlags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_collisionFlags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1islandTag1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_islandTag1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1islandTag1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_islandTag1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1companionId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_companionId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1companionId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_companionId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1activationState1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_activationState1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1activationState1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_activationState1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1internalType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_internalType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1internalType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_internalType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1checkCollideWith_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_checkCollideWith = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1checkCollideWith_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (int) ((arg1)->m_checkCollideWith);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectDoubleData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionObjectDoubleData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionObjectDoubleData *)new btCollisionObjectDoubleData();
*(btCollisionObjectDoubleData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObjectDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionObjectDoubleData *arg1 = (btCollisionObjectDoubleData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionObjectDoubleData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1broadphaseHandle_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_broadphaseHandle = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1broadphaseHandle_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (void *) ((arg1)->m_broadphaseHandle);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1collisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_collisionShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1collisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (void *) ((arg1)->m_collisionShape);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1rootCollisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_rootCollisionShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1rootCollisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (btCollisionShapeData *) ((arg1)->m_rootCollisionShape);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
delete [] arg1->m_name;
if (arg2) {
arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->m_name, (const char *)arg2);
} else {
arg1->m_name = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (char *) ((arg1)->m_name);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_worldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_worldTransform);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1interpolationWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_interpolationWorldTransform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1interpolationWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_interpolationWorldTransform);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1interpolationLinearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_interpolationLinearVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1interpolationLinearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_interpolationLinearVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1interpolationAngularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_interpolationAngularVelocity = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1interpolationAngularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_interpolationAngularVelocity);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1anisotropicFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_anisotropicFriction = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1anisotropicFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_anisotropicFriction);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1contactProcessingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_contactProcessingThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1contactProcessingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_contactProcessingThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1deactivationTime_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_deactivationTime = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1deactivationTime_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_deactivationTime);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_friction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_friction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1rollingFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_rollingFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1rollingFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_rollingFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1contactDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_contactDamping = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1contactDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_contactDamping);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1contactStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_contactStiffness = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1contactStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_contactStiffness);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_restitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_restitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1hitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_hitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1hitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_hitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1ccdSweptSphereRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_ccdSweptSphereRadius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1ccdSweptSphereRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_ccdSweptSphereRadius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1ccdMotionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_ccdMotionThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1ccdMotionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (float) ((arg1)->m_ccdMotionThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1hasAnisotropicFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_hasAnisotropicFriction = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1hasAnisotropicFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_hasAnisotropicFriction);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1collisionFlags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFlags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1collisionFlags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_collisionFlags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1islandTag1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_islandTag1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1islandTag1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_islandTag1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1companionId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_companionId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1companionId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_companionId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1activationState1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_activationState1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1activationState1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_activationState1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1internalType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_internalType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1internalType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_internalType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1checkCollideWith_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_checkCollideWith = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1checkCollideWith_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (int) ((arg1)->m_checkCollideWith);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectFloatData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectFloatData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionObjectFloatData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionObjectFloatData *)new btCollisionObjectFloatData();
*(btCollisionObjectFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObjectFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionObjectFloatData *arg1 = (btCollisionObjectFloatData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionObjectFloatData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GdxCollisionObjectBridge_1userValue_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->userValue = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GdxCollisionObjectBridge_1userValue_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
result = (int) ((arg1)->userValue);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GdxCollisionObjectBridge_1contactCallbackFlag_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->contactCallbackFlag = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GdxCollisionObjectBridge_1contactCallbackFlag_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
result = (int) ((arg1)->contactCallbackFlag);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GdxCollisionObjectBridge_1contactCallbackFilter_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->contactCallbackFilter = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GdxCollisionObjectBridge_1contactCallbackFilter_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
result = (int) ((arg1)->contactCallbackFilter);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GdxCollisionObjectBridge(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GdxCollisionObjectBridge *result = 0 ;
(void)jenv;
(void)jcls;
result = (GdxCollisionObjectBridge *)new GdxCollisionObjectBridge();
*(GdxCollisionObjectBridge **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GdxCollisionObjectBridge(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GdxCollisionObjectBridge *arg1 = (GdxCollisionObjectBridge *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GdxCollisionObjectBridge **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gdxCheckFilter_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) {
jboolean jresult = 0 ;
int arg1 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
result = (bool)gdxCheckFilter(arg1,arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gdxCheckFilter_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (bool)gdxCheckFilter((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Center(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = ((btDbvtAabbMm const *)arg1)->Center();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Lengths(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = ((btDbvtAabbMm const *)arg1)->Lengths();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Extents(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = ((btDbvtAabbMm const *)arg1)->Extents();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Mins(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = (btVector3 *) &((btDbvtAabbMm const *)arg1)->Mins();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Maxs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = (btVector3 *) &((btDbvtAabbMm const *)arg1)->Maxs();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1FromCE(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btDbvtAabbMm result;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = btDbvtAabbMm::FromCE((btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btDbvtAabbMm **)&jresult = new btDbvtAabbMm((const btDbvtAabbMm &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1FromCR(JNIEnv *jenv, jclass jcls, jobject jarg1, jfloat jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btScalar arg2 ;
btDbvtAabbMm result;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = (btScalar)jarg2;
result = btDbvtAabbMm::FromCR((btVector3 const &)*arg1,arg2);
*(btDbvtAabbMm **)&jresult = new btDbvtAabbMm((const btDbvtAabbMm &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1FromMM(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btDbvtAabbMm result;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = btDbvtAabbMm::FromMM((btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btDbvtAabbMm **)&jresult = new btDbvtAabbMm((const btDbvtAabbMm &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1FromPoints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
int arg2 ;
btDbvtAabbMm result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
arg2 = (int)jarg2;
result = btDbvtAabbMm::FromPoints((btVector3 const *)arg1,arg2);
*(btDbvtAabbMm **)&jresult = new btDbvtAabbMm((const btDbvtAabbMm &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1FromPoints_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jint jarg2) {
jlong jresult = 0 ;
btVector3 **arg1 = (btVector3 **) 0 ;
int arg2 ;
btDbvtAabbMm result;
(void)jenv;
(void)jcls;
arg1 = *(btVector3 ***)&jarg1;
arg2 = (int)jarg2;
result = btDbvtAabbMm::FromPoints((btVector3 const **)arg1,arg2);
*(btDbvtAabbMm **)&jresult = new btDbvtAabbMm((const btDbvtAabbMm &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Expand(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->Expand((btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1SignedExpand(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->SignedExpand((btVector3 const &)*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Contain(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btDbvtAabbMm *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtAabbMm **)&jarg1;
arg2 = *(btDbvtAabbMm **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
result = (bool)((btDbvtAabbMm const *)arg1)->Contain((btDbvtAabbMm const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1Classify(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3, jint jarg4) {
jint jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
int arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
result = (int)((btDbvtAabbMm const *)arg1)->Classify((btVector3 const &)*arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1ProjectMinimum(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3) {
jfloat jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
result = (btScalar)((btDbvtAabbMm const *)arg1)->ProjectMinimum((btVector3 const &)*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_Intersect_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvtAabbMm *arg1 = 0 ;
btDbvtAabbMm *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtAabbMm **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
arg2 = *(btDbvtAabbMm **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
result = (bool)Intersect((btDbvtAabbMm const &)*arg1,(btDbvtAabbMm const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_Intersect_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jboolean jresult = 0 ;
btDbvtAabbMm *arg1 = 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)Intersect((btDbvtAabbMm const &)*arg1,(btVector3 const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_Proximity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btDbvtAabbMm *arg1 = 0 ;
btDbvtAabbMm *arg2 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtAabbMm **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
arg2 = *(btDbvtAabbMm **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
result = (btScalar)Proximity((btDbvtAabbMm const &)*arg1,(btDbvtAabbMm const &)*arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_Select(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jint jresult = 0 ;
btDbvtAabbMm *arg1 = 0 ;
btDbvtAabbMm *arg2 = 0 ;
btDbvtAabbMm *arg3 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvtAabbMm **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
arg2 = *(btDbvtAabbMm **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
arg3 = *(btDbvtAabbMm **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
result = (int)Select((btDbvtAabbMm const &)*arg1,(btDbvtAabbMm const &)*arg2,(btDbvtAabbMm const &)*arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_Merge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btDbvtAabbMm *arg1 = 0 ;
btDbvtAabbMm *arg2 = 0 ;
btDbvtAabbMm *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvtAabbMm **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return ;
}
arg2 = *(btDbvtAabbMm **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return ;
}
arg3 = *(btDbvtAabbMm **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm & reference is null");
return ;
}
Merge((btDbvtAabbMm const &)*arg1,(btDbvtAabbMm const &)*arg2,*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_NotEqual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvtAabbMm *arg1 = 0 ;
btDbvtAabbMm *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtAabbMm **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
arg2 = *(btDbvtAabbMm **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtAabbMm const & reference is null");
return 0;
}
result = (bool)NotEqual((btDbvtAabbMm const &)*arg1,(btDbvtAabbMm const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1tMins(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = (btVector3 *) &(arg1)->tMins();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtAabbMm_1tMaxs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtAabbMm **)&jarg1;
result = (btVector3 *) &(arg1)->tMaxs();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvtAabbMm(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvtAabbMm *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvtAabbMm *)new btDbvtAabbMm();
*(btDbvtAabbMm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvtAabbMm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvtAabbMm *arg1 = (btDbvtAabbMm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvtAabbMm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1volume_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtVolume *arg2 = (btDbvtVolume *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvtVolume **)&jarg2;
if (arg1) (arg1)->volume = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1volume_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtVolume *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btDbvtVolume *)& ((arg1)->volume);
*(btDbvtVolume **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1parent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->parent = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1parent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btDbvtNode *) ((arg1)->parent);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1isleaf(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (bool)((btDbvtNode const *)arg1)->isleaf();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1isinternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (bool)((btDbvtNode const *)arg1)->isinternal();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1childs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode **arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvtNode ***)&jarg2;
{
size_t ii;
btDbvtNode * *b = (btDbvtNode * *) arg1->childs;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((btDbvtNode * *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1childs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btDbvtNode **)(btDbvtNode **) ((arg1)->childs);
*(btDbvtNode ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1data_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->data = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1data_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (void *) ((arg1)->data);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1dataAsInt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->dataAsInt = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1dataAsInt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (int) ((arg1)->dataAsInt);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1getChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
int *arg2 = 0 ;
int temp2 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
temp2 = (int)jarg2;
arg2 = &temp2;
result = (btDbvtNode *)btDbvtNode_getChild(arg1,(int const &)*arg2);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1getChild0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btDbvtNode *)btDbvtNode_getChild0(arg1);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1getChild1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btDbvtNode *)btDbvtNode_getChild1(arg1);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1getDataAsProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btBroadphaseProxy *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btBroadphaseProxy *)btDbvtNode_getDataAsProxy(arg1);
*(btBroadphaseProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtNode_1getDataAsProxyClientObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (btCollisionObject *)btDbvtNode_getDataAsProxyClientObject(arg1);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvtNode(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvtNode *)new btDbvtNode();
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvtNode(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvtNode **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNN_1a_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::sStkNN *arg1 = (btDbvt::sStkNN *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::sStkNN **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->a = (btDbvtNode const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNN_1a_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt::sStkNN *arg1 = (btDbvt::sStkNN *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNN **)&jarg1;
result = (btDbvtNode *) ((arg1)->a);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNN_1b_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::sStkNN *arg1 = (btDbvt::sStkNN *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::sStkNN **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->b = (btDbvtNode const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNN_1b_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt::sStkNN *arg1 = (btDbvt::sStkNN *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNN **)&jarg1;
result = (btDbvtNode *) ((arg1)->b);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1sStkNN_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvt::sStkNN *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvt::sStkNN *)new btDbvt::sStkNN();
*(btDbvt::sStkNN **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1sStkNN_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvt::sStkNN *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
result = (btDbvt::sStkNN *)new btDbvt::sStkNN((btDbvtNode const *)arg1,(btDbvtNode const *)arg2);
*(btDbvt::sStkNN **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt_1sStkNN(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::sStkNN *arg1 = (btDbvt::sStkNN *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::sStkNN **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNP_1node_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::sStkNP *arg1 = (btDbvt::sStkNP *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::sStkNP **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->node = (btDbvtNode const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNP_1node_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt::sStkNP *arg1 = (btDbvt::sStkNP *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNP **)&jarg1;
result = (btDbvtNode *) ((arg1)->node);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNP_1mask_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvt::sStkNP *arg1 = (btDbvt::sStkNP *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNP **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->mask = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNP_1mask_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvt::sStkNP *arg1 = (btDbvt::sStkNP *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNP **)&jarg1;
result = (int) ((arg1)->mask);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1sStkNP(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
unsigned int arg2 ;
btDbvt::sStkNP *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = (unsigned int)jarg2;
result = (btDbvt::sStkNP *)new btDbvt::sStkNP((btDbvtNode const *)arg1,arg2);
*(btDbvt::sStkNP **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt_1sStkNP(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::sStkNP *arg1 = (btDbvt::sStkNP *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::sStkNP **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNPS_1node_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->node = (btDbvtNode const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNPS_1node_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
result = (btDbvtNode *) ((arg1)->node);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNPS_1mask_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->mask = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNPS_1mask_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
result = (int) ((arg1)->mask);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNPS_1value_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->value = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkNPS_1value_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
result = (btScalar) ((arg1)->value);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1sStkNPS_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvt::sStkNPS *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvt::sStkNPS *)new btDbvt::sStkNPS();
*(btDbvt::sStkNPS **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1sStkNPS_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
unsigned int arg2 ;
btScalar arg3 ;
btDbvt::sStkNPS *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = (unsigned int)jarg2;
arg3 = (btScalar)jarg3;
result = (btDbvt::sStkNPS *)new btDbvt::sStkNPS((btDbvtNode const *)arg1,arg2,arg3);
*(btDbvt::sStkNPS **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt_1sStkNPS(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::sStkNPS *arg1 = (btDbvt::sStkNPS *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::sStkNPS **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkCLN_1node_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::sStkCLN *arg1 = (btDbvt::sStkCLN *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::sStkCLN **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->node = (btDbvtNode const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkCLN_1node_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt::sStkCLN *arg1 = (btDbvt::sStkCLN *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkCLN **)&jarg1;
result = (btDbvtNode *) ((arg1)->node);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkCLN_1parent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::sStkCLN *arg1 = (btDbvt::sStkCLN *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::sStkCLN **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->parent = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1sStkCLN_1parent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt::sStkCLN *arg1 = (btDbvt::sStkCLN *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt::sStkCLN **)&jarg1;
result = (btDbvtNode *) ((arg1)->parent);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1sStkCLN(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvt::sStkCLN *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
result = (btDbvt::sStkCLN *)new btDbvt::sStkCLN((btDbvtNode const *)arg1,arg2);
*(btDbvt::sStkCLN **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt_1sStkCLN(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::sStkCLN *arg1 = (btDbvt::sStkCLN *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::sStkCLN **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt_1IWriter(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::IWriter *arg1 = (btDbvt::IWriter *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::IWriter **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1IWriter_1Prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btDbvt::IWriter *arg1 = (btDbvt::IWriter *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::IWriter **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = (int)jarg3;
(arg1)->Prepare((btDbvtNode const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1IWriter_1WriteNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jint jarg5, jint jarg6) {
btDbvt::IWriter *arg1 = (btDbvt::IWriter *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
int arg3 ;
int arg4 ;
int arg5 ;
int arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::IWriter **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
(arg1)->WriteNode((btDbvtNode const *)arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1IWriter_1WriteLeaf(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btDbvt::IWriter *arg1 = (btDbvt::IWriter *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::IWriter **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->WriteLeaf((btDbvtNode const *)arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt_1IClone(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::IClone *arg1 = (btDbvt::IClone *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::IClone **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1IClone_1CloneLeaf(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::IClone *arg1 = (btDbvt::IClone *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::IClone **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
(arg1)->CloneLeaf(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt_1IClone(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvt::IClone *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvt::IClone *)new btDbvt::IClone();
*(btDbvt::IClone **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1root_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->m_root = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1root_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (btDbvtNode *) ((arg1)->m_root);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1free_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->m_free = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1free_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (btDbvtNode *) ((arg1)->m_free);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1lkhd_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvt *arg1 = (btDbvt *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_lkhd = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1lkhd_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (int) ((arg1)->m_lkhd);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1leaves_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvt *arg1 = (btDbvt *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_leaves = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1leaves_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (int) ((arg1)->m_leaves);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1opath_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvt *arg1 = (btDbvt *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_opath = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1opath_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (unsigned int) ((arg1)->m_opath);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1stkStack_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvt *arg1 = (btDbvt *) 0 ;
btAlignedObjectArray< btDbvt::sStkNN > *arg2 = (btAlignedObjectArray< btDbvt::sStkNN > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btAlignedObjectArray< btDbvt::sStkNN > **)&jarg2;
if (arg1) (arg1)->m_stkStack = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1stkStack_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btAlignedObjectArray< btDbvt::sStkNN > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (btAlignedObjectArray< btDbvt::sStkNN > *)& ((arg1)->m_stkStack);
*(btAlignedObjectArray< btDbvt::sStkNN > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvt(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvt *)new btDbvt();
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt *arg1 = (btDbvt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDbvt *arg1 = (btDbvt *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1empty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
result = (bool)((btDbvt const *)arg1)->empty();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1optimizeBottomUp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDbvt *arg1 = (btDbvt *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
(arg1)->optimizeBottomUp();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1optimizeTopDown_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvt *arg1 = (btDbvt *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
arg2 = (int)jarg2;
(arg1)->optimizeTopDown(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1optimizeTopDown_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDbvt *arg1 = (btDbvt *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
(arg1)->optimizeTopDown();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1optimizeIncremental(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvt *arg1 = (btDbvt *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvt **)&jarg1;
arg2 = (int)jarg2;
(arg1)->optimizeIncremental(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1insert(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
jlong jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtVolume *arg2 = 0 ;
void *arg3 = (void *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtVolume **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume const & reference is null");
return 0;
}
arg3 = (void *)jarg3;
result = (btDbvtNode *)(arg1)->insert((btDbvtVolume const &)*arg2,arg3);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1update_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = (int)jarg3;
(arg1)->update(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1update_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
(arg1)->update(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1update_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtVolume *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtVolume **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume & reference is null");
return ;
}
(arg1)->update(arg2,*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1update_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jfloat jarg5) {
jboolean jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtVolume *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtVolume **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume & reference is null");
return 0;
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
result = (bool)(arg1)->update(arg2,*arg3,(btVector3 const &)*arg4,arg5);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1update_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4) {
jboolean jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtVolume *arg3 = 0 ;
btVector3 *arg4 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtVolume **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume & reference is null");
return 0;
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (bool)(arg1)->update(arg2,*arg3,(btVector3 const &)*arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1update_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jfloat jarg4) {
jboolean jresult = 0 ;
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtVolume *arg3 = 0 ;
btScalar arg4 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtVolume **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume & reference is null");
return 0;
}
arg4 = (btScalar)jarg4;
result = (bool)(arg1)->update(arg2,*arg3,arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
(arg1)->remove(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvt::IWriter *arg2 = (btDbvt::IWriter *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvt::IWriter **)&jarg2;
((btDbvt const *)arg1)->write(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1clone_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvt *arg2 = 0 ;
btDbvt::IClone *arg3 = (btDbvt::IClone *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt & reference is null");
return ;
}
arg3 = *(btDbvt::IClone **)&jarg3;
((btDbvt const *)arg1)->clone(*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1clone_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvt *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvt **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt & reference is null");
return ;
}
((btDbvt const *)arg1)->clone(*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1maxdepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (int)btDbvt::maxdepth((btDbvtNode const *)arg1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1countLeaves(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
result = (int)btDbvt::countLeaves((btDbvtNode const *)arg1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1extractLeaves(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btAlignedObjectArray< btDbvtNode const * > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btAlignedObjectArray< btDbvtNode const * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btDbvtNode const * > & reference is null");
return ;
}
btDbvt::extractLeaves((btDbvtNode const *)arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1benchmark(JNIEnv *jenv, jclass jcls) {
(void)jenv;
(void)jcls;
btDbvt::benchmark();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1enumNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvt::ICollide *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvt::ICollide **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt::enumNodes((btDbvtNode const *)arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1enumLeaves(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvt::ICollide *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvt::ICollide **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt::enumLeaves((btDbvtNode const *)arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideTT(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtNode *arg3 = (btDbvtNode *) 0 ;
btDbvt::ICollide *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtNode **)&jarg3;
arg4 = *(btDbvt::ICollide **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
(arg1)->collideTT((btDbvtNode const *)arg2,(btDbvtNode const *)arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideTTpersistentStack(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtNode *arg3 = (btDbvtNode *) 0 ;
btDbvt::ICollide *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtNode **)&jarg3;
arg4 = *(btDbvt::ICollide **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
(arg1)->collideTTpersistentStack((btDbvtNode const *)arg2,(btDbvtNode const *)arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideTV(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtVolume *arg3 = 0 ;
btDbvt::ICollide *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtVolume **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume const & reference is null");
return ;
}
arg4 = *(btDbvt::ICollide **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
((btDbvt const *)arg1)->collideTV((btDbvtNode const *)arg2,(btDbvtVolume const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideTVNoStackAlloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jlong jarg5, jobject jarg5_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtVolume *arg3 = 0 ;
btNodeStack *arg4 = 0 ;
btDbvt::ICollide *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg5_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtVolume **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvtVolume const & reference is null");
return ;
}
arg4 = *(btNodeStack **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btNodeStack & reference is null");
return ;
}
arg5 = *(btDbvt::ICollide **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
((btDbvt const *)arg1)->collideTVNoStackAlloc((btDbvtNode const *)arg2,(btDbvtVolume const &)*arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1rayTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btDbvt::ICollide *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btDbvtNode **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btDbvt::ICollide **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt::rayTest((btDbvtNode const *)arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1rayTestInternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jlongArray jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jlong jarg10, jlong jarg11, jobject jarg11_) {
btDbvt *arg1 = (btDbvt *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
unsigned int *arg6 ;
btScalar arg7 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btAlignedObjectArray< btDbvtNode const * > *arg10 = 0 ;
btDbvt::ICollide *arg11 = 0 ;
jlong *jarr6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg11_;
arg1 = *(btDbvt **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
if (jarg6 && jenv->GetArrayLength(jarg6) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInUint(jenv, &jarr6, (unsigned int **)&arg6, jarg6)) return ;
arg7 = (btScalar)jarg7;
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
arg10 = *(btAlignedObjectArray< btDbvtNode const * > **)&jarg10;
if (!arg10) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btDbvtNode const * > & reference is null");
return ;
}
arg11 = *(btDbvt::ICollide **)&jarg11;
if (!arg11) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
((btDbvt const *)arg1)->rayTestInternal((btDbvtNode const *)arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,*arg10,*arg11);
SWIG_JavaArrayArgoutUint(jenv, jarr6, (unsigned int *)arg6, jarg6);
delete [] arg6;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideKDOP_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jint jarg4, jlong jarg5, jobject jarg5_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
int arg4 ;
btDbvt::ICollide *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = (int)jarg4;
arg5 = *(btDbvt::ICollide **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt::collideKDOP((btDbvtNode const *)arg1,(btVector3 const *)arg2,(float const *)arg3,arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideOCL_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jint jarg5, jlong jarg6, jobject jarg6_, jboolean jarg7) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btDbvt::ICollide *arg6 = 0 ;
bool arg7 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg6_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
arg6 = *(btDbvt::ICollide **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
arg7 = jarg7 ? true : false;
btDbvt::collideOCL((btDbvtNode const *)arg1,(btVector3 const *)arg2,(float const *)arg3,(btVector3 const &)*arg4,arg5,*arg6,arg7);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideOCL_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jint jarg5, jlong jarg6, jobject jarg6_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btDbvt::ICollide *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg6_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
arg6 = *(btDbvt::ICollide **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt::collideOCL((btDbvtNode const *)arg1,(btVector3 const *)arg2,(float const *)arg3,(btVector3 const &)*arg4,arg5,*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideTU(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btDbvt::ICollide *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtNode **)&jarg1;
arg2 = *(btDbvt::ICollide **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt::collideTU((btDbvtNode const *)arg1,*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1nearest(JNIEnv *jenv, jclass jcls, jobject jarg1, jlong jarg2, jobject jarg2_, jfloat jarg3, jint jarg4, jint jarg5) {
jint jresult = 0 ;
int *arg1 = (int *) 0 ;
btDbvt::sStkNPS *arg2 = (btDbvt::sStkNPS *) 0 ;
btScalar arg3 ;
int arg4 ;
int arg5 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg2_;
{
arg1 = (int*)jenv->GetDirectBufferAddress(jarg1);
if (arg1 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg2 = *(btDbvt::sStkNPS **)&jarg2;
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (int)btDbvt::nearest((int const *)arg1,(btDbvt::sStkNPS const *)arg2,arg3,arg4,arg5);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1allocate(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
jint jresult = 0 ;
btAlignedObjectArray< int > *arg1 = 0 ;
btAlignedObjectArray< btDbvt::sStkNPS > *arg2 = 0 ;
btDbvt::sStkNPS *arg3 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< int > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
arg2 = *(btAlignedObjectArray< btDbvt::sStkNPS > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btDbvt::sStkNPS > & reference is null");
return 0;
}
arg3 = *(btDbvt::sStkNPS **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::sStkNPS const & reference is null");
return 0;
}
result = (int)btDbvt::allocate(*arg1,*arg2,(btDbvt::sStkNPS const &)*arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideKDOP_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jint jarg4, jlong jarg5, jobject jarg5_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
int arg4 ;
btDbvt::ICollide *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
arg1 = *(btDbvtNode **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = (int)jarg4;
arg5 = *(btDbvt::ICollide **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt_collideKDOP__SWIG_1((btDbvtNode const *)arg1,(float const *)arg2,(float const *)arg3,arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideOCL_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jint jarg5, jlong jarg6, jobject jarg6_, jboolean jarg7) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btDbvt::ICollide *arg6 = 0 ;
bool arg7 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg6_;
arg1 = *(btDbvtNode **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
arg6 = *(btDbvt::ICollide **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
arg7 = jarg7 ? true : false;
btDbvt_collideOCL__SWIG_2((btDbvtNode const *)arg1,(float const *)arg2,(float const *)arg3,(btVector3 const &)*arg4,arg5,*arg6,arg7);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvt_1collideOCL_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jint jarg5, jlong jarg6, jobject jarg6_) {
btDbvtNode *arg1 = (btDbvtNode *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
btVector3 *arg4 = 0 ;
int arg5 ;
btDbvt::ICollide *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg6_;
arg1 = *(btDbvtNode **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
arg6 = *(btDbvt::ICollide **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDbvt::ICollide & reference is null");
return ;
}
btDbvt_collideOCL__SWIG_2((btDbvtNode const *)arg1,(float const *)arg2,(float const *)arg3,(btVector3 const &)*arg4,arg5,*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ICollide(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvt::ICollide **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1Process_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtNode *arg3 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtNode **)&jarg3;
(arg1)->Process((btDbvtNode const *)arg2,(btDbvtNode const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1ProcessSwigExplicitICollide_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btDbvtNode *arg3 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = *(btDbvtNode **)&jarg3;
(arg1)->btDbvt::ICollide::Process((btDbvtNode const *)arg2,(btDbvtNode const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1Process_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
(arg1)->Process((btDbvtNode const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1ProcessSwigExplicitICollide_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
(arg1)->btDbvt::ICollide::Process((btDbvtNode const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1Process_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->Process((btDbvtNode const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1ProcessSwigExplicitICollide_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
arg3 = (btScalar)jarg3;
(arg1)->btDbvt::ICollide::Process((btDbvtNode const *)arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1Descent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
result = (bool)(arg1)->Descent((btDbvtNode const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1DescentSwigExplicitICollide(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
result = (bool)(arg1)->btDbvt::ICollide::Descent((btDbvtNode const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1AllLeaves(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
result = (bool)(arg1)->AllLeaves((btDbvtNode const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1AllLeavesSwigExplicitICollide(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btDbvt::ICollide *arg1 = (btDbvt::ICollide *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvt::ICollide **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
result = (bool)(arg1)->btDbvt::ICollide::AllLeaves((btDbvtNode const *)arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ICollide(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvt::ICollide *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvt::ICollide *)new SwigDirector_ICollide(jenv);
*(btDbvt::ICollide **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btDbvt::ICollide *obj = *((btDbvt::ICollide **)&objarg);
(void)jcls;
SwigDirector_ICollide *director = (SwigDirector_ICollide *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ICollide_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btDbvt::ICollide *obj = *((btDbvt::ICollide **)&objarg);
SwigDirector_ICollide *director = (SwigDirector_ICollide *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1leaf_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtProxy **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->leaf = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1leaf_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtProxy **)&jarg1;
result = (btDbvtNode *) ((arg1)->leaf);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1links_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
btDbvtProxy **arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtProxy **)&jarg1;
arg2 = *(btDbvtProxy ***)&jarg2;
{
size_t ii;
btDbvtProxy * *b = (btDbvtProxy * *) arg1->links;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((btDbvtProxy * *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1links_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
btDbvtProxy **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtProxy **)&jarg1;
result = (btDbvtProxy **)(btDbvtProxy **) ((arg1)->links);
*(btDbvtProxy ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1stage_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtProxy **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->stage = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1stage_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtProxy **)&jarg1;
result = (int) ((arg1)->stage);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvtProxy(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jint jarg4, jint jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
void *arg3 = (void *) 0 ;
int arg4 ;
int arg5 ;
btDbvtProxy *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (void *)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (btDbvtProxy *)new btDbvtProxy((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(btDbvtProxy **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvtProxy(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvtProxy *arg1 = (btDbvtProxy *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvtProxy **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1sets_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDbvt *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btDbvt **)&jarg2;
{
size_t ii;
btDbvt *b = (btDbvt *) arg1->m_sets;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((btDbvt *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1sets_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btDbvt *)(btDbvt *) ((arg1)->m_sets);
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1stageRoots_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDbvtProxy **arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btDbvtProxy ***)&jarg2;
{
size_t ii;
btDbvtProxy * *b = (btDbvtProxy * *) arg1->m_stageRoots;
for (ii = 0; ii < (size_t)btDbvtBroadphase::STAGECOUNT+1; ii++) b[ii] = *((btDbvtProxy * *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1stageRoots_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDbvtProxy **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btDbvtProxy **)(btDbvtProxy **) ((arg1)->m_stageRoots);
*(btDbvtProxy ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1paircache_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btOverlappingPairCache *arg2 = (btOverlappingPairCache *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btOverlappingPairCache **)&jarg2;
if (arg1) (arg1)->m_paircache = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1paircache_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btOverlappingPairCache *) ((arg1)->m_paircache);
*(btOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1prediction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_prediction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1prediction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btScalar) ((arg1)->m_prediction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1stageCurrent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_stageCurrent = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1stageCurrent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_stageCurrent);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1fupdates_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_fupdates = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1fupdates_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_fupdates);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1dupdates_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_dupdates = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1dupdates_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_dupdates);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1cupdates_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_cupdates = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1cupdates_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_cupdates);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1newpairs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_newpairs = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1newpairs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_newpairs);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1fixedleft_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_fixedleft = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1fixedleft_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_fixedleft);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1updates_1call_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_updates_call = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1updates_1call_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (unsigned int) ((arg1)->m_updates_call);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1updates_1done_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_updates_done = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1updates_1done_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (unsigned int) ((arg1)->m_updates_done);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1updates_1ratio_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_updates_ratio = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1updates_1ratio_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btScalar) ((arg1)->m_updates_ratio);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1pid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_pid = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1pid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_pid);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1cid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_cid = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1cid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_cid);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1gid_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_gid = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1gid_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (int) ((arg1)->m_gid);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1releasepaircache_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_releasepaircache = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1releasepaircache_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (bool) ((arg1)->m_releasepaircache);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1deferedcollide_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_deferedcollide = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1deferedcollide_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (bool) ((arg1)->m_deferedcollide);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1needcleanup_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_needcleanup = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1needcleanup_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (bool) ((arg1)->m_needcleanup);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1rayTestStacks_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btAlignedObjectArray< btAlignedObjectArray< btDbvtNode const * > > *arg2 = (btAlignedObjectArray< btAlignedObjectArray< btDbvtNode const * > > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btAlignedObjectArray< btAlignedObjectArray< btDbvtNode const * > > **)&jarg2;
if (arg1) (arg1)->m_rayTestStacks = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1rayTestStacks_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btAlignedObjectArray< btAlignedObjectArray< btDbvtNode const * > > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btAlignedObjectArray< btAlignedObjectArray< btDbvtNode const * > > *)& ((arg1)->m_rayTestStacks);
*(btAlignedObjectArray< btAlignedObjectArray< btDbvtNode const * > > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvtBroadphase_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btOverlappingPairCache *arg1 = (btOverlappingPairCache *) 0 ;
btDbvtBroadphase *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btOverlappingPairCache **)&jarg1;
result = (btDbvtBroadphase *)new btDbvtBroadphase(arg1);
*(btDbvtBroadphase **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDbvtBroadphase_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDbvtBroadphase *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDbvtBroadphase *)new btDbvtBroadphase();
*(btDbvtBroadphase **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDbvtBroadphase(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDbvtBroadphase **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1collide(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
(arg1)->collide(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1optimize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
(arg1)->optimize();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1rayTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jobject jarg6) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btDbvtBroadphase **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1rayTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jobject jarg5) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btDbvtBroadphase **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1rayTest_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btBroadphaseRayCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btDbvtBroadphase **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btBroadphaseRayCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphaseRayCallback & reference is null");
return ;
}
(arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1performDeferredRemoval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
(arg1)->performDeferredRemoval(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1setVelocityPrediction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setVelocityPrediction(arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1getVelocityPrediction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btScalar)((btDbvtBroadphase const *)arg1)->getVelocityPrediction();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1setAabbForceUpdate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btDispatcher *arg5 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btDbvtBroadphase **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btDispatcher **)&jarg5;
(arg1)->setAabbForceUpdate(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1benchmark(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btBroadphaseInterface *arg1 = (btBroadphaseInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBroadphaseInterface **)&jarg1;
btDbvtBroadphase::benchmark(arg1);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1getSet(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
int *arg2 = 0 ;
int temp2 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
temp2 = (int)jarg2;
arg2 = &temp2;
result = (btDbvt *)btDbvtBroadphase_getSet(arg1,(int const &)*arg2);
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1getSet0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btDbvt *)btDbvtBroadphase_getSet0(arg1);
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1getSet1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDbvtBroadphase *arg1 = (btDbvtBroadphase *) 0 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDbvtBroadphase **)&jarg1;
result = (btDbvt *)btDbvtBroadphase_getSet1(arg1);
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1transform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_transform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1transform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
result = (btTransform *)& ((arg1)->m_transform);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1childShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
if (arg1) (arg1)->m_childShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1childShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
result = (btCollisionShape *) ((arg1)->m_childShape);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1childShapeType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_childShapeType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1childShapeType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
result = (int) ((arg1)->m_childShapeType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1childMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_childMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1childMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
result = (btScalar) ((arg1)->m_childMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1node_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btDbvtNode *arg2 = (btDbvtNode *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeChild **)&jarg1;
arg2 = *(btDbvtNode **)&jarg2;
if (arg1) (arg1)->m_node = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChild_1node_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
btDbvtNode *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChild **)&jarg1;
result = (btDbvtNode *) ((arg1)->m_node);
*(btDbvtNode **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundShapeChild(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundShapeChild *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundShapeChild *)new btCompoundShapeChild();
*(btCompoundShapeChild **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundShapeChild(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundShapeChild *arg1 = (btCompoundShapeChild *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundShapeChild **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_operatorEqualTo_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCompoundShapeChild *arg1 = 0 ;
btCompoundShapeChild *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeChild **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCompoundShapeChild const & reference is null");
return 0;
}
arg2 = *(btCompoundShapeChild **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCompoundShapeChild const & reference is null");
return 0;
}
result = (bool)operator ==((btCompoundShapeChild const &)*arg1,(btCompoundShapeChild const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jint jarg2) {
jlong jresult = 0 ;
bool arg1 ;
int arg2 ;
btCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
arg2 = (int)jarg2;
result = (btCompoundShape *)new btCompoundShape(arg1,arg2);
*(btCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
jlong jresult = 0 ;
bool arg1 ;
btCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
result = (btCompoundShape *)new btCompoundShape(arg1);
*(btCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundShape_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundShape *)new btCompoundShape();
*(btCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1internalAddChildShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btTransform *arg2 = 0 ;
btCollisionShape *arg3 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btCompoundShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionShape **)&jarg3;
(arg1)->addChildShape((btTransform const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1internalRemoveChildShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
(arg1)->removeChildShape(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1internalRemoveChildShapeByIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeChildShapeByIndex(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getNumChildShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
result = (int)((btCompoundShape const *)arg1)->getNumChildShapes();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getChildTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int arg2 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (int)jarg2;
result = (btTransform *) &(arg1)->getChildTransform(arg2);
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getChildTransformConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int arg2 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (int)jarg2;
result = (btTransform *) &((btCompoundShape const *)arg1)->getChildTransform(arg2);
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1updateChildTransform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jboolean jarg4) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int arg2 ;
btTransform *arg3 = 0 ;
bool arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (int)jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = jarg4 ? true : false;
(arg1)->updateChildTransform(arg2,(btTransform const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1updateChildTransform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int arg2 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = (int)jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->updateChildTransform(arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getChildList(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btCompoundShapeChild *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
result = (btCompoundShapeChild *)(arg1)->getChildList();
*(btCompoundShapeChild **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1recalculateLocalAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
(arg1)->recalculateLocalAabb();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getDynamicAabbTreeConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
result = (btDbvt *)((btCompoundShape const *)arg1)->getDynamicAabbTree();
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getDynamicAabbTree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btDbvt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
result = (btDbvt *)(arg1)->getDynamicAabbTree();
*(btDbvt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1createAabbTreeFromChildren(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
(arg1)->createAabbTreeFromChildren();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1calculatePrincipalAxisTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4) {
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
btTransform *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
{
arg2 = (btScalar*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btCompoundShape const *)arg1)->calculatePrincipalAxisTransform(arg2,*arg3,*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1getUpdateRevision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShape **)&jarg1;
result = (int)((btCompoundShape const *)arg1)->getUpdateRevision();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1transform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
btTransformFloatData *arg2 = (btTransformFloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
arg2 = *(btTransformFloatData **)&jarg2;
if (arg1) (arg1)->m_transform = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1transform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
btTransformFloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
result = (btTransformFloatData *)& ((arg1)->m_transform);
*(btTransformFloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1childShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_childShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1childShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
result = (btCollisionShapeData *) ((arg1)->m_childShape);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1childShapeType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_childShapeType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1childShapeType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
result = (int) ((arg1)->m_childShapeType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1childMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_childMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeChildData_1childMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeChildData **)&jarg1;
result = (float) ((arg1)->m_childMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundShapeChildData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundShapeChildData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundShapeChildData *)new btCompoundShapeChildData();
*(btCompoundShapeChildData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundShapeChildData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundShapeChildData *arg1 = (btCompoundShapeChildData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundShapeChildData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1collisionShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_collisionShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1collisionShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeData **)&jarg1;
result = (btCollisionShapeData *)& ((arg1)->m_collisionShapeData);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1childShapePtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
btCompoundShapeChildData *arg2 = (btCompoundShapeChildData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShapeData **)&jarg1;
arg2 = *(btCompoundShapeChildData **)&jarg2;
if (arg1) (arg1)->m_childShapePtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1childShapePtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
btCompoundShapeChildData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeData **)&jarg1;
result = (btCompoundShapeChildData *) ((arg1)->m_childShapePtr);
*(btCompoundShapeChildData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1numChildShapes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numChildShapes = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1numChildShapes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeData **)&jarg1;
result = (int) ((arg1)->m_numChildShapes);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1collisionMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_collisionMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShapeData_1collisionMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundShapeData **)&jarg1;
result = (float) ((arg1)->m_collisionMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundShapeData *)new btCompoundShapeData();
*(btCompoundShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundShapeData *arg1 = (btCompoundShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btAlignedObjectArray< btCollisionObject * > *arg2 = 0 ;
btAlignedObjectArray< btCollisionObject * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btCollisionObject * > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< btCollisionObject * > *) &(arg1)->operator =((btAlignedObjectArray< btCollisionObject * > const &)*arg2);
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btCollisionObject * > *)new btAlignedObjectArray< btCollisionObject * >();
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObjectArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = 0 ;
btAlignedObjectArray< btCollisionObject * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btCollisionObject * > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< btCollisionObject * > *)new btAlignedObjectArray< btCollisionObject * >((btAlignedObjectArray< btCollisionObject * > const &)*arg1);
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
result = (int)((btAlignedObjectArray< btCollisionObject * > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &((btAlignedObjectArray< btCollisionObject * > const *)arg1)->at(arg2);
*(btCollisionObject **)&jresult = *result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &(arg1)->at(arg2);
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &((btAlignedObjectArray< btCollisionObject * > const *)arg1)->operator [](arg2);
*(btCollisionObject **)&jresult = *result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &(arg1)->operator [](arg2);
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
btCollisionObject **arg3 = 0 ;
btCollisionObject *temp3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
temp3 = *(btCollisionObject **)&jarg3;
arg3 = (btCollisionObject **)&temp3;
(arg1)->resize(arg2,(btCollisionObject *const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
result = (btCollisionObject **) &(arg1)->expandNonInitializing();
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (btCollisionObject **) &(arg1)->expand((btCollisionObject *const &)*arg2);
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
result = (btCollisionObject **) &(arg1)->expand();
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
(arg1)->push_back((btCollisionObject *const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
result = (int)((btAlignedObjectArray< btCollisionObject * > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1less_1operatorFunctionCall(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btAlignedObjectArray< btCollisionObject * >::less *arg1 = (btAlignedObjectArray< btCollisionObject * >::less *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject **arg3 = 0 ;
btCollisionObject *temp2 = 0 ;
btCollisionObject *temp3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< btCollisionObject * >::less **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
temp3 = *(btCollisionObject **)&jarg3;
arg3 = (btCollisionObject **)&temp3;
result = (bool)((btAlignedObjectArray< btCollisionObject * >::less const *)arg1)->operator ()((btCollisionObject *const &)*arg2,(btCollisionObject *const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject * >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btCollisionObject * >::less *)new btAlignedObjectArray< btCollisionObject * >::less();
*(btAlignedObjectArray< btCollisionObject * >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObjectArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btCollisionObject * >::less *arg1 = (btAlignedObjectArray< btCollisionObject * >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btCollisionObject * >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1findBinarySearch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (int)((btAlignedObjectArray< btCollisionObject * > const *)arg1)->findBinarySearch((btCollisionObject *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1findLinearSearch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (int)((btAlignedObjectArray< btCollisionObject * > const *)arg1)->findLinearSearch((btCollisionObject *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1findLinearSearch2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (int)((btAlignedObjectArray< btCollisionObject * > const *)arg1)->findLinearSearch2((btCollisionObject *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
(arg1)->remove((btCollisionObject *const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btCollisionObject * > *arg1 = (btAlignedObjectArray< btCollisionObject * > *) 0 ;
btAlignedObjectArray< btCollisionObject * > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btCollisionObject * > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< btCollisionObject * > const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg2 = 0 ;
btAlignedObjectArray< btCollisionObject const * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btCollisionObject const * > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< btCollisionObject const * > *) &(arg1)->operator =((btAlignedObjectArray< btCollisionObject const * > const &)*arg2);
*(btAlignedObjectArray< btCollisionObject const * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectConstArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btCollisionObject const * > *)new btAlignedObjectArray< btCollisionObject const * >();
*(btAlignedObjectArray< btCollisionObject const * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObjectConstArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectConstArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = 0 ;
btAlignedObjectArray< btCollisionObject const * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btCollisionObject const * > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< btCollisionObject const * > *)new btAlignedObjectArray< btCollisionObject const * >((btAlignedObjectArray< btCollisionObject const * > const &)*arg1);
*(btAlignedObjectArray< btCollisionObject const * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
result = (int)((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->at(arg2);
*(btCollisionObject **)&jresult = *result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &(arg1)->at(arg2);
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->operator [](arg2);
*(btCollisionObject **)&jresult = *result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject **) &(arg1)->operator [](arg2);
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
btCollisionObject **arg3 = 0 ;
btCollisionObject *temp3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
temp3 = *(btCollisionObject **)&jarg3;
arg3 = (btCollisionObject **)&temp3;
(arg1)->resize(arg2,(btCollisionObject const *const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
result = (btCollisionObject **) &(arg1)->expandNonInitializing();
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (btCollisionObject **) &(arg1)->expand((btCollisionObject const *const &)*arg2);
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
result = (btCollisionObject **) &(arg1)->expand();
*(btCollisionObject ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
(arg1)->push_back((btCollisionObject const *const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
result = (int)((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1less_1operatorFunctionCall(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * >::less *arg1 = (btAlignedObjectArray< btCollisionObject const * >::less *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject **arg3 = 0 ;
btCollisionObject *temp2 = 0 ;
btCollisionObject *temp3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * >::less **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
temp3 = *(btCollisionObject **)&jarg3;
arg3 = (btCollisionObject **)&temp3;
result = (bool)((btAlignedObjectArray< btCollisionObject const * >::less const *)arg1)->operator ()((btCollisionObject const *const &)*arg2,(btCollisionObject const *const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionObjectConstArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btCollisionObject const * >::less *)new btAlignedObjectArray< btCollisionObject const * >::less();
*(btAlignedObjectArray< btCollisionObject const * >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionObjectConstArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btCollisionObject const * >::less *arg1 = (btAlignedObjectArray< btCollisionObject const * >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btCollisionObject const * >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1findBinarySearch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (int)((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->findBinarySearch((btCollisionObject const *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1findLinearSearch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (int)((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->findLinearSearch((btCollisionObject const *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1findLinearSearch2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
result = (int)((btAlignedObjectArray< btCollisionObject const * > const *)arg1)->findLinearSearch2((btCollisionObject const *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btCollisionObject **arg2 = 0 ;
btCollisionObject *temp2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
temp2 = *(btCollisionObject **)&jarg2;
arg2 = (btCollisionObject **)&temp2;
(arg1)->remove((btCollisionObject const *const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectConstArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btCollisionObject const * > *arg1 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btCollisionObject const * > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< btCollisionObject const * > const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1parent_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
if (arg1) (arg1)->m_parent = (btCollisionObjectWrapper const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1parent_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (btCollisionObjectWrapper *) ((arg1)->m_parent);
*(btCollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1shape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
if (arg1) (arg1)->m_shape = (btCollisionShape const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1shape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (btCollisionShape *) ((arg1)->m_shape);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1collisionObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
if (arg1) (arg1)->m_collisionObject = (btCollisionObject const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1collisionObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (btCollisionObject *) ((arg1)->m_collisionObject);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (btTransform *) &(btTransform const &) ((arg1)->m_worldTransform);
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1partId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_partId = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1partId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (int) ((arg1)->m_partId);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1index_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_index = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1index_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (int) ((arg1)->m_index);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionObjectWrapper_1getCollisionShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
result = (btCollisionShape *)((btCollisionObjectWrapper const *)arg1)->getCollisionShape();
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jint jarg5, jint jarg6) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btTransform *arg4 = 0 ;
int arg5 ;
int arg6 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
arg6 = (int)jarg6;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,arg3,*arg4,arg5,arg6);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jint jarg5) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btTransform *arg4 = 0 ;
int arg5 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (int)jarg5;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,arg3,*arg4,arg5);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btTransform *arg4 = 0 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,arg3,*arg4);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jint jarg4, jint jarg5) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btTransform *arg3 = 0 ;
int arg4 ;
int arg5 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,*arg3,arg4,arg5);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jint jarg4) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btTransform *arg3 = 0 ;
int arg4 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (int)jarg4;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,*arg3,arg4);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3) {
jlong jresult = 0 ;
btCollisionShape *arg1 = (btCollisionShape *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btTransform *arg3 = 0 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionShape **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,*arg3);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
int arg4 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,arg3,arg4);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,arg3);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
int arg3 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2,arg3);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
int arg2 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = (int)jarg2;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1,arg2);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CollisionObjectWrapper_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
CollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (CollisionObjectWrapper *)new CollisionObjectWrapper(arg1);
*(CollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CollisionObjectWrapper_1getWrapper(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
CollisionObjectWrapper *arg1 = (CollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(CollisionObjectWrapper **)&jarg1;
result = (btCollisionObjectWrapper *)(arg1)->getWrapper();
*(btCollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1CollisionObjectWrapper(JNIEnv *jenv, jclass jcls, jlong jarg1) {
CollisionObjectWrapper *arg1 = (CollisionObjectWrapper *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(CollisionObjectWrapper **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmCreateFunc_1swapped_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btCollisionAlgorithmCreateFunc *arg1 = (btCollisionAlgorithmCreateFunc *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmCreateFunc **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_swapped = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmCreateFunc_1swapped_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionAlgorithmCreateFunc *arg1 = (btCollisionAlgorithmCreateFunc *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmCreateFunc **)&jarg1;
result = (bool) ((arg1)->m_swapped);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionAlgorithmCreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionAlgorithmCreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionAlgorithmCreateFunc *)new btCollisionAlgorithmCreateFunc();
*(btCollisionAlgorithmCreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionAlgorithmCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionAlgorithmCreateFunc *arg1 = (btCollisionAlgorithmCreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionAlgorithmCreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionAlgorithmCreateFunc_1CreateCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btCollisionAlgorithmCreateFunc *arg1 = (btCollisionAlgorithmCreateFunc *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btCollisionAlgorithmCreateFunc **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
result = (btCollisionAlgorithm *)(arg1)->CreateCollisionAlgorithm(*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4);
*(btCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btEmptyAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btEmptyAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
result = (btEmptyAlgorithm *)new btEmptyAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1);
*(btEmptyAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btEmptyAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btEmptyAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btEmptyAlgorithm::CreateFunc *)new btEmptyAlgorithm::CreateFunc();
*(btEmptyAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btEmptyAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btEmptyAlgorithm::CreateFunc *arg1 = (btEmptyAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btEmptyAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btEmptyAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btEmptyAlgorithm *arg1 = (btEmptyAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btEmptyAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btActivatingCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btActivatingCollisionAlgorithm *arg1 = (btActivatingCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btActivatingCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1triangleCount_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleCount = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1triangleCount_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
result = (int) ((arg1)->m_triangleCount);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1manifoldPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
if (arg1) (arg1)->m_manifoldPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1manifoldPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
result = (btPersistentManifold *) ((arg1)->m_manifoldPtr);
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexTriangleCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
bool arg4 ;
btConvexTriangleCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = jarg4 ? true : false;
result = (btConvexTriangleCallback *)new SwigDirector_btConvexTriangleCallback(jenv,arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4);
*(btConvexTriangleCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1setTimeStepAndCounters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jlong jarg6, jobject jarg6_) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btScalar arg2 ;
btDispatcherInfo *arg3 = 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg5 = (btCollisionObjectWrapper *) 0 ;
btManifoldResult *arg6 = (btManifoldResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
(void)jarg6_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = *(btDispatcherInfo **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDispatcherInfo const & reference is null");
return ;
}
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = *(btCollisionObjectWrapper **)&jarg5;
arg6 = *(btManifoldResult **)&jarg6;
(arg1)->setTimeStepAndCounters(arg2,(btDispatcherInfo const &)*arg3,(btCollisionObjectWrapper const *)arg4,(btCollisionObjectWrapper const *)arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1clearWrapperData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
(arg1)->clearWrapperData();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexTriangleCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexTriangleCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1processTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1processTriangleSwigExplicitbtConvexTriangleCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->btConvexTriangleCallback::processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1clearCache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
(arg1)->clearCache();
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1getAabbMin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
result = (btVector3 *) &((btConvexTriangleCallback const *)arg1)->getAabbMin();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1getAabbMax(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btConvexTriangleCallback *arg1 = (btConvexTriangleCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexTriangleCallback **)&jarg1;
result = (btVector3 *) &((btConvexTriangleCallback const *)arg1)->getAabbMax();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btConvexTriangleCallback *obj = *((btConvexTriangleCallback **)&objarg);
(void)jcls;
SwigDirector_btConvexTriangleCallback *director = (SwigDirector_btConvexTriangleCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btConvexTriangleCallback *obj = *((btConvexTriangleCallback **)&objarg);
SwigDirector_btConvexTriangleCallback *director = (SwigDirector_btConvexTriangleCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexConcaveCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
bool arg4 ;
btConvexConcaveCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = jarg4 ? true : false;
result = (btConvexConcaveCollisionAlgorithm *)new btConvexConcaveCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4);
*(btConvexConcaveCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexConcaveCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1clearCache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btConvexConcaveCollisionAlgorithm *arg1 = (btConvexConcaveCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
(arg1)->clearCache();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexConcaveCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexConcaveCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexConcaveCollisionAlgorithm::CreateFunc *)new btConvexConcaveCollisionAlgorithm::CreateFunc();
*(btConvexConcaveCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexConcaveCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexConcaveCollisionAlgorithm::CreateFunc *arg1 = (btConvexConcaveCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexConcaveCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexConcaveCollisionAlgorithm_1SwappedCreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexConcaveCollisionAlgorithm::SwappedCreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexConcaveCollisionAlgorithm::SwappedCreateFunc *)new btConvexConcaveCollisionAlgorithm::SwappedCreateFunc();
*(btConvexConcaveCollisionAlgorithm::SwappedCreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexConcaveCollisionAlgorithm_1SwappedCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexConcaveCollisionAlgorithm::SwappedCreateFunc *arg1 = (btConvexConcaveCollisionAlgorithm::SwappedCreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexConcaveCollisionAlgorithm::SwappedCreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexPlaneCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5, jint jarg6, jint jarg7) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
bool arg5 ;
int arg6 ;
int arg7 ;
btConvexPlaneCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = jarg5 ? true : false;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
result = (btConvexPlaneCollisionAlgorithm *)new btConvexPlaneCollisionAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4,arg5,arg6,arg7);
*(btConvexPlaneCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexPlaneCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexPlaneCollisionAlgorithm *arg1 = (btConvexPlaneCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexPlaneCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1collideSingleContact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jlong jarg6, jobject jarg6_) {
btConvexPlaneCollisionAlgorithm *arg1 = (btConvexPlaneCollisionAlgorithm *) 0 ;
btQuaternion *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btDispatcherInfo *arg5 = 0 ;
btManifoldResult *arg6 = (btManifoldResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
(void)jarg6_;
arg1 = *(btConvexPlaneCollisionAlgorithm **)&jarg1;
btQuaternion local_arg2;
gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = *(btDispatcherInfo **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDispatcherInfo const & reference is null");
return ;
}
arg6 = *(btManifoldResult **)&jarg6;
(arg1)->collideSingleContact((btQuaternion const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4,(btDispatcherInfo const &)*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1CreateFunc_1numPerturbationIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexPlaneCollisionAlgorithm::CreateFunc *arg1 = (btConvexPlaneCollisionAlgorithm::CreateFunc *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numPerturbationIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1CreateFunc_1numPerturbationIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexPlaneCollisionAlgorithm::CreateFunc *arg1 = (btConvexPlaneCollisionAlgorithm::CreateFunc *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jarg1;
result = (int) ((arg1)->m_numPerturbationIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1CreateFunc_1minimumPointsPerturbationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexPlaneCollisionAlgorithm::CreateFunc *arg1 = (btConvexPlaneCollisionAlgorithm::CreateFunc *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumPointsPerturbationThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1CreateFunc_1minimumPointsPerturbationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexPlaneCollisionAlgorithm::CreateFunc *arg1 = (btConvexPlaneCollisionAlgorithm::CreateFunc *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jarg1;
result = (int) ((arg1)->m_minimumPointsPerturbationThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexPlaneCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexPlaneCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexPlaneCollisionAlgorithm::CreateFunc *)new btConvexPlaneCollisionAlgorithm::CreateFunc();
*(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexPlaneCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexPlaneCollisionAlgorithm::CreateFunc *arg1 = (btConvexPlaneCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gCompoundChildShapePairCallback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btShapePairCallback arg1 = (btShapePairCallback) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btShapePairCallback *)&jarg1;
gCompoundChildShapePairCallback = arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gCompoundChildShapePairCallback_1get(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btShapePairCallback result;
(void)jenv;
(void)jcls;
result = (btShapePairCallback)gCompoundChildShapePairCallback;
*(btShapePairCallback *)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
bool arg4 ;
btCompoundCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = jarg4 ? true : false;
result = (btCompoundCollisionAlgorithm *)new btCompoundCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4);
*(btCompoundCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundCollisionAlgorithm *arg1 = (btCompoundCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCollisionAlgorithm_1getChildAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCompoundCollisionAlgorithm *arg1 = (btCompoundCollisionAlgorithm *) 0 ;
int arg2 ;
btCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundCollisionAlgorithm **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionAlgorithm *)((btCompoundCollisionAlgorithm const *)arg1)->getChildAlgorithm(arg2);
*(btCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundCollisionAlgorithm::CreateFunc *)new btCompoundCollisionAlgorithm::CreateFunc();
*(btCompoundCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundCollisionAlgorithm::CreateFunc *arg1 = (btCompoundCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundCollisionAlgorithm_1SwappedCreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundCollisionAlgorithm::SwappedCreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundCollisionAlgorithm::SwappedCreateFunc *)new btCompoundCollisionAlgorithm::SwappedCreateFunc();
*(btCompoundCollisionAlgorithm::SwappedCreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundCollisionAlgorithm_1SwappedCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundCollisionAlgorithm::SwappedCreateFunc *arg1 = (btCompoundCollisionAlgorithm::SwappedCreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundCollisionAlgorithm::SwappedCreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundCompoundCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
bool arg4 ;
btCompoundCompoundCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = jarg4 ? true : false;
result = (btCompoundCompoundCollisionAlgorithm *)new btCompoundCompoundCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4);
*(btCompoundCompoundCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundCompoundCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundCompoundCollisionAlgorithm *arg1 = (btCompoundCompoundCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundCompoundCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundCompoundCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundCompoundCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundCompoundCollisionAlgorithm::CreateFunc *)new btCompoundCompoundCollisionAlgorithm::CreateFunc();
*(btCompoundCompoundCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundCompoundCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundCompoundCollisionAlgorithm::CreateFunc *arg1 = (btCompoundCompoundCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundCompoundCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundCompoundCollisionAlgorithm_1SwappedCreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc *)new btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc();
*(btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundCompoundCollisionAlgorithm_1SwappedCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc *arg1 = (btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionConfiguration(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionConfiguration **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionConfiguration_1getPersistentManifoldPool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
btPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
result = (btPoolAllocator *)(arg1)->getPersistentManifoldPool();
*(btPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionConfiguration_1getCollisionAlgorithmPool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
btPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
result = (btPoolAllocator *)(arg1)->getCollisionAlgorithmPool();
*(btPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionConfiguration_1getCollisionAlgorithmCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
int arg2 ;
int arg3 ;
btCollisionAlgorithmCreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btCollisionAlgorithmCreateFunc *)(arg1)->getCollisionAlgorithmCreateFunc(arg2,arg3);
*(btCollisionAlgorithmCreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionConfiguration_1getClosestPointsAlgorithmCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
int arg2 ;
int arg3 ;
btCollisionAlgorithmCreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btCollisionAlgorithmCreateFunc *)(arg1)->getClosestPointsAlgorithmCreateFunc(arg2,arg3);
*(btCollisionAlgorithmCreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1persistentManifoldPool_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
btPoolAllocator *arg2 = (btPoolAllocator *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
arg2 = *(btPoolAllocator **)&jarg2;
if (arg1) (arg1)->m_persistentManifoldPool = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1persistentManifoldPool_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
btPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
result = (btPoolAllocator *) ((arg1)->m_persistentManifoldPool);
*(btPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1collisionAlgorithmPool_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
btPoolAllocator *arg2 = (btPoolAllocator *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
arg2 = *(btPoolAllocator **)&jarg2;
if (arg1) (arg1)->m_collisionAlgorithmPool = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1collisionAlgorithmPool_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
btPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
result = (btPoolAllocator *) ((arg1)->m_collisionAlgorithmPool);
*(btPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1defaultMaxPersistentManifoldPoolSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_defaultMaxPersistentManifoldPoolSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1defaultMaxPersistentManifoldPoolSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
result = (int) ((arg1)->m_defaultMaxPersistentManifoldPoolSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1defaultMaxCollisionAlgorithmPoolSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_defaultMaxCollisionAlgorithmPoolSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1defaultMaxCollisionAlgorithmPoolSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
result = (int) ((arg1)->m_defaultMaxCollisionAlgorithmPoolSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1customCollisionAlgorithmMaxElementSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_customCollisionAlgorithmMaxElementSize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1customCollisionAlgorithmMaxElementSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
result = (int) ((arg1)->m_customCollisionAlgorithmMaxElementSize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1useEpaPenetrationAlgorithm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_useEpaPenetrationAlgorithm = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConstructionInfo_1useEpaPenetrationAlgorithm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
result = (int) ((arg1)->m_useEpaPenetrationAlgorithm);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDefaultCollisionConstructionInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDefaultCollisionConstructionInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDefaultCollisionConstructionInfo *)new btDefaultCollisionConstructionInfo();
*(btDefaultCollisionConstructionInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDefaultCollisionConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDefaultCollisionConstructionInfo *arg1 = (btDefaultCollisionConstructionInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDefaultCollisionConfiguration_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btDefaultCollisionConstructionInfo *arg1 = 0 ;
btDefaultCollisionConfiguration *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDefaultCollisionConstructionInfo const & reference is null");
return 0;
}
result = (btDefaultCollisionConfiguration *)new btDefaultCollisionConfiguration((btDefaultCollisionConstructionInfo const &)*arg1);
*(btDefaultCollisionConfiguration **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btDefaultCollisionConfiguration_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btDefaultCollisionConfiguration *result = 0 ;
(void)jenv;
(void)jcls;
result = (btDefaultCollisionConfiguration *)new btDefaultCollisionConfiguration();
*(btDefaultCollisionConfiguration **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btDefaultCollisionConfiguration(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1setConvexConvexMultipointIterations_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->setConvexConvexMultipointIterations(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1setConvexConvexMultipointIterations_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setConvexConvexMultipointIterations(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1setConvexConvexMultipointIterations_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
(arg1)->setConvexConvexMultipointIterations();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1setPlaneConvexMultipointIterations_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->setPlaneConvexMultipointIterations(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1setPlaneConvexMultipointIterations_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setPlaneConvexMultipointIterations(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1setPlaneConvexMultipointIterations_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btDefaultCollisionConfiguration *arg1 = (btDefaultCollisionConfiguration *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btDefaultCollisionConfiguration **)&jarg1;
(arg1)->setPlaneConvexMultipointIterations();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gContactAddedCallback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1) {
ContactAddedCallback arg1 = (ContactAddedCallback) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(ContactAddedCallback *)&jarg1;
gContactAddedCallback = arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gContactAddedCallback_1get(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
ContactAddedCallback result;
(void)jenv;
(void)jcls;
result = (ContactAddedCallback)gContactAddedCallback;
*(ContactAddedCallback *)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btManifoldResult_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btManifoldResult *result = 0 ;
(void)jenv;
(void)jcls;
result = (btManifoldResult *)new btManifoldResult();
*(btManifoldResult **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btManifoldResult_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btCollisionObjectWrapper *arg1 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btManifoldResult *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObjectWrapper **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
result = (btManifoldResult *)new btManifoldResult((btCollisionObjectWrapper const *)arg1,(btCollisionObjectWrapper const *)arg2);
*(btManifoldResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btManifoldResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btManifoldResult **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1setPersistentManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btManifoldResult **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->setPersistentManifold(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1getPersistentManifoldConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btPersistentManifold *)((btManifoldResult const *)arg1)->getPersistentManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1getPersistentManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btPersistentManifold *)(arg1)->getPersistentManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1refreshContactPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
(arg1)->refreshContactPoints();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1getBody0Wrap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btCollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btCollisionObjectWrapper *)((btManifoldResult const *)arg1)->getBody0Wrap();
*(btCollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1getBody1Wrap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btCollisionObjectWrapper *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btCollisionObjectWrapper *)((btManifoldResult const *)arg1)->getBody1Wrap();
*(btCollisionObjectWrapper **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1setBody0Wrap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btManifoldResult **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
(arg1)->setBody0Wrap((btCollisionObjectWrapper const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1setBody1Wrap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btManifoldResult **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
(arg1)->setBody1Wrap((btCollisionObjectWrapper const *)arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1getBody0Internal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btCollisionObject *)((btManifoldResult const *)arg1)->getBody0Internal();
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1getBody1Internal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btCollisionObject *)((btManifoldResult const *)arg1)->getBody1Internal();
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1closestPointDistanceThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_closestPointDistanceThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1closestPointDistanceThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldResult *arg1 = (btManifoldResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldResult **)&jarg1;
result = (btScalar) ((arg1)->m_closestPointDistanceThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1calculateCombinedRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (btScalar)btManifoldResult::calculateCombinedRestitution((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1calculateCombinedFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (btScalar)btManifoldResult::calculateCombinedFriction((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1calculateCombinedRollingFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (btScalar)btManifoldResult::calculateCombinedRollingFriction((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1calculateCombinedSpinningFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (btScalar)btManifoldResult::calculateCombinedSpinningFriction((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1calculateCombinedContactDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (btScalar)btManifoldResult::calculateCombinedContactDamping((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1calculateCombinedContactStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
result = (btScalar)btManifoldResult::calculateCombinedContactStiffness((btCollisionObject const *)arg1,(btCollisionObject const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1SIMPLE_1NULL_1PAIR_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)(int)BT_SIMPLE_NULL_PAIR;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimplePair(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) {
jlong jresult = 0 ;
int arg1 ;
int arg2 ;
btSimplePair *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
result = (btSimplePair *)new btSimplePair(arg1,arg2);
*(btSimplePair **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1indexA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimplePair *arg1 = (btSimplePair *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_indexA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1indexA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimplePair *arg1 = (btSimplePair *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
result = (int) ((arg1)->m_indexA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1indexB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimplePair *arg1 = (btSimplePair *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_indexB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1indexB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimplePair *arg1 = (btSimplePair *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
result = (int) ((arg1)->m_indexB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1userPointer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btSimplePair *arg1 = (btSimplePair *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_userPointer = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1userPointer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimplePair *arg1 = (btSimplePair *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
result = (void *) ((arg1)->m_userPointer);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1userValue_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimplePair *arg1 = (btSimplePair *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_userValue = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimplePair_1userValue_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btSimplePair *arg1 = (btSimplePair *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimplePair **)&jarg1;
result = (int) ((arg1)->m_userValue);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSimplePair(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimplePair *arg1 = (btSimplePair *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimplePair **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gOverlappingSimplePairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gOverlappingSimplePairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gOverlappingSimplePairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gOverlappingSimplePairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gRemoveSimplePairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gRemoveSimplePairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gRemoveSimplePairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gRemoveSimplePairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gAddedSimplePairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gAddedSimplePairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gAddedSimplePairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gAddedSimplePairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gFindSimplePairs_1set(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
gFindSimplePairs = arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gFindSimplePairs_1get(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)gFindSimplePairs;
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btHashedSimplePairCache(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btHashedSimplePairCache *result = 0 ;
(void)jenv;
(void)jcls;
result = (btHashedSimplePairCache *)new btHashedSimplePairCache();
*(btHashedSimplePairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btHashedSimplePairCache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btHashedSimplePairCache **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1removeAllPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
(arg1)->removeAllPairs();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1removeOverlappingPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
int arg2 ;
int arg3 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (void *)(arg1)->removeOverlappingPair(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1addOverlappingPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
int arg2 ;
int arg3 ;
btSimplePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btSimplePair *)(arg1)->addOverlappingPair(arg2,arg3);
*(btSimplePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1getOverlappingPairArrayPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
btSimplePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
result = (btSimplePair *)(arg1)->getOverlappingPairArrayPtr();
*(btSimplePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1getOverlappingPairArrayPtrConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
btSimplePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
result = (btSimplePair *)((btHashedSimplePairCache const *)arg1)->getOverlappingPairArrayPtr();
*(btSimplePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1getOverlappingPairArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
btSimplePairArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
result = (btSimplePairArray *) &(arg1)->getOverlappingPairArray();
*(btSimplePairArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1getOverlappingPairArrayConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
btSimplePairArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
result = (btSimplePairArray *) &((btHashedSimplePairCache const *)arg1)->getOverlappingPairArray();
*(btSimplePairArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1findPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jlong jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
int arg2 ;
int arg3 ;
btSimplePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (btSimplePair *)(arg1)->findPair(arg2,arg3);
*(btSimplePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1GetCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
result = (int)((btHashedSimplePairCache const *)arg1)->GetCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedSimplePairCache_1getNumOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btHashedSimplePairCache *arg1 = (btHashedSimplePairCache *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btHashedSimplePairCache **)&jarg1;
result = (int)((btHashedSimplePairCache const *)arg1)->getNumOverlappingPairs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereSphereCollisionAlgorithm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btSphereSphereCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
result = (btSphereSphereCollisionAlgorithm *)new btSphereSphereCollisionAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4);
*(btSphereSphereCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereSphereCollisionAlgorithm_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btSphereSphereCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
result = (btSphereSphereCollisionAlgorithm *)new btSphereSphereCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1);
*(btSphereSphereCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereSphereCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereSphereCollisionAlgorithm *arg1 = (btSphereSphereCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereSphereCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereSphereCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSphereSphereCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSphereSphereCollisionAlgorithm::CreateFunc *)new btSphereSphereCollisionAlgorithm::CreateFunc();
*(btSphereSphereCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereSphereCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereSphereCollisionAlgorithm::CreateFunc *arg1 = (btSphereSphereCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereSphereCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBoxBoxCollisionAlgorithm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btBoxBoxCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
result = (btBoxBoxCollisionAlgorithm *)new btBoxBoxCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1);
*(btBoxBoxCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBoxBoxCollisionAlgorithm_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btBoxBoxCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
result = (btBoxBoxCollisionAlgorithm *)new btBoxBoxCollisionAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4);
*(btBoxBoxCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBoxBoxCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBoxBoxCollisionAlgorithm *arg1 = (btBoxBoxCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBoxBoxCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBoxBoxCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBoxBoxCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBoxBoxCollisionAlgorithm::CreateFunc *)new btBoxBoxCollisionAlgorithm::CreateFunc();
*(btBoxBoxCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBoxBoxCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBoxBoxCollisionAlgorithm::CreateFunc *arg1 = (btBoxBoxCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBoxBoxCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBox2dBox2dCollisionAlgorithm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btBox2dBox2dCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
result = (btBox2dBox2dCollisionAlgorithm *)new btBox2dBox2dCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1);
*(btBox2dBox2dCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBox2dBox2dCollisionAlgorithm_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btBox2dBox2dCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
result = (btBox2dBox2dCollisionAlgorithm *)new btBox2dBox2dCollisionAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4);
*(btBox2dBox2dCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBox2dBox2dCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBox2dBox2dCollisionAlgorithm *arg1 = (btBox2dBox2dCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBox2dBox2dCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBox2dBox2dCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBox2dBox2dCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBox2dBox2dCollisionAlgorithm::CreateFunc *)new btBox2dBox2dCollisionAlgorithm::CreateFunc();
*(btBox2dBox2dCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBox2dBox2dCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBox2dBox2dCollisionAlgorithm::CreateFunc *arg1 = (btBox2dBox2dCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBox2dBox2dCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btElement_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btElement *arg1 = (btElement *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btElement **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_id = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btElement_1id_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btElement *arg1 = (btElement *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btElement **)&jarg1;
result = (int) ((arg1)->m_id);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btElement_1sz_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btElement *arg1 = (btElement *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btElement **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_sz = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btElement_1sz_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btElement *arg1 = (btElement *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btElement **)&jarg1;
result = (int) ((arg1)->m_sz);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btElement(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btElement *result = 0 ;
(void)jenv;
(void)jcls;
result = (btElement *)new btElement();
*(btElement **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btElement(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btElement *arg1 = (btElement *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btElement **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btUnionFind(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btUnionFind *result = 0 ;
(void)jenv;
(void)jcls;
result = (btUnionFind *)new btUnionFind();
*(btUnionFind **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btUnionFind(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btUnionFind *arg1 = (btUnionFind *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btUnionFind **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1sortIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btUnionFind *arg1 = (btUnionFind *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
(arg1)->sortIslands();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reset(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1getNumElements(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUnionFind *arg1 = (btUnionFind *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
result = (int)((btUnionFind const *)arg1)->getNumElements();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1isRoot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btUnionFind const *)arg1)->isRoot(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1getElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
btElement *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
result = (btElement *) &(arg1)->getElement(arg2);
*(btElement **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1getElementConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
btElement *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
result = (btElement *) &((btUnionFind const *)arg1)->getElement(arg2);
*(btElement **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1allocate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
(arg1)->allocate(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1Free(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btUnionFind *arg1 = (btUnionFind *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
(arg1)->Free();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1find_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
jint jresult = 0 ;
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
int arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
result = (int)(arg1)->find(arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1unite(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->unite(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUnionFind_1find_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btUnionFind *arg1 = (btUnionFind *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUnionFind **)&jarg1;
arg2 = (int)jarg2;
result = (int)(arg1)->find(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereTriangleCollisionAlgorithm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
bool arg5 ;
btSphereTriangleCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = jarg5 ? true : false;
result = (btSphereTriangleCollisionAlgorithm *)new btSphereTriangleCollisionAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4,arg5);
*(btSphereTriangleCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereTriangleCollisionAlgorithm_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btSphereTriangleCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
result = (btSphereTriangleCollisionAlgorithm *)new btSphereTriangleCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1);
*(btSphereTriangleCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereTriangleCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereTriangleCollisionAlgorithm *arg1 = (btSphereTriangleCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereTriangleCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereTriangleCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSphereTriangleCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSphereTriangleCollisionAlgorithm::CreateFunc *)new btSphereTriangleCollisionAlgorithm::CreateFunc();
*(btSphereTriangleCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereTriangleCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereTriangleCollisionAlgorithm::CreateFunc *arg1 = (btSphereTriangleCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereTriangleCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSimulationIslandManager(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSimulationIslandManager *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSimulationIslandManager *)new btSimulationIslandManager();
*(btSimulationIslandManager **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSimulationIslandManager(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManager **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1initUnionFind(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = (int)jarg2;
(arg1)->initUnionFind(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1getUnionFind(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
btUnionFind *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManager **)&jarg1;
result = (btUnionFind *) &(arg1)->getUnionFind();
*(btUnionFind **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1updateActivationState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->updateActivationState(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1storeIslandActivationState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
btCollisionWorld *arg2 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = *(btCollisionWorld **)&jarg2;
(arg1)->storeIslandActivationState(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1findUnions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
(arg1)->findUnions(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSimulationIslandManager_1IslandCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSimulationIslandManager::IslandCallback *arg1 = (btSimulationIslandManager::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSimulationIslandManager::IslandCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1IslandCallback_1processIsland(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jint jarg6) {
btSimulationIslandManager::IslandCallback *arg1 = (btSimulationIslandManager::IslandCallback *) 0 ;
btCollisionObject **arg2 = (btCollisionObject **) 0 ;
int arg3 ;
btPersistentManifold **arg4 = (btPersistentManifold **) 0 ;
int arg5 ;
int arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManager::IslandCallback **)&jarg1;
arg2 = *(btCollisionObject ***)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btPersistentManifold ***)&jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
(arg1)->processIsland(arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1buildAndProcessIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
btSimulationIslandManager::IslandCallback *arg4 = (btSimulationIslandManager::IslandCallback *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
arg4 = *(btSimulationIslandManager::IslandCallback **)&jarg4;
(arg1)->buildAndProcessIslands(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1buildIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
btDispatcher *arg2 = (btDispatcher *) 0 ;
btCollisionWorld *arg3 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = *(btDispatcher **)&jarg2;
arg3 = *(btCollisionWorld **)&jarg3;
(arg1)->buildIslands(arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1getSplitIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManager **)&jarg1;
result = (bool)(arg1)->getSplitIslands();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimulationIslandManager_1setSplitIslands(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSimulationIslandManager *arg1 = (btSimulationIslandManager *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSimulationIslandManager **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setSplitIslands(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGhostObject(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGhostObject *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGhostObject *)new btGhostObject();
*(btGhostObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGhostObject(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGhostObject **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1convexSweepTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_, jfloat jarg6) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btCollisionWorld::ConvexResultCallback *arg5 = 0 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btCollisionWorld::ConvexResultCallback **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ConvexResultCallback & reference is null");
return ;
}
arg6 = (btScalar)jarg6;
((btGhostObject const *)arg1)->convexSweepTest((btConvexShape const *)arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1convexSweepTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btCollisionWorld::ConvexResultCallback *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btCollisionWorld::ConvexResultCallback **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ConvexResultCallback & reference is null");
return ;
}
((btGhostObject const *)arg1)->convexSweepTest((btConvexShape const *)arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1rayTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btCollisionWorld::RayResultCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btGhostObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btCollisionWorld::RayResultCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::RayResultCallback & reference is null");
return ;
}
((btGhostObject const *)arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1addOverlappingObjectInternal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
(arg1)->addOverlappingObjectInternal(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1addOverlappingObjectInternal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
(arg1)->addOverlappingObjectInternal(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1removeOverlappingObjectInternal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
btBroadphaseProxy *arg4 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
arg4 = *(btBroadphaseProxy **)&jarg4;
(arg1)->removeOverlappingObjectInternal(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1removeOverlappingObjectInternal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btGhostObject *arg1 = (btGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->removeOverlappingObjectInternal(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1getNumOverlappingObjects(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGhostObject *arg1 = (btGhostObject *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGhostObject **)&jarg1;
result = (int)((btGhostObject const *)arg1)->getNumOverlappingObjects();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1getOverlappingObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGhostObject *arg1 = (btGhostObject *) 0 ;
int arg2 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject *)(arg1)->getOverlappingObject(arg2);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1getOverlappingObjectConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGhostObject *arg1 = (btGhostObject *) 0 ;
int arg2 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGhostObject **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject *)((btGhostObject const *)arg1)->getOverlappingObject(arg2);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1getOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGhostObject *arg1 = (btGhostObject *) 0 ;
btAlignedObjectArray< btCollisionObject * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGhostObject **)&jarg1;
result = (btAlignedObjectArray< btCollisionObject * > *) &(arg1)->getOverlappingPairs();
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1getOverlappingPairsConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGhostObject *arg1 = (btGhostObject *) 0 ;
btAlignedObjectArray< btCollisionObject * > result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGhostObject **)&jarg1;
result = ((btGhostObject const *)arg1)->getOverlappingPairs();
*(btAlignedObjectArray< btCollisionObject * > **)&jresult = new btAlignedObjectArray< btCollisionObject * >((const btAlignedObjectArray< btCollisionObject * > &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1upcastConstBtCollisionObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btGhostObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btGhostObject *)btGhostObject::upcast((btCollisionObject const *)arg1);
*(btGhostObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1upcast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btGhostObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (btGhostObject *)btGhostObject::upcast(arg1);
*(btGhostObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPairCachingGhostObject(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPairCachingGhostObject *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPairCachingGhostObject *)new btPairCachingGhostObject();
*(btPairCachingGhostObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPairCachingGhostObject(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPairCachingGhostObject **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairCachingGhostObject_1addOverlappingObjectInternal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
(arg1)->addOverlappingObjectInternal(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairCachingGhostObject_1addOverlappingObjectInternal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
(arg1)->addOverlappingObjectInternal(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairCachingGhostObject_1removeOverlappingObjectInternal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
btBroadphaseProxy *arg4 = (btBroadphaseProxy *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
arg4 = *(btBroadphaseProxy **)&jarg4;
(arg1)->removeOverlappingObjectInternal(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairCachingGhostObject_1removeOverlappingObjectInternal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->removeOverlappingObjectInternal(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairCachingGhostObject_1getOverlappingPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ;
btHashedOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPairCachingGhostObject **)&jarg1;
result = (btHashedOverlappingPairCache *)(arg1)->getOverlappingPairCache();
*(btHashedOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGhostPairCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGhostPairCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGhostPairCallback *)new SwigDirector_btGhostPairCallback(jenv);
*(btGhostPairCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGhostPairCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGhostPairCallback *arg1 = (btGhostPairCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGhostPairCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1removeOverlappingPair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btGhostPairCallback *arg1 = (btGhostPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg4 = (btDispatcher *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btGhostPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
arg4 = *(btDispatcher **)&jarg4;
result = (void *)(arg1)->removeOverlappingPair(arg2,arg3,arg4);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1removeOverlappingPairSwigExplicitbtGhostPairCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btGhostPairCallback *arg1 = (btGhostPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btBroadphaseProxy *arg3 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg4 = (btDispatcher *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btGhostPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btBroadphaseProxy **)&jarg3;
arg4 = *(btDispatcher **)&jarg4;
result = (void *)(arg1)->btGhostPairCallback::removeOverlappingPair(arg2,arg3,arg4);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1removeOverlappingPairsContainingProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btGhostPairCallback *arg1 = (btGhostPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btGhostPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->removeOverlappingPairsContainingProxy(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1removeOverlappingPairsContainingProxySwigExplicitbtGhostPairCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btGhostPairCallback *arg1 = (btGhostPairCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
btDispatcher *arg3 = (btDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btGhostPairCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
arg3 = *(btDispatcher **)&jarg3;
(arg1)->btGhostPairCallback::removeOverlappingPairsContainingProxy(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btGhostPairCallback *obj = *((btGhostPairCallback **)&objarg);
(void)jcls;
SwigDirector_btGhostPairCallback *director = (SwigDirector_btGhostPairCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btGhostPairCallback *obj = *((btGhostPairCallback **)&objarg);
SwigDirector_btGhostPairCallback *director = (SwigDirector_btGhostPairCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btDispatcher *arg1 = (btDispatcher *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
btCollisionConfiguration *arg3 = (btCollisionConfiguration *) 0 ;
btCollisionWorld *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btDispatcher **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
arg3 = *(btCollisionConfiguration **)&jarg3;
result = (btCollisionWorld *)new btCollisionWorld(arg1,arg2,arg3);
*(btCollisionWorld **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1setBroadphase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btBroadphaseInterface **)&jarg2;
(arg1)->setBroadphase(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getBroadphaseConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btBroadphaseInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btBroadphaseInterface *)((btCollisionWorld const *)arg1)->getBroadphase();
*(btBroadphaseInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getBroadphase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btBroadphaseInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btBroadphaseInterface *)(arg1)->getBroadphase();
*(btBroadphaseInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getPairCache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btOverlappingPairCache *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btOverlappingPairCache *)(arg1)->getPairCache();
*(btOverlappingPairCache **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btDispatcher *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btDispatcher *)(arg1)->getDispatcher();
*(btDispatcher **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getDispatcherConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btDispatcher *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btDispatcher *)((btCollisionWorld const *)arg1)->getDispatcher();
*(btDispatcher **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1updateSingleAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
(arg1)->updateSingleAabb(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1updateAabbs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
(arg1)->updateAabbs();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1computeOverlappingPairs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
(arg1)->computeOverlappingPairs();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1setDebugDrawer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
(arg1)->setDebugDrawer(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getDebugDrawer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btIDebugDraw *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btIDebugDraw *)(arg1)->getDebugDrawer();
*(btIDebugDraw **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1debugDrawWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
(arg1)->debugDrawWorld();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1debugDrawObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btTransform *arg2 = 0 ;
btCollisionShape *arg3 = (btCollisionShape *) 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btCollisionWorld **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionShape **)&jarg3;
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->debugDrawObject((btTransform const &)*arg2,(btCollisionShape const *)arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getNumCollisionObjects(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (int)((btCollisionWorld const *)arg1)->getNumCollisionObjects();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1rayTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btCollisionWorld::RayResultCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btCollisionWorld **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btCollisionWorld::RayResultCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::RayResultCallback & reference is null");
return ;
}
((btCollisionWorld const *)arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1convexSweepTest_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_, jfloat jarg6) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btCollisionWorld::ConvexResultCallback *arg5 = 0 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btCollisionWorld::ConvexResultCallback **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ConvexResultCallback & reference is null");
return ;
}
arg6 = (btScalar)jarg6;
((btCollisionWorld const *)arg1)->convexSweepTest((btConvexShape const *)arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1convexSweepTest_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btCollisionWorld::ConvexResultCallback *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btCollisionWorld::ConvexResultCallback **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ConvexResultCallback & reference is null");
return ;
}
((btCollisionWorld const *)arg1)->convexSweepTest((btConvexShape const *)arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1contactTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionWorld::ContactResultCallback *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionWorld::ContactResultCallback **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ContactResultCallback & reference is null");
return ;
}
(arg1)->contactTest(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1contactPairTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btCollisionWorld::ContactResultCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
arg4 = *(btCollisionWorld::ContactResultCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ContactResultCallback & reference is null");
return ;
}
(arg1)->contactPairTest(arg2,arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1rayTestSingle(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5, jlong jarg6, jobject jarg6_) {
btTransform *arg1 = 0 ;
btTransform *arg2 = 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btCollisionShape *arg4 = (btCollisionShape *) 0 ;
btTransform *arg5 = 0 ;
btCollisionWorld::RayResultCallback *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
(void)jarg6_;
btTransform local_arg1;
gdx_setbtTransformFromMatrix4(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix4 auto_commit_arg1(jenv, jarg1, &local_arg1);
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionObject **)&jarg3;
arg4 = *(btCollisionShape **)&jarg4;
btTransform local_arg5;
gdx_setbtTransformFromMatrix4(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix4 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btCollisionWorld::RayResultCallback **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::RayResultCallback & reference is null");
return ;
}
btCollisionWorld::rayTestSingle((btTransform const &)*arg1,(btTransform const &)*arg2,arg3,(btCollisionShape const *)arg4,(btTransform const &)*arg5,*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1rayTestSingleInternal(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btTransform *arg1 = 0 ;
btTransform *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionWorld::RayResultCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg4_;
btTransform local_arg1;
gdx_setbtTransformFromMatrix4(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix4 auto_commit_arg1(jenv, jarg1, &local_arg1);
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionWorld::RayResultCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::RayResultCallback & reference is null");
return ;
}
btCollisionWorld::rayTestSingleInternal((btTransform const &)*arg1,(btTransform const &)*arg2,(btCollisionObjectWrapper const *)arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1objectQuerySingle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jobject jarg6, jlong jarg7, jobject jarg7_, jfloat jarg8) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btCollisionObject *arg4 = (btCollisionObject *) 0 ;
btCollisionShape *arg5 = (btCollisionShape *) 0 ;
btTransform *arg6 = 0 ;
btCollisionWorld::ConvexResultCallback *arg7 = 0 ;
btScalar arg8 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
(void)jarg5_;
(void)jarg7_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btCollisionObject **)&jarg4;
arg5 = *(btCollisionShape **)&jarg5;
btTransform local_arg6;
gdx_setbtTransformFromMatrix4(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix4 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = *(btCollisionWorld::ConvexResultCallback **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ConvexResultCallback & reference is null");
return ;
}
arg8 = (btScalar)jarg8;
btCollisionWorld::objectQuerySingle((btConvexShape const *)arg1,(btTransform const &)*arg2,(btTransform const &)*arg3,arg4,(btCollisionShape const *)arg5,(btTransform const &)*arg6,*arg7,arg8);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1objectQuerySingleInternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jfloat jarg6) {
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btCollisionWorld::ConvexResultCallback *arg5 = 0 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = *(btCollisionWorld::ConvexResultCallback **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::ConvexResultCallback & reference is null");
return ;
}
arg6 = (btScalar)jarg6;
btCollisionWorld::objectQuerySingleInternal((btConvexShape const *)arg1,(btTransform const &)*arg2,(btTransform const &)*arg3,(btCollisionObjectWrapper const *)arg4,*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1addCollisionObject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->addCollisionObject(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1addCollisionObject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
(arg1)->addCollisionObject(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1addCollisionObject_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
(arg1)->addCollisionObject(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getCollisionObjectArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObjectArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btCollisionObjectArray *) &(arg1)->getCollisionObjectArray();
*(btCollisionObjectArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getCollisionObjectArrayConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObjectArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btCollisionObjectArray *) &((btCollisionWorld const *)arg1)->getCollisionObjectArray();
*(btCollisionObjectArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1removeCollisionObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
(arg1)->removeCollisionObject(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1performDiscreteCollisionDetection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
(arg1)->performDiscreteCollisionDetection();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getDispatchInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btDispatcherInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btDispatcherInfo *) &(arg1)->getDispatchInfo();
*(btDispatcherInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getDispatchInfoConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btDispatcherInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btDispatcherInfo *) &((btCollisionWorld const *)arg1)->getDispatchInfo();
*(btDispatcherInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1getForceUpdateAllAabbs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (bool)((btCollisionWorld const *)arg1)->getForceUpdateAllAabbs();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1setForceUpdateAllAabbs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setForceUpdateAllAabbs(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorld_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btSerializer *arg2 = (btSerializer *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld **)&jarg1;
arg2 = *(btSerializer **)&jarg2;
(arg1)->serialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalShapeInfo_1shapePart_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::LocalShapeInfo *arg1 = (btCollisionWorld::LocalShapeInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalShapeInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_shapePart = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalShapeInfo_1shapePart_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::LocalShapeInfo *arg1 = (btCollisionWorld::LocalShapeInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalShapeInfo **)&jarg1;
result = (int) ((arg1)->m_shapePart);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalShapeInfo_1triangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::LocalShapeInfo *arg1 = (btCollisionWorld::LocalShapeInfo *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalShapeInfo **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_triangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalShapeInfo_1triangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::LocalShapeInfo *arg1 = (btCollisionWorld::LocalShapeInfo *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalShapeInfo **)&jarg1;
result = (int) ((arg1)->m_triangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1LocalShapeInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionWorld::LocalShapeInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionWorld::LocalShapeInfo *)new btCollisionWorld::LocalShapeInfo();
*(btCollisionWorld::LocalShapeInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1LocalShapeInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::LocalShapeInfo *arg1 = (btCollisionWorld::LocalShapeInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::LocalShapeInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1LocalRayResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionWorld::LocalShapeInfo *arg2 = (btCollisionWorld::LocalShapeInfo *) 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
btCollisionWorld::LocalRayResult *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionWorld::LocalShapeInfo **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
result = (btCollisionWorld::LocalRayResult *)new btCollisionWorld::LocalRayResult((btCollisionObject const *)arg1,arg2,(btVector3 const &)*arg3,arg4);
*(btCollisionWorld::LocalRayResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1collisionObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
if (arg1) (arg1)->m_collisionObject = (btCollisionObject const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1collisionObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
result = (btCollisionObject *) ((arg1)->m_collisionObject);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1localShapeInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btCollisionWorld::LocalShapeInfo *arg2 = (btCollisionWorld::LocalShapeInfo *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
arg2 = *(btCollisionWorld::LocalShapeInfo **)&jarg2;
if (arg1) (arg1)->m_localShapeInfo = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1localShapeInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btCollisionWorld::LocalShapeInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
result = (btCollisionWorld::LocalShapeInfo *) ((arg1)->m_localShapeInfo);
*(btCollisionWorld::LocalShapeInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1hitNormalLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hitNormalLocal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1hitNormalLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hitNormalLocal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1hitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalRayResult_1hitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
result = (btScalar) ((arg1)->m_hitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1LocalRayResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::LocalRayResult *arg1 = (btCollisionWorld::LocalRayResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::LocalRayResult **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1closestHitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_closestHitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1closestHitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
result = (btScalar) ((arg1)->m_closestHitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1collisionObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
if (arg1) (arg1)->m_collisionObject = (btCollisionObject const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1collisionObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
result = (btCollisionObject *) ((arg1)->m_collisionObject);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1collisionFilterGroup_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterGroup = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1collisionFilterGroup_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
result = (int) ((arg1)->m_collisionFilterGroup);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1collisionFilterMask_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterMask = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1collisionFilterMask_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
result = (int) ((arg1)->m_collisionFilterMask);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1flags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_flags = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1flags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
result = (unsigned int) ((arg1)->m_flags);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1RayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1hasHit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
result = (bool)((btCollisionWorld::RayResultCallback const *)arg1)->hasHit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1RayResultCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionWorld::RayResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionWorld::RayResultCallback *)new SwigDirector_RayResultCallback(jenv);
*(btCollisionWorld::RayResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1needsCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)((btCollisionWorld::RayResultCallback const *)arg1)->needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1needsCollisionSwigExplicitRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)((btCollisionWorld::RayResultCallback const *)arg1)->btCollisionWorld::RayResultCallback::needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1addSingleResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::RayResultCallback *arg1 = (btCollisionWorld::RayResultCallback *) 0 ;
btCollisionWorld::LocalRayResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::RayResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalRayResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalRayResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btCollisionWorld::RayResultCallback *obj = *((btCollisionWorld::RayResultCallback **)&objarg);
(void)jcls;
SwigDirector_RayResultCallback *director = (SwigDirector_RayResultCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_RayResultCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btCollisionWorld::RayResultCallback *obj = *((btCollisionWorld::RayResultCallback **)&objarg);
SwigDirector_RayResultCallback *director = (SwigDirector_RayResultCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ClosestRayResultCallback(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btCollisionWorld::ClosestRayResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btCollisionWorld::ClosestRayResultCallback *)new SwigDirector_ClosestRayResultCallback(jenv,(btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btCollisionWorld::ClosestRayResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1addSingleResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btCollisionWorld::LocalRayResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalRayResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalRayResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1addSingleResultSwigExplicitClosestRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btCollisionWorld::LocalRayResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalRayResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalRayResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->btCollisionWorld::ClosestRayResultCallback::addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1getRayFromWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_getRayFromWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1setRayFromWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_setRayFromWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1getRayToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_getRayToWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1setRayToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_setRayToWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1getHitNormalWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_getHitNormalWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1setHitNormalWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_setHitNormalWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1getHitPointWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_getHitPointWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1setHitPointWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestRayResultCallback_setHitPointWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ClosestRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::ClosestRayResultCallback *arg1 = (btCollisionWorld::ClosestRayResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btCollisionWorld::ClosestRayResultCallback *obj = *((btCollisionWorld::ClosestRayResultCallback **)&objarg);
(void)jcls;
SwigDirector_ClosestRayResultCallback *director = (SwigDirector_ClosestRayResultCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btCollisionWorld::ClosestRayResultCallback *obj = *((btCollisionWorld::ClosestRayResultCallback **)&objarg);
SwigDirector_ClosestRayResultCallback *director = (SwigDirector_ClosestRayResultCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1AllHitsRayResultCallback(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btCollisionWorld::AllHitsRayResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btCollisionWorld::AllHitsRayResultCallback *)new SwigDirector_AllHitsRayResultCallback(jenv,(btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btCollisionWorld::AllHitsRayResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1collisionObjects_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btCollisionObject const * > *arg2 = (btAlignedObjectArray< btCollisionObject const * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
arg2 = *(btAlignedObjectArray< btCollisionObject const * > **)&jarg2;
if (arg1) (arg1)->m_collisionObjects = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1collisionObjects_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btCollisionObject const * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
result = (btAlignedObjectArray< btCollisionObject const * > *)& ((arg1)->m_collisionObjects);
*(btAlignedObjectArray< btCollisionObject const * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1hitNormalWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btVector3 > *arg2 = (btAlignedObjectArray< btVector3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
arg2 = *(btAlignedObjectArray< btVector3 > **)&jarg2;
if (arg1) (arg1)->m_hitNormalWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1hitNormalWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btVector3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
result = (btAlignedObjectArray< btVector3 > *)& ((arg1)->m_hitNormalWorld);
*(btAlignedObjectArray< btVector3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1hitPointWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btVector3 > *arg2 = (btAlignedObjectArray< btVector3 > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
arg2 = *(btAlignedObjectArray< btVector3 > **)&jarg2;
if (arg1) (arg1)->m_hitPointWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1hitPointWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btVector3 > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
result = (btAlignedObjectArray< btVector3 > *)& ((arg1)->m_hitPointWorld);
*(btAlignedObjectArray< btVector3 > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1hitFractions_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btScalar > *arg2 = (btAlignedObjectArray< btScalar > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
arg2 = *(btAlignedObjectArray< btScalar > **)&jarg2;
if (arg1) (arg1)->m_hitFractions = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1hitFractions_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btAlignedObjectArray< btScalar > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
result = (btAlignedObjectArray< btScalar > *)& ((arg1)->m_hitFractions);
*(btAlignedObjectArray< btScalar > **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1addSingleResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btCollisionWorld::LocalRayResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalRayResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalRayResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1addSingleResultSwigExplicitAllHitsRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btCollisionWorld::LocalRayResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalRayResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalRayResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->btCollisionWorld::AllHitsRayResultCallback::addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1getRayFromWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_AllHitsRayResultCallback_getRayFromWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1setRayFromWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_AllHitsRayResultCallback_setRayFromWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1getRayToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_AllHitsRayResultCallback_getRayToWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1setRayToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_AllHitsRayResultCallback_setRayToWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1AllHitsRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::AllHitsRayResultCallback *arg1 = (btCollisionWorld::AllHitsRayResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btCollisionWorld::AllHitsRayResultCallback *obj = *((btCollisionWorld::AllHitsRayResultCallback **)&objarg);
(void)jcls;
SwigDirector_AllHitsRayResultCallback *director = (SwigDirector_AllHitsRayResultCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btCollisionWorld::AllHitsRayResultCallback *obj = *((btCollisionWorld::AllHitsRayResultCallback **)&objarg);
SwigDirector_AllHitsRayResultCallback *director = (SwigDirector_AllHitsRayResultCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1LocalConvexResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionWorld::LocalShapeInfo *arg2 = (btCollisionWorld::LocalShapeInfo *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar arg5 ;
btCollisionWorld::LocalConvexResult *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionWorld::LocalShapeInfo **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
result = (btCollisionWorld::LocalConvexResult *)new btCollisionWorld::LocalConvexResult((btCollisionObject const *)arg1,arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
*(btCollisionWorld::LocalConvexResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1hitCollisionObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
if (arg1) (arg1)->m_hitCollisionObject = (btCollisionObject const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1hitCollisionObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
result = (btCollisionObject *) ((arg1)->m_hitCollisionObject);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1localShapeInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btCollisionWorld::LocalShapeInfo *arg2 = (btCollisionWorld::LocalShapeInfo *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
arg2 = *(btCollisionWorld::LocalShapeInfo **)&jarg2;
if (arg1) (arg1)->m_localShapeInfo = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1localShapeInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btCollisionWorld::LocalShapeInfo *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
result = (btCollisionWorld::LocalShapeInfo *) ((arg1)->m_localShapeInfo);
*(btCollisionWorld::LocalShapeInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1hitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1hitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
result = (btScalar) ((arg1)->m_hitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1getHitNormalLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_LocalConvexResult_getHitNormalLocal(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1setHitNormalLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_LocalConvexResult_setHitNormalLocal(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1getHitPointLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_LocalConvexResult_getHitPointLocal(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_LocalConvexResult_1setHitPointLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_LocalConvexResult_setHitPointLocal(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1LocalConvexResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::LocalConvexResult *arg1 = (btCollisionWorld::LocalConvexResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::LocalConvexResult **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1closestHitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_closestHitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1closestHitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
result = (btScalar) ((arg1)->m_closestHitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1collisionFilterGroup_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterGroup = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1collisionFilterGroup_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
result = (int) ((arg1)->m_collisionFilterGroup);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1collisionFilterMask_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterMask = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1collisionFilterMask_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
result = (int) ((arg1)->m_collisionFilterMask);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ConvexResultCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionWorld::ConvexResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionWorld::ConvexResultCallback *)new SwigDirector_ConvexResultCallback(jenv);
*(btCollisionWorld::ConvexResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ConvexResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1hasHit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
result = (bool)((btCollisionWorld::ConvexResultCallback const *)arg1)->hasHit();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1needsCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)((btCollisionWorld::ConvexResultCallback const *)arg1)->needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1needsCollisionSwigExplicitConvexResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)((btCollisionWorld::ConvexResultCallback const *)arg1)->btCollisionWorld::ConvexResultCallback::needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1addSingleResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::ConvexResultCallback *arg1 = (btCollisionWorld::ConvexResultCallback *) 0 ;
btCollisionWorld::LocalConvexResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ConvexResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalConvexResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalConvexResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btCollisionWorld::ConvexResultCallback *obj = *((btCollisionWorld::ConvexResultCallback **)&objarg);
(void)jcls;
SwigDirector_ConvexResultCallback *director = (SwigDirector_ConvexResultCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ConvexResultCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btCollisionWorld::ConvexResultCallback *obj = *((btCollisionWorld::ConvexResultCallback **)&objarg);
SwigDirector_ConvexResultCallback *director = (SwigDirector_ConvexResultCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ClosestConvexResultCallback(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btCollisionWorld::ClosestConvexResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btCollisionWorld::ClosestConvexResultCallback *)new SwigDirector_ClosestConvexResultCallback(jenv,(btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btCollisionWorld::ClosestConvexResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1convexFromWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_convexFromWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1convexFromWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_convexFromWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1convexToWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_convexToWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1convexToWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_convexToWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1hitCollisionObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
if (arg1) (arg1)->m_hitCollisionObject = (btCollisionObject const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1hitCollisionObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
result = (btCollisionObject *) ((arg1)->m_hitCollisionObject);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1addSingleResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btCollisionWorld::LocalConvexResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalConvexResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalConvexResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1addSingleResultSwigExplicitClosestConvexResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jfloat jresult = 0 ;
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btCollisionWorld::LocalConvexResult *arg2 = 0 ;
bool arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
arg2 = *(btCollisionWorld::LocalConvexResult **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::LocalConvexResult & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (btScalar)(arg1)->btCollisionWorld::ClosestConvexResultCallback::addSingleResult(*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1getConvexFromWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_getConvexFromWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1setRayFromWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_setRayFromWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1getConvexToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_getConvexToWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1setConvexToWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_setConvexToWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1getHitNormalWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_getHitNormalWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1setHitNormalWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_setHitNormalWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1getHitPointWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_getHitPointWorld(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1setHitPointWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btCollisionWorld_ClosestConvexResultCallback_setHitPointWorld(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ClosestConvexResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::ClosestConvexResultCallback *arg1 = (btCollisionWorld::ClosestConvexResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btCollisionWorld::ClosestConvexResultCallback *obj = *((btCollisionWorld::ClosestConvexResultCallback **)&objarg);
(void)jcls;
SwigDirector_ClosestConvexResultCallback *director = (SwigDirector_ClosestConvexResultCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btCollisionWorld::ClosestConvexResultCallback *obj = *((btCollisionWorld::ClosestConvexResultCallback **)&objarg);
SwigDirector_ClosestConvexResultCallback *director = (SwigDirector_ClosestConvexResultCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1collisionFilterGroup_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterGroup = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1collisionFilterGroup_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
result = (int) ((arg1)->m_collisionFilterGroup);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1collisionFilterMask_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_collisionFilterMask = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1collisionFilterMask_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
result = (int) ((arg1)->m_collisionFilterMask);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1closestDistanceThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_closestDistanceThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1closestDistanceThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
result = (btScalar) ((arg1)->m_closestDistanceThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ContactResultCallback(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCollisionWorld::ContactResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCollisionWorld::ContactResultCallback *)new SwigDirector_ContactResultCallback(jenv);
*(btCollisionWorld::ContactResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ContactResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1needsCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)((btCollisionWorld::ContactResultCallback const *)arg1)->needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1needsCollisionSwigExplicitContactResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)((btCollisionWorld::ContactResultCallback const *)arg1)->btCollisionWorld::ContactResultCallback::needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1addSingleResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5, jlong jarg6, jobject jarg6_, jint jarg7, jint jarg8) {
jfloat jresult = 0 ;
btCollisionWorld::ContactResultCallback *arg1 = (btCollisionWorld::ContactResultCallback *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
int arg4 ;
int arg5 ;
btCollisionObjectWrapper *arg6 = (btCollisionObjectWrapper *) 0 ;
int arg7 ;
int arg8 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(btCollisionWorld::ContactResultCallback **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = *(btCollisionObjectWrapper **)&jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
result = (btScalar)(arg1)->addSingleResult(*arg2,(btCollisionObjectWrapper const *)arg3,arg4,arg5,(btCollisionObjectWrapper const *)arg6,arg7,arg8);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btCollisionWorld::ContactResultCallback *obj = *((btCollisionWorld::ContactResultCallback **)&objarg);
(void)jcls;
SwigDirector_ContactResultCallback *director = (SwigDirector_ContactResultCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactResultCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btCollisionWorld::ContactResultCallback *obj = *((btCollisionWorld::ContactResultCallback **)&objarg);
SwigDirector_ContactResultCallback *director = (SwigDirector_ContactResultCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeConvexResultCallback_1me_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
ClosestNotMeConvexResultCallback *arg1 = (ClosestNotMeConvexResultCallback *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ClosestNotMeConvexResultCallback **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
if (arg1) (arg1)->m_me = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeConvexResultCallback_1me_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
ClosestNotMeConvexResultCallback *arg1 = (ClosestNotMeConvexResultCallback *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ClosestNotMeConvexResultCallback **)&jarg1;
result = (btCollisionObject *) ((arg1)->m_me);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeConvexResultCallback_1allowedPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
ClosestNotMeConvexResultCallback *arg1 = (ClosestNotMeConvexResultCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ClosestNotMeConvexResultCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_allowedPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeConvexResultCallback_1allowedPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
ClosestNotMeConvexResultCallback *arg1 = (ClosestNotMeConvexResultCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ClosestNotMeConvexResultCallback **)&jarg1;
result = (btScalar) ((arg1)->m_allowedPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ClosestNotMeConvexResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
ClosestNotMeConvexResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (ClosestNotMeConvexResultCallback *)new ClosestNotMeConvexResultCallback(arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(ClosestNotMeConvexResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeConvexResultCallback_1needsCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
ClosestNotMeConvexResultCallback *arg1 = (ClosestNotMeConvexResultCallback *) 0 ;
btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ClosestNotMeConvexResultCallback **)&jarg1;
arg2 = *(btBroadphaseProxy **)&jarg2;
result = (bool)(arg1)->needsCollision(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ClosestNotMeConvexResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
ClosestNotMeConvexResultCallback *arg1 = (ClosestNotMeConvexResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(ClosestNotMeConvexResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ClosestNotMeRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
ClosestNotMeRayResultCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionObject **)&jarg1;
result = (ClosestNotMeRayResultCallback *)new ClosestNotMeRayResultCallback(arg1);
*(ClosestNotMeRayResultCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ClosestNotMeRayResultCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
ClosestNotMeRayResultCallback *arg1 = (ClosestNotMeRayResultCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(ClosestNotMeRayResultCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvex2dConvex2dAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jlong jarg6, jobject jarg6_, jint jarg7, jint jarg8) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btSimplexSolverInterface *arg5 = (btSimplexSolverInterface *) 0 ;
btConvexPenetrationDepthSolver *arg6 = (btConvexPenetrationDepthSolver *) 0 ;
int arg7 ;
int arg8 ;
btConvex2dConvex2dAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
(void)jarg6_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = *(btSimplexSolverInterface **)&jarg5;
arg6 = *(btConvexPenetrationDepthSolver **)&jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
result = (btConvex2dConvex2dAlgorithm *)new btConvex2dConvex2dAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4,arg5,arg6,arg7,arg8);
*(btConvex2dConvex2dAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvex2dConvex2dAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvex2dConvex2dAlgorithm *arg1 = (btConvex2dConvex2dAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvex2dConvex2dAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1setLowLevelOfDetail(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btConvex2dConvex2dAlgorithm *arg1 = (btConvex2dConvex2dAlgorithm *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setLowLevelOfDetail(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1getManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvex2dConvex2dAlgorithm *arg1 = (btConvex2dConvex2dAlgorithm *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm **)&jarg1;
result = (btPersistentManifold *)(arg1)->getManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1pdSolver_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
btConvexPenetrationDepthSolver *arg2 = (btConvexPenetrationDepthSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
arg2 = *(btConvexPenetrationDepthSolver **)&jarg2;
if (arg1) (arg1)->m_pdSolver = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1pdSolver_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
btConvexPenetrationDepthSolver *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
result = (btConvexPenetrationDepthSolver *) ((arg1)->m_pdSolver);
*(btConvexPenetrationDepthSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1simplexSolver_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
btSimplexSolverInterface *arg2 = (btSimplexSolverInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
arg2 = *(btSimplexSolverInterface **)&jarg2;
if (arg1) (arg1)->m_simplexSolver = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1simplexSolver_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
btSimplexSolverInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
result = (btSimplexSolverInterface *) ((arg1)->m_simplexSolver);
*(btSimplexSolverInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1numPerturbationIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numPerturbationIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1numPerturbationIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
result = (int) ((arg1)->m_numPerturbationIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1minimumPointsPerturbationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumPointsPerturbationThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1minimumPointsPerturbationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
result = (int) ((arg1)->m_minimumPointsPerturbationThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvex2dConvex2dAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btSimplexSolverInterface *arg1 = (btSimplexSolverInterface *) 0 ;
btConvexPenetrationDepthSolver *arg2 = (btConvexPenetrationDepthSolver *) 0 ;
btConvex2dConvex2dAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSimplexSolverInterface **)&jarg1;
arg2 = *(btConvexPenetrationDepthSolver **)&jarg2;
result = (btConvex2dConvex2dAlgorithm::CreateFunc *)new btConvex2dConvex2dAlgorithm::CreateFunc(arg1,arg2);
*(btConvex2dConvex2dAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvex2dConvex2dAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvex2dConvex2dAlgorithm::CreateFunc *arg1 = (btConvex2dConvex2dAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1box1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
btBoxShape *arg2 = (btBoxShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBoxBoxDetector **)&jarg1;
arg2 = *(btBoxShape **)&jarg2;
if (arg1) (arg1)->m_box1 = (btBoxShape const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1box1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
btBoxShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxBoxDetector **)&jarg1;
result = (btBoxShape *) ((arg1)->m_box1);
*(btBoxShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1box2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
btBoxShape *arg2 = (btBoxShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBoxBoxDetector **)&jarg1;
arg2 = *(btBoxShape **)&jarg2;
if (arg1) (arg1)->m_box2 = (btBoxShape const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1box2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
btBoxShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBoxBoxDetector **)&jarg1;
result = (btBoxShape *) ((arg1)->m_box2);
*(btBoxShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBoxBoxDetector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btBoxShape *arg1 = (btBoxShape *) 0 ;
btBoxShape *arg2 = (btBoxShape *) 0 ;
btBoxBoxDetector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBoxShape **)&jarg1;
arg2 = *(btBoxShape **)&jarg2;
result = (btBoxBoxDetector *)new btBoxBoxDetector((btBoxShape const *)arg1,(btBoxShape const *)arg2);
*(btBoxBoxDetector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBoxBoxDetector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBoxBoxDetector **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1getClosestPoints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5) {
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btBoxBoxDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
arg5 = jarg5 ? true : false;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1getClosestPoints_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btBoxBoxDetector *arg1 = (btBoxBoxDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btBoxBoxDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereBoxCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
bool arg5 ;
btSphereBoxCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = jarg5 ? true : false;
result = (btSphereBoxCollisionAlgorithm *)new btSphereBoxCollisionAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4,arg5);
*(btSphereBoxCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereBoxCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereBoxCollisionAlgorithm *arg1 = (btSphereBoxCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereBoxCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereBoxCollisionAlgorithm_1getSphereDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg6, jfloat jarg7, jfloat jarg8) {
jboolean jresult = 0 ;
btSphereBoxCollisionAlgorithm *arg1 = (btSphereBoxCollisionAlgorithm *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btScalar arg7 ;
btScalar arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSphereBoxCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btScalar **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = (btScalar)jarg7;
arg8 = (btScalar)jarg8;
result = (bool)(arg1)->getSphereDistance((btCollisionObjectWrapper const *)arg2,*arg3,*arg4,*arg5,(btVector3 const &)*arg6,arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereBoxCollisionAlgorithm_1getSpherePenetration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
jfloat jresult = 0 ;
btSphereBoxCollisionAlgorithm *arg1 = (btSphereBoxCollisionAlgorithm *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSphereBoxCollisionAlgorithm **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
result = (btScalar)(arg1)->getSpherePenetration((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSphereBoxCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSphereBoxCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSphereBoxCollisionAlgorithm::CreateFunc *)new btSphereBoxCollisionAlgorithm::CreateFunc();
*(btSphereBoxCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSphereBoxCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSphereBoxCollisionAlgorithm::CreateFunc *arg1 = (btSphereBoxCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSphereBoxCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1getDispatcherFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
result = (int)((btCollisionDispatcher const *)arg1)->getDispatcherFlags();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1setDispatcherFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setDispatcherFlags(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1registerCollisionCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jlong jarg4, jobject jarg4_) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
int arg2 ;
int arg3 ;
btCollisionAlgorithmCreateFunc *arg4 = (btCollisionAlgorithmCreateFunc *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btCollisionDispatcher **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = *(btCollisionAlgorithmCreateFunc **)&jarg4;
(arg1)->registerCollisionCreateFunc(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1registerClosestPointsCreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jlong jarg4, jobject jarg4_) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
int arg2 ;
int arg3 ;
btCollisionAlgorithmCreateFunc *arg4 = (btCollisionAlgorithmCreateFunc *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btCollisionDispatcher **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = *(btCollisionAlgorithmCreateFunc **)&jarg4;
(arg1)->registerClosestPointsCreateFunc(arg2,arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1getManifoldByIndexInternalConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
int arg2 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
arg2 = (int)jarg2;
result = (btPersistentManifold *)((btCollisionDispatcher const *)arg1)->getManifoldByIndexInternal(arg2);
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
btCollisionDispatcher *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
result = (btCollisionDispatcher *)new btCollisionDispatcher(arg1);
*(btCollisionDispatcher **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionDispatcher **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1setNearCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
btNearCallback arg2 = (btNearCallback) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
arg2 = *(btNearCallback *)&jarg2;
(arg1)->setNearCallback(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1getNearCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
btNearCallback result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
result = (btNearCallback)((btCollisionDispatcher const *)arg1)->getNearCallback();
*(btNearCallback *)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1defaultNearCallback(JNIEnv *jenv, jclass jcls, jobject jarg1, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btBroadphasePair *arg1 = 0 ;
btCollisionDispatcher *arg2 = 0 ;
btDispatcherInfo *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btBroadphasePair **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btBroadphasePair & reference is null");
return ;
}
arg2 = *(btCollisionDispatcher **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionDispatcher & reference is null");
return ;
}
arg3 = *(btDispatcherInfo **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDispatcherInfo const & reference is null");
return ;
}
btCollisionDispatcher::defaultNearCallback(*arg1,*arg2,(btDispatcherInfo const &)*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1getCollisionConfiguration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
btCollisionConfiguration *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
result = (btCollisionConfiguration *)(arg1)->getCollisionConfiguration();
*(btCollisionConfiguration **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1getCollisionConfigurationConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
btCollisionConfiguration *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
result = (btCollisionConfiguration *)((btCollisionDispatcher const *)arg1)->getCollisionConfiguration();
*(btCollisionConfiguration **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1setCollisionConfiguration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
btCollisionConfiguration *arg2 = (btCollisionConfiguration *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionDispatcher **)&jarg1;
arg2 = *(btCollisionConfiguration **)&jarg2;
(arg1)->setCollisionConfiguration(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionDispatcherMt_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
int arg2 ;
btCollisionDispatcherMt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionDispatcherMt *)new btCollisionDispatcherMt(arg1,arg2);
*(btCollisionDispatcherMt **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionDispatcherMt_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
btCollisionDispatcherMt *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
result = (btCollisionDispatcherMt *)new btCollisionDispatcherMt(arg1);
*(btCollisionDispatcherMt **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionDispatcherMt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionDispatcherMt *arg1 = (btCollisionDispatcherMt *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionDispatcherMt **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexConvexAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jint jarg6, jint jarg7) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionAlgorithmConstructionInfo *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg4 = (btCollisionObjectWrapper *) 0 ;
btConvexPenetrationDepthSolver *arg5 = (btConvexPenetrationDepthSolver *) 0 ;
int arg6 ;
int arg7 ;
btConvexConvexAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionAlgorithmConstructionInfo **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btCollisionObjectWrapper **)&jarg4;
arg5 = *(btConvexPenetrationDepthSolver **)&jarg5;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
result = (btConvexConvexAlgorithm *)new btConvexConvexAlgorithm(arg1,(btCollisionAlgorithmConstructionInfo const &)*arg2,(btCollisionObjectWrapper const *)arg3,(btCollisionObjectWrapper const *)arg4,arg5,arg6,arg7);
*(btConvexConvexAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexConvexAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexConvexAlgorithm *arg1 = (btConvexConvexAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexConvexAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1setLowLevelOfDetail(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btConvexConvexAlgorithm *arg1 = (btConvexConvexAlgorithm *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setLowLevelOfDetail(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1getManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexConvexAlgorithm *arg1 = (btConvexConvexAlgorithm *) 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm **)&jarg1;
result = (btPersistentManifold *)(arg1)->getManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1pdSolver_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
btConvexPenetrationDepthSolver *arg2 = (btConvexPenetrationDepthSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
arg2 = *(btConvexPenetrationDepthSolver **)&jarg2;
if (arg1) (arg1)->m_pdSolver = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1pdSolver_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
btConvexPenetrationDepthSolver *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
result = (btConvexPenetrationDepthSolver *) ((arg1)->m_pdSolver);
*(btConvexPenetrationDepthSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1numPerturbationIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numPerturbationIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1numPerturbationIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
result = (int) ((arg1)->m_numPerturbationIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1minimumPointsPerturbationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_minimumPointsPerturbationThreshold = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1minimumPointsPerturbationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
result = (int) ((arg1)->m_minimumPointsPerturbationThreshold);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexConvexAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexPenetrationDepthSolver *arg1 = (btConvexPenetrationDepthSolver *) 0 ;
btConvexConvexAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexPenetrationDepthSolver **)&jarg1;
result = (btConvexConvexAlgorithm::CreateFunc *)new btConvexConvexAlgorithm::CreateFunc(arg1);
*(btConvexConvexAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexConvexAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexConvexAlgorithm::CreateFunc *arg1 = (btConvexConvexAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_SphereTriangleDetector_1getClosestPoints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5) {
SphereTriangleDetector *arg1 = (SphereTriangleDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(SphereTriangleDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
arg5 = jarg5 ? true : false;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_SphereTriangleDetector_1getClosestPoints_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
SphereTriangleDetector *arg1 = (SphereTriangleDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(SphereTriangleDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1SphereTriangleDetector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
jlong jresult = 0 ;
btSphereShape *arg1 = (btSphereShape *) 0 ;
btTriangleShape *arg2 = (btTriangleShape *) 0 ;
btScalar arg3 ;
SphereTriangleDetector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSphereShape **)&jarg1;
arg2 = *(btTriangleShape **)&jarg2;
arg3 = (btScalar)jarg3;
result = (SphereTriangleDetector *)new SphereTriangleDetector(arg1,arg2,arg3);
*(SphereTriangleDetector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1SphereTriangleDetector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
SphereTriangleDetector *arg1 = (SphereTriangleDetector *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(SphereTriangleDetector **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_SphereTriangleDetector_1collide(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jlong jarg6, jfloat jarg7) {
jboolean jresult = 0 ;
SphereTriangleDetector *arg1 = (SphereTriangleDetector *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar *arg5 = 0 ;
btScalar *arg6 = 0 ;
btScalar arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(SphereTriangleDetector **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btScalar **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
arg6 = *(btScalar **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
arg7 = (btScalar)jarg7;
result = (bool)(arg1)->collide((btVector3 const &)*arg2,*arg3,*arg4,*arg5,*arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenerateInternalEdgeInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhTriangleMeshShape *arg1 = (btBvhTriangleMeshShape *) 0 ;
btTriangleInfoMap *arg2 = (btTriangleInfoMap *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTriangleMeshShape **)&jarg1;
arg2 = *(btTriangleInfoMap **)&jarg2;
btGenerateInternalEdgeInfo(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAdjustInternalEdgeContacts_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5, jint jarg6) {
btManifoldPoint *arg1 = 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
int arg4 ;
int arg5 ;
int arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btManifoldPoint **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
btAdjustInternalEdgeContacts(*arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAdjustInternalEdgeContacts_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5) {
btManifoldPoint *arg1 = 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
int arg4 ;
int arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btManifoldPoint **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
btAdjustInternalEdgeContacts(*arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexCast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexCast *arg1 = (btConvexCast *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexCast **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1DebugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->DebugDraw(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1drawCoordSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->drawCoordSystem((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1reportFailure(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->reportFailure(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConvexCast_1CastResult(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConvexCast::CastResult *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConvexCast::CastResult *)new btConvexCast::CastResult();
*(btConvexCast::CastResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexCast_1CastResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexCast::CastResult **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1hitTransformA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_hitTransformA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1hitTransformA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btTransform *)& ((arg1)->m_hitTransformA);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1hitTransformB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_hitTransformB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1hitTransformB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btTransform *)& ((arg1)->m_hitTransformB);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1hitPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_hitPoint = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1hitPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_hitPoint);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1fraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_fraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1fraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btScalar) ((arg1)->m_fraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1debugDrawer_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btIDebugDraw *arg2 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = *(btIDebugDraw **)&jarg2;
if (arg1) (arg1)->m_debugDrawer = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1debugDrawer_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btIDebugDraw *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btIDebugDraw *) ((arg1)->m_debugDrawer);
*(btIDebugDraw **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1allowedPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_allowedPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1CastResult_1allowedPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConvexCast::CastResult *arg1 = (btConvexCast::CastResult *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexCast::CastResult **)&jarg1;
result = (btScalar) ((arg1)->m_allowedPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexCast_1calcTimeOfImpact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_) {
jboolean jresult = 0 ;
btConvexCast *arg1 = (btConvexCast *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btTransform *arg5 = 0 ;
btConvexCast::CastResult *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg6_;
arg1 = *(btConvexCast **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btTransform local_arg5;
gdx_setbtTransformFromMatrix4(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix4 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btConvexCast::CastResult **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConvexCast::CastResult & reference is null");
return 0;
}
result = (bool)(arg1)->calcTimeOfImpact((btTransform const &)*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btTransform const &)*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSubsimplexConvexCast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btSimplexSolverInterface *arg3 = (btSimplexSolverInterface *) 0 ;
btSubsimplexConvexCast *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = *(btSimplexSolverInterface **)&jarg3;
result = (btSubsimplexConvexCast *)new btSubsimplexConvexCast((btConvexShape const *)arg1,(btConvexShape const *)arg2,arg3);
*(btSubsimplexConvexCast **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSubsimplexConvexCast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSubsimplexConvexCast *arg1 = (btSubsimplexConvexCast *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSubsimplexConvexCast **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralContactClipping_1clipHullAgainstHull(JNIEnv *jenv, jclass jcls, jobject jarg1, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jfloat jarg6, jfloat jarg7, jlong jarg8, jobject jarg8_, jlong jarg9, jobject jarg9_, jlong jarg10, jobject jarg10_) {
btVector3 *arg1 = 0 ;
btConvexPolyhedron *arg2 = 0 ;
btConvexPolyhedron *arg3 = 0 ;
btTransform *arg4 = 0 ;
btTransform *arg5 = 0 ;
btScalar arg6 ;
btScalar arg7 ;
btVertexArray *arg8 = 0 ;
btVertexArray *arg9 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg10 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
(void)jarg3_;
(void)jarg8_;
(void)jarg9_;
(void)jarg10_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = *(btConvexPolyhedron **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConvexPolyhedron const & reference is null");
return ;
}
arg3 = *(btConvexPolyhedron **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConvexPolyhedron const & reference is null");
return ;
}
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btTransform local_arg5;
gdx_setbtTransformFromMatrix4(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix4 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = (btScalar)jarg6;
arg7 = (btScalar)jarg7;
arg8 = *(btVertexArray **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVertexArray & reference is null");
return ;
}
arg9 = *(btVertexArray **)&jarg9;
if (!arg9) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVertexArray & reference is null");
return ;
}
arg10 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg10;
if (!arg10) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
btPolyhedralContactClipping::clipHullAgainstHull((btVector3 const &)*arg1,(btConvexPolyhedron const &)*arg2,(btConvexPolyhedron const &)*arg3,(btTransform const &)*arg4,(btTransform const &)*arg5,arg6,arg7,*arg8,*arg9,*arg10);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralContactClipping_1clipFaceAgainstHull(JNIEnv *jenv, jclass jcls, jobject jarg1, jlong jarg2, jobject jarg2_, jobject jarg3, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jfloat jarg6, jfloat jarg7, jlong jarg8, jobject jarg8_) {
btVector3 *arg1 = 0 ;
btConvexPolyhedron *arg2 = 0 ;
btTransform *arg3 = 0 ;
btVertexArray *arg4 = 0 ;
btVertexArray *arg5 = 0 ;
btScalar arg6 ;
btScalar arg7 ;
btDiscreteCollisionDetectorInterface::Result *arg8 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg2_;
(void)jarg4_;
(void)jarg5_;
(void)jarg8_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = *(btConvexPolyhedron **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConvexPolyhedron const & reference is null");
return ;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btVertexArray **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVertexArray & reference is null");
return ;
}
arg5 = *(btVertexArray **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVertexArray & reference is null");
return ;
}
arg6 = (btScalar)jarg6;
arg7 = (btScalar)jarg7;
arg8 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg8;
if (!arg8) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
btPolyhedralContactClipping::clipFaceAgainstHull((btVector3 const &)*arg1,(btConvexPolyhedron const &)*arg2,(btTransform const &)*arg3,*arg4,*arg5,arg6,arg7,*arg8);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralContactClipping_1findSeparatingAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_) {
jboolean jresult = 0 ;
btConvexPolyhedron *arg1 = 0 ;
btConvexPolyhedron *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg6_;
arg1 = *(btConvexPolyhedron **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConvexPolyhedron const & reference is null");
return 0;
}
arg2 = *(btConvexPolyhedron **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConvexPolyhedron const & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return 0;
}
result = (bool)btPolyhedralContactClipping::findSeparatingAxis((btConvexPolyhedron const &)*arg1,(btConvexPolyhedron const &)*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralContactClipping_1clipFace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jfloat jarg4) {
btVertexArray *arg1 = 0 ;
btVertexArray *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVertexArray **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVertexArray const & reference is null");
return ;
}
arg2 = *(btVertexArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVertexArray & reference is null");
return ;
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
btPolyhedralContactClipping::clipFace((btAlignedObjectArray< btVector3 > const &)*arg1,*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPolyhedralContactClipping(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPolyhedralContactClipping *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPolyhedralContactClipping *)new btPolyhedralContactClipping();
*(btPolyhedralContactClipping **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPolyhedralContactClipping(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPolyhedralContactClipping *arg1 = (btPolyhedralContactClipping *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPolyhedralContactClipping **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gContactBreakingThreshold_1set(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
btScalar arg1 ;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
gContactBreakingThreshold = arg1;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gContactBreakingThreshold_1get(JNIEnv *jenv, jclass jcls) {
jfloat jresult = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
result = (btScalar)gContactBreakingThreshold;
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1companionIdA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_companionIdA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1companionIdA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (int) ((arg1)->m_companionIdA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1companionIdB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_companionIdB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1companionIdB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (int) ((arg1)->m_companionIdB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1index1a_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_index1a = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1index1a_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (int) ((arg1)->m_index1a);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPersistentManifold_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPersistentManifold *)new btPersistentManifold();
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPersistentManifold_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jfloat jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btCollisionObject *arg1 = (btCollisionObject *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
btScalar arg4 ;
btScalar arg5 ;
btPersistentManifold *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionObject **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
result = (btPersistentManifold *)new btPersistentManifold((btCollisionObject const *)arg1,(btCollisionObject const *)arg2,arg3,arg4,arg5);
*(btPersistentManifold **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getBody0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (btCollisionObject *)((btPersistentManifold const *)arg1)->getBody0();
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getBody1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (btCollisionObject *)((btPersistentManifold const *)arg1)->getBody1();
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1setBodies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
(arg1)->setBodies((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1clearUserCache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btManifoldPoint *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
(arg1)->clearUserCache(*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getNumContacts(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (int)((btPersistentManifold const *)arg1)->getNumContacts();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1setNumContacts(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setNumContacts(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getContactPointConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
btManifoldPoint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
result = (btManifoldPoint *) &((btPersistentManifold const *)arg1)->getContactPoint(arg2);
*(btManifoldPoint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getContactPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
btManifoldPoint *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
result = (btManifoldPoint *) &(arg1)->getContactPoint(arg2);
*(btManifoldPoint **)&jresult = result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getContactBreakingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (btScalar)((btPersistentManifold const *)arg1)->getContactBreakingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getContactProcessingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
result = (btScalar)((btPersistentManifold const *)arg1)->getContactProcessingThreshold();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1setContactBreakingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setContactBreakingThreshold(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1setContactProcessingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setContactProcessingThreshold(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1getCacheEntry(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btManifoldPoint *arg2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint const & reference is null");
return 0;
}
result = (int)((btPersistentManifold const *)arg1)->getCacheEntry((btManifoldPoint const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1addManifoldPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btManifoldPoint *arg2 = 0 ;
bool arg3 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint const & reference is null");
return 0;
}
arg3 = jarg3 ? true : false;
result = (int)(arg1)->addManifoldPoint((btManifoldPoint const &)*arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1addManifoldPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btManifoldPoint *arg2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint const & reference is null");
return 0;
}
result = (int)(arg1)->addManifoldPoint((btManifoldPoint const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1removeContactPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeContactPoint(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1replaceContactPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btManifoldPoint *arg2 = 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint const & reference is null");
return ;
}
arg3 = (int)jarg3;
(arg1)->replaceContactPoint((btManifoldPoint const &)*arg2,arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1validContactDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btManifoldPoint *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPersistentManifold **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint const & reference is null");
return 0;
}
result = (bool)((btPersistentManifold const *)arg1)->validContactDistance((btManifoldPoint const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1refreshContactPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->refreshContactPoints((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1clearManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPersistentManifold **)&jarg1;
(arg1)->clearManifold();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPersistentManifold(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPersistentManifold *arg1 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPersistentManifold **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg2 = 0 ;
btAlignedObjectArray< btPersistentManifold * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btPersistentManifold * > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< btPersistentManifold * > *) &(arg1)->operator =((btAlignedObjectArray< btPersistentManifold * > const &)*arg2);
*(btAlignedObjectArray< btPersistentManifold * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPersistentManifoldArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btPersistentManifold * > *)new btAlignedObjectArray< btPersistentManifold * >();
*(btAlignedObjectArray< btPersistentManifold * > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPersistentManifoldArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPersistentManifoldArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = 0 ;
btAlignedObjectArray< btPersistentManifold * > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btPersistentManifold * > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< btPersistentManifold * > *)new btAlignedObjectArray< btPersistentManifold * >((btAlignedObjectArray< btPersistentManifold * > const &)*arg1);
*(btAlignedObjectArray< btPersistentManifold * > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
result = (int)((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
result = (btPersistentManifold **) &((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->at(arg2);
*(btPersistentManifold **)&jresult = *result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
result = (btPersistentManifold **) &(arg1)->at(arg2);
*(btPersistentManifold ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
result = (btPersistentManifold **) &((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->operator [](arg2);
*(btPersistentManifold **)&jresult = *result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
result = (btPersistentManifold **) &(arg1)->operator [](arg2);
*(btPersistentManifold ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
btPersistentManifold **arg3 = 0 ;
btPersistentManifold *temp3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
temp3 = *(btPersistentManifold **)&jarg3;
arg3 = (btPersistentManifold **)&temp3;
(arg1)->resize(arg2,(btPersistentManifold *const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
result = (btPersistentManifold **) &(arg1)->expandNonInitializing();
*(btPersistentManifold ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold *temp2 = 0 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
result = (btPersistentManifold **) &(arg1)->expand((btPersistentManifold *const &)*arg2);
*(btPersistentManifold ***)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
result = (btPersistentManifold **) &(arg1)->expand();
*(btPersistentManifold ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold *temp2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
(arg1)->push_back((btPersistentManifold *const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
result = (int)((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1less_1operatorFunctionCall(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * >::less *arg1 = (btAlignedObjectArray< btPersistentManifold * >::less *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold **arg3 = 0 ;
btPersistentManifold *temp2 = 0 ;
btPersistentManifold *temp3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * >::less **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
temp3 = *(btPersistentManifold **)&jarg3;
arg3 = (btPersistentManifold **)&temp3;
result = (bool)((btAlignedObjectArray< btPersistentManifold * >::less const *)arg1)->operator ()((btPersistentManifold *const &)*arg2,(btPersistentManifold *const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPersistentManifoldArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btPersistentManifold * >::less *)new btAlignedObjectArray< btPersistentManifold * >::less();
*(btAlignedObjectArray< btPersistentManifold * >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPersistentManifoldArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btPersistentManifold * >::less *arg1 = (btAlignedObjectArray< btPersistentManifold * >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btPersistentManifold * >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1findBinarySearch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
result = (int)((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->findBinarySearch((btPersistentManifold *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1findLinearSearch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
result = (int)((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->findLinearSearch((btPersistentManifold *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1findLinearSearch2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold *temp2 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
result = (int)((btAlignedObjectArray< btPersistentManifold * > const *)arg1)->findLinearSearch2((btPersistentManifold *const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btPersistentManifold **arg2 = 0 ;
btPersistentManifold *temp2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
temp2 = *(btPersistentManifold **)&jarg2;
arg2 = (btPersistentManifold **)&temp2;
(arg1)->remove((btPersistentManifold *const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifoldArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< btPersistentManifold * > *arg1 = (btAlignedObjectArray< btPersistentManifold * > *) 0 ;
btAlignedObjectArray< btPersistentManifold * > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg1;
arg2 = *(btAlignedObjectArray< btPersistentManifold * > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< btPersistentManifold * > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< btPersistentManifold * > const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1lastUsedMethod_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_lastUsedMethod = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1lastUsedMethod_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (int) ((arg1)->m_lastUsedMethod);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1curIter_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_curIter = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1curIter_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (int) ((arg1)->m_curIter);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1degenerateSimplex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_degenerateSimplex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1degenerateSimplex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (int) ((arg1)->m_degenerateSimplex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1catchDegeneracies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_catchDegeneracies = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1catchDegeneracies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (int) ((arg1)->m_catchDegeneracies);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1fixContactNormalDirection_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_fixContactNormalDirection = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1fixContactNormalDirection_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (int) ((arg1)->m_fixContactNormalDirection);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkPairDetector_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btSimplexSolverInterface *arg3 = (btSimplexSolverInterface *) 0 ;
btConvexPenetrationDepthSolver *arg4 = (btConvexPenetrationDepthSolver *) 0 ;
btGjkPairDetector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = *(btSimplexSolverInterface **)&jarg3;
arg4 = *(btConvexPenetrationDepthSolver **)&jarg4;
result = (btGjkPairDetector *)new btGjkPairDetector((btConvexShape const *)arg1,(btConvexShape const *)arg2,arg3,arg4);
*(btGjkPairDetector **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkPairDetector_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jfloat jarg5, jfloat jarg6, jlong jarg7, jobject jarg7_, jlong jarg8, jobject jarg8_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
int arg3 ;
int arg4 ;
btScalar arg5 ;
btScalar arg6 ;
btSimplexSolverInterface *arg7 = (btSimplexSolverInterface *) 0 ;
btConvexPenetrationDepthSolver *arg8 = (btConvexPenetrationDepthSolver *) 0 ;
btGjkPairDetector *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg7_;
(void)jarg8_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (btScalar)jarg5;
arg6 = (btScalar)jarg6;
arg7 = *(btSimplexSolverInterface **)&jarg7;
arg8 = *(btConvexPenetrationDepthSolver **)&jarg8;
result = (btGjkPairDetector *)new btGjkPairDetector((btConvexShape const *)arg1,(btConvexShape const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8);
*(btGjkPairDetector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkPairDetector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkPairDetector **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1getClosestPoints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jboolean jarg5) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
arg5 = jarg5 ? true : false;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1getClosestPoints_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
(arg1)->getClosestPoints((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1getClosestPointsNonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btDiscreteCollisionDetectorInterface::ClosestPointInput *arg2 = 0 ;
btDiscreteCollisionDetectorInterface::Result *arg3 = 0 ;
btIDebugDraw *arg4 = (btIDebugDraw *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = *(btDiscreteCollisionDetectorInterface::ClosestPointInput **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::ClosestPointInput const & reference is null");
return ;
}
arg3 = *(btDiscreteCollisionDetectorInterface::Result **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btDiscreteCollisionDetectorInterface::Result & reference is null");
return ;
}
arg4 = *(btIDebugDraw **)&jarg4;
(arg1)->getClosestPointsNonVirtual((btDiscreteCollisionDetectorInterface::ClosestPointInput const &)*arg2,*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1setMinkowskiA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
(arg1)->setMinkowskiA((btConvexShape const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1setMinkowskiB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
(arg1)->setMinkowskiB((btConvexShape const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1setCachedSeperatingAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->setCachedSeperatingAxis((btVector3 const &)*arg2);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1getCachedSeparatingAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (btVector3 *) &((btGjkPairDetector const *)arg1)->getCachedSeparatingAxis();
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1getCachedSeparatingDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
result = (btScalar)((btGjkPairDetector const *)arg1)->getCachedSeparatingDistance();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1setPenetrationDepthSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
btConvexPenetrationDepthSolver *arg2 = (btConvexPenetrationDepthSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = *(btConvexPenetrationDepthSolver **)&jarg2;
(arg1)->setPenetrationDepthSolver(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1setIgnoreMargin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btGjkPairDetector *arg1 = (btGjkPairDetector *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkPairDetector **)&jarg1;
arg2 = jarg2 ? true : false;
(arg1)->setIgnoreMargin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConvexPenetrationDepthSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConvexPenetrationDepthSolver *arg1 = (btConvexPenetrationDepthSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConvexPenetrationDepthSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPenetrationDepthSolver_1calcPenDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jobject jarg9, jlong jarg10, jobject jarg10_) {
jboolean jresult = 0 ;
btConvexPenetrationDepthSolver *arg1 = (btConvexPenetrationDepthSolver *) 0 ;
btSimplexSolverInterface *arg2 = 0 ;
btConvexShape *arg3 = (btConvexShape *) 0 ;
btConvexShape *arg4 = (btConvexShape *) 0 ;
btTransform *arg5 = 0 ;
btTransform *arg6 = 0 ;
btVector3 *arg7 = 0 ;
btVector3 *arg8 = 0 ;
btVector3 *arg9 = 0 ;
btIDebugDraw *arg10 = (btIDebugDraw *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg10_;
arg1 = *(btConvexPenetrationDepthSolver **)&jarg1;
arg2 = *(btSimplexSolverInterface **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSimplexSolverInterface & reference is null");
return 0;
}
arg3 = *(btConvexShape **)&jarg3;
arg4 = *(btConvexShape **)&jarg4;
btTransform local_arg5;
gdx_setbtTransformFromMatrix4(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitMatrix4 auto_commit_arg5(jenv, jarg5, &local_arg5);
btTransform local_arg6;
gdx_setbtTransformFromMatrix4(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitMatrix4 auto_commit_arg6(jenv, jarg6, &local_arg6);
btVector3 local_arg7;
gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7);
arg7 = &local_arg7;
gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7);
btVector3 local_arg8;
gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8);
arg8 = &local_arg8;
gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8);
btVector3 local_arg9;
gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9);
arg9 = &local_arg9;
gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9);
arg10 = *(btIDebugDraw **)&jarg10;
result = (bool)(arg1)->calcPenDepth(*arg2,(btConvexShape const *)arg3,(btConvexShape const *)arg4,(btTransform const &)*arg5,(btTransform const &)*arg6,*arg7,*arg8,*arg9,arg10);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMinkowskiPenetrationDepthSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMinkowskiPenetrationDepthSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMinkowskiPenetrationDepthSolver *)new btMinkowskiPenetrationDepthSolver();
*(btMinkowskiPenetrationDepthSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMinkowskiPenetrationDepthSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMinkowskiPenetrationDepthSolver *arg1 = (btMinkowskiPenetrationDepthSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMinkowskiPenetrationDepthSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkConvexCast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btSimplexSolverInterface *arg3 = (btSimplexSolverInterface *) 0 ;
btGjkConvexCast *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = *(btSimplexSolverInterface **)&jarg3;
result = (btGjkConvexCast *)new btGjkConvexCast((btConvexShape const *)arg1,(btConvexShape const *)arg2,arg3);
*(btGjkConvexCast **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkConvexCast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkConvexCast *arg1 = (btGjkConvexCast *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkConvexCast **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar *arg2 ;
jfloat *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInFloat(jenv, &jarr2, (float **)&arg2, jarg2)) return ;
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_normal;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
SWIG_JavaArrayArgoutFloat(jenv, jarr2, (float *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_normal);
jresult = SWIG_JavaArrayOutFloat(jenv, (float *)result, 3);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1rhs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_rhs = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1rhs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
result = (btScalar) ((arg1)->m_rhs);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1jacDiagInv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_jacDiagInv = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1jacDiagInv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
result = (btScalar) ((arg1)->m_jacDiagInv);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_lowerLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
result = (btScalar) ((arg1)->m_lowerLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_upperLimit = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
result = (btScalar) ((arg1)->m_upperLimit);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1accumImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_accumImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConstraintRow_1accumImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConstraintRow **)&jarg1;
result = (btScalar) ((arg1)->m_accumImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btConstraintRow(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btConstraintRow *result = 0 ;
(void)jenv;
(void)jcls;
result = (btConstraintRow *)new btConstraintRow();
*(btConstraintRow **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btConstraintRow(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btConstraintRow *arg1 = (btConstraintRow *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btConstraintRow **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btManifoldPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btManifoldPoint *result = 0 ;
(void)jenv;
(void)jcls;
result = (btManifoldPoint *)new btManifoldPoint();
*(btManifoldPoint **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btManifoldPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
btManifoldPoint *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
result = (btManifoldPoint *)new btManifoldPoint((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(btManifoldPoint **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1distance1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distance1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1distance1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_distance1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_combinedFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_combinedFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedRollingFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_combinedRollingFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedRollingFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_combinedRollingFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedSpinningFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_combinedSpinningFriction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedSpinningFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_combinedSpinningFriction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedRestitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_combinedRestitution = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedRestitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_combinedRestitution);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1partId0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_partId0 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1partId0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int) ((arg1)->m_partId0);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1partId1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_partId1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1partId1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int) ((arg1)->m_partId1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1index0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_index0 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1index0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int) ((arg1)->m_index0);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1index1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_index1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1index1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int) ((arg1)->m_index1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1userPersistentData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (void *)jarg2;
if (arg1) (arg1)->m_userPersistentData = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1userPersistentData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (void *) ((arg1)->m_userPersistentData);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactPointFlags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_contactPointFlags = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactPointFlags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int) ((arg1)->m_contactPointFlags);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulse = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulse);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1appliedImpulseLateral1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulseLateral1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1appliedImpulseLateral1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulseLateral1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1appliedImpulseLateral2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_appliedImpulseLateral2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1appliedImpulseLateral2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_appliedImpulseLateral2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactMotion1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_contactMotion1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactMotion1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_contactMotion1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactMotion2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_contactMotion2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactMotion2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_contactMotion2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_contactCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_contactCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedContactStiffness1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_combinedContactStiffness1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedContactStiffness1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_combinedContactStiffness1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_contactERP = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1contactERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_contactERP);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedContactDamping1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_combinedContactDamping1 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1combinedContactDamping1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_combinedContactDamping1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1frictionCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_frictionCFM = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1frictionCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar) ((arg1)->m_frictionCFM);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1lifeTime_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_lifeTime = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1lifeTime_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int) ((arg1)->m_lifeTime);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (btScalar)((btManifoldPoint const *)arg1)->getDistance();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setDistance(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getUserValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
result = (int)btManifoldPoint_getUserValue(arg1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setUserValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
arg2 = (int)jarg2;
btManifoldPoint_setUserValue(arg1,arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getLocalPointA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getLocalPointA(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setLocalPointA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setLocalPointA(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getLocalPointB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getLocalPointB(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setLocalPointB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setLocalPointB(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getPositionWorldOnA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getPositionWorldOnA(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setPositionWorldOnA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setPositionWorldOnA(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getPositionWorldOnB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getPositionWorldOnB(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setPositionWorldOnB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setPositionWorldOnB(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getNormalWorldOnB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getNormalWorldOnB(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setNormalWorldOnB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setNormalWorldOnB(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getLateralFrictionDir1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getLateralFrictionDir1(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setLateralFrictionDir1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setLateralFrictionDir1(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1getLateralFrictionDir2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_getLateralFrictionDir2(arg1,*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldPoint_1setLateralFrictionDir2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btManifoldPoint **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btManifoldPoint_setLateralFrictionDir2(arg1,(btVector3 const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btManifoldPoint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btManifoldPoint *arg1 = (btManifoldPoint *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btManifoldPoint **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btContinuousConvexCollision_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
btSimplexSolverInterface *arg3 = (btSimplexSolverInterface *) 0 ;
btConvexPenetrationDepthSolver *arg4 = (btConvexPenetrationDepthSolver *) 0 ;
btContinuousConvexCollision *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
arg3 = *(btSimplexSolverInterface **)&jarg3;
arg4 = *(btConvexPenetrationDepthSolver **)&jarg4;
result = (btContinuousConvexCollision *)new btContinuousConvexCollision((btConvexShape const *)arg1,(btConvexShape const *)arg2,arg3,arg4);
*(btContinuousConvexCollision **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btContinuousConvexCollision_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btStaticPlaneShape *arg2 = (btStaticPlaneShape *) 0 ;
btContinuousConvexCollision *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btConvexShape **)&jarg1;
arg2 = *(btStaticPlaneShape **)&jarg2;
result = (btContinuousConvexCollision *)new btContinuousConvexCollision((btConvexShape const *)arg1,(btStaticPlaneShape const *)arg2);
*(btContinuousConvexCollision **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btContinuousConvexCollision(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContinuousConvexCollision *arg1 = (btContinuousConvexCollision *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContinuousConvexCollision **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1from_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_from = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1from_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_from);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1to_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_to = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1to_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
result = (btVector3 *)& ((arg1)->m_to);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1flags_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_flags = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1flags_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
result = (unsigned int) ((arg1)->m_flags);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1hitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1hitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
result = (btScalar) ((arg1)->m_hitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleRaycastCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jlong jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
unsigned int arg3 ;
btTriangleRaycastCallback *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (unsigned int)jarg3;
result = (btTriangleRaycastCallback *)new SwigDirector_btTriangleRaycastCallback(jenv,(btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3);
*(btTriangleRaycastCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleRaycastCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btTriangleRaycastCallback *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btTriangleRaycastCallback *)new SwigDirector_btTriangleRaycastCallback(jenv,(btVector3 const &)*arg1,(btVector3 const &)*arg2);
*(btTriangleRaycastCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1processTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1processTriangleSwigExplicitbtTriangleRaycastCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->btTriangleRaycastCallback::processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1reportHit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3, jint jarg4, jint jarg5) {
jfloat jresult = 0 ;
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
int arg4 ;
int arg5 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (btScalar)(arg1)->reportHit((btVector3 const &)*arg2,arg3,arg4,arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleRaycastCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleRaycastCallback *arg1 = (btTriangleRaycastCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleRaycastCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btTriangleRaycastCallback *obj = *((btTriangleRaycastCallback **)&objarg);
(void)jcls;
SwigDirector_btTriangleRaycastCallback *director = (SwigDirector_btTriangleRaycastCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btTriangleRaycastCallback *obj = *((btTriangleRaycastCallback **)&objarg);
SwigDirector_btTriangleRaycastCallback *director = (SwigDirector_btTriangleRaycastCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1convexShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btConvexShape *arg2 = (btConvexShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = *(btConvexShape **)&jarg2;
if (arg1) (arg1)->m_convexShape = (btConvexShape const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1convexShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btConvexShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btConvexShape *) ((arg1)->m_convexShape);
*(btConvexShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1convexShapeFrom_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_convexShapeFrom = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1convexShapeFrom_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btTransform *)& ((arg1)->m_convexShapeFrom);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1convexShapeTo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_convexShapeTo = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1convexShapeTo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btTransform *)& ((arg1)->m_convexShapeTo);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1triangleToWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btTransform *arg2 = (btTransform *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = *(btTransform **)&jarg2;
if (arg1) (arg1)->m_triangleToWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1triangleToWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btTransform *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btTransform *)& ((arg1)->m_triangleToWorld);
*(btTransform **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1hitFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_hitFraction = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1hitFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btScalar) ((arg1)->m_hitFraction);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1triangleCollisionMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_triangleCollisionMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1triangleCollisionMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btScalar) ((arg1)->m_triangleCollisionMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1allowedPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_allowedPenetration = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1allowedPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
result = (btScalar) ((arg1)->m_allowedPenetration);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleConvexcastCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jfloat jarg5) {
jlong jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
btTransform *arg4 = 0 ;
btScalar arg5 ;
btTriangleConvexcastCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = (btScalar)jarg5;
result = (btTriangleConvexcastCallback *)new SwigDirector_btTriangleConvexcastCallback(jenv,(btConvexShape const *)arg1,(btTransform const &)*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5);
*(btTriangleConvexcastCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1processTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1processTriangleSwigExplicitbtTriangleConvexcastCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->btTriangleConvexcastCallback::processTriangle(arg2,arg3,arg4);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1reportHit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4, jint jarg5, jint jarg6) {
jfloat jresult = 0 ;
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
int arg5 ;
int arg6 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
result = (btScalar)(arg1)->reportHit((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4,arg5,arg6);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleConvexcastCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleConvexcastCallback *arg1 = (btTriangleConvexcastCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleConvexcastCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
btTriangleConvexcastCallback *obj = *((btTriangleConvexcastCallback **)&objarg);
(void)jcls;
SwigDirector_btTriangleConvexcastCallback *director = (SwigDirector_btTriangleConvexcastCallback *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
btTriangleConvexcastCallback *obj = *((btTriangleConvexcastCallback **)&objarg);
SwigDirector_btTriangleConvexcastCallback *director = (SwigDirector_btTriangleConvexcastCallback *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1status_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
enum btGjkEpaSolver2::sResults::eStatus arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
arg2 = (enum btGjkEpaSolver2::sResults::eStatus)jarg2;
if (arg1) (arg1)->status = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1status_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
enum btGjkEpaSolver2::sResults::eStatus result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
result = (enum btGjkEpaSolver2::sResults::eStatus) ((arg1)->status);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1witnesses_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->witnesses;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1witnesses_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->witnesses);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->normal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
result = (btVector3 *)& ((arg1)->normal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1distance_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->distance = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1sResults_1distance_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
result = (btScalar) ((arg1)->distance);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkEpaSolver2_1sResults(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGjkEpaSolver2::sResults *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGjkEpaSolver2::sResults *)new btGjkEpaSolver2::sResults();
*(btGjkEpaSolver2::sResults **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkEpaSolver2_1sResults(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkEpaSolver2::sResults *arg1 = (btGjkEpaSolver2::sResults *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkEpaSolver2::sResults **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1StackSizeRequirement(JNIEnv *jenv, jclass jcls) {
jint jresult = 0 ;
int result;
(void)jenv;
(void)jcls;
result = (int)btGjkEpaSolver2::StackSizeRequirement();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1Distance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_) {
jboolean jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btConvexShape *arg3 = (btConvexShape *) 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btGjkEpaSolver2::sResults *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btConvexShape **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btGjkEpaSolver2::sResults **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGjkEpaSolver2::sResults & reference is null");
return 0;
}
result = (bool)btGjkEpaSolver2::Distance((btConvexShape const *)arg1,(btTransform const &)*arg2,(btConvexShape const *)arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1Penetration_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_, jboolean jarg7) {
jboolean jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btConvexShape *arg3 = (btConvexShape *) 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btGjkEpaSolver2::sResults *arg6 = 0 ;
bool arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btConvexShape **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btGjkEpaSolver2::sResults **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGjkEpaSolver2::sResults & reference is null");
return 0;
}
arg7 = jarg7 ? true : false;
result = (bool)btGjkEpaSolver2::Penetration((btConvexShape const *)arg1,(btTransform const &)*arg2,(btConvexShape const *)arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,*arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1Penetration_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_) {
jboolean jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btConvexShape *arg3 = (btConvexShape *) 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btGjkEpaSolver2::sResults *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btConvexShape **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btGjkEpaSolver2::sResults **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGjkEpaSolver2::sResults & reference is null");
return 0;
}
result = (bool)btGjkEpaSolver2::Penetration((btConvexShape const *)arg1,(btTransform const &)*arg2,(btConvexShape const *)arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1SignedDistance_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jobject jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jlong jarg5, jobject jarg5_) {
jfloat jresult = 0 ;
btVector3 *arg1 = 0 ;
btScalar arg2 ;
btConvexShape *arg3 = (btConvexShape *) 0 ;
btTransform *arg4 = 0 ;
btGjkEpaSolver2::sResults *arg5 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg3_;
(void)jarg5_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = (btScalar)jarg2;
arg3 = *(btConvexShape **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btGjkEpaSolver2::sResults **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGjkEpaSolver2::sResults & reference is null");
return 0;
}
result = (btScalar)btGjkEpaSolver2::SignedDistance((btVector3 const &)*arg1,arg2,(btConvexShape const *)arg3,(btTransform const &)*arg4,*arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver2_1SignedDistance_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_) {
jboolean jresult = 0 ;
btConvexShape *arg1 = (btConvexShape *) 0 ;
btTransform *arg2 = 0 ;
btConvexShape *arg3 = (btConvexShape *) 0 ;
btTransform *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btGjkEpaSolver2::sResults *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(btConvexShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btConvexShape **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btGjkEpaSolver2::sResults **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGjkEpaSolver2::sResults & reference is null");
return 0;
}
result = (bool)btGjkEpaSolver2::SignedDistance((btConvexShape const *)arg1,(btTransform const &)*arg2,(btConvexShape const *)arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkEpaSolver2(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGjkEpaSolver2 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGjkEpaSolver2 *)new btGjkEpaSolver2();
*(btGjkEpaSolver2 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkEpaSolver2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkEpaSolver2 *arg1 = (btGjkEpaSolver2 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkEpaSolver2 **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkEpaPenetrationDepthSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGjkEpaPenetrationDepthSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGjkEpaPenetrationDepthSolver *)new btGjkEpaPenetrationDepthSolver();
*(btGjkEpaPenetrationDepthSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkEpaPenetrationDepthSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkEpaPenetrationDepthSolver *arg1 = (btGjkEpaPenetrationDepthSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkEpaPenetrationDepthSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1normalOnBInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPointCollector *arg1 = (btPointCollector *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPointCollector **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normalOnBInWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1normalOnBInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPointCollector *arg1 = (btPointCollector *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPointCollector **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normalOnBInWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1pointInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPointCollector *arg1 = (btPointCollector *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPointCollector **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_pointInWorld = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1pointInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPointCollector *arg1 = (btPointCollector *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPointCollector **)&jarg1;
result = (btVector3 *)& ((arg1)->m_pointInWorld);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1distance_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPointCollector *arg1 = (btPointCollector *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPointCollector **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distance = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1distance_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btPointCollector *arg1 = (btPointCollector *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPointCollector **)&jarg1;
result = (btScalar) ((arg1)->m_distance);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1hasResult_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btPointCollector *arg1 = (btPointCollector *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPointCollector **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_hasResult = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1hasResult_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btPointCollector *arg1 = (btPointCollector *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPointCollector **)&jarg1;
result = (bool) ((arg1)->m_hasResult);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPointCollector(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPointCollector *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPointCollector *)new btPointCollector();
*(btPointCollector **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPointCollector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPointCollector *arg1 = (btPointCollector *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPointCollector **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btUsageBitfield(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btUsageBitfield *result = 0 ;
(void)jenv;
(void)jcls;
result = (btUsageBitfield *)new btUsageBitfield();
*(btUsageBitfield **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
(arg1)->reset();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->usedVertexA = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->usedVertexA);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->usedVertexB = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->usedVertexB);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexC_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->usedVertexC = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexC_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->usedVertexC);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexD_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->usedVertexD = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1usedVertexD_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->usedVertexD);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->unused1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->unused1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->unused2 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->unused2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused3_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->unused3 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused3_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->unused3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused4_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
arg2 = (unsigned short)jarg2;
if (arg1) (arg1)->unused4 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUsageBitfield_1unused4_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
unsigned short result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btUsageBitfield **)&jarg1;
result = (unsigned short) ((arg1)->unused4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btUsageBitfield(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btUsageBitfield *arg1 = (btUsageBitfield *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btUsageBitfield **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1closestPointOnSimplex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_closestPointOnSimplex = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1closestPointOnSimplex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
result = (btVector3 *)& ((arg1)->m_closestPointOnSimplex);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1usedVertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btUsageBitfield *arg2 = (btUsageBitfield *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = *(btUsageBitfield **)&jarg2;
if (arg1) (arg1)->m_usedVertices = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1usedVertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btUsageBitfield *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
result = (btUsageBitfield *)& ((arg1)->m_usedVertices);
*(btUsageBitfield **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1barycentricCoords_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btScalar *arg2 ;
jfloat *jarr2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 4) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
if (!SWIG_JavaArrayInFloat(jenv, &jarr2, (float **)&arg2, jarg2)) return ;
{
size_t ii;
btScalar *b = (btScalar *) arg1->m_barycentricCoords;
for (ii = 0; ii < (size_t)4; ii++) b[ii] = *((btScalar *) arg2 + ii);
}
SWIG_JavaArrayArgoutFloat(jenv, jarr2, (float *)arg2, jarg2);
delete [] arg2;
}
SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1barycentricCoords_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloatArray jresult = 0 ;
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btScalar *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
result = (btScalar *)(btScalar *) ((arg1)->m_barycentricCoords);
jresult = SWIG_JavaArrayOutFloat(jenv, (float *)result, 4);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1degenerate_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_degenerate = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1degenerate_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
result = (bool) ((arg1)->m_degenerate);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
(arg1)->reset();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1isValid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
result = (bool)(arg1)->isValid();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1setBarycentricCoordinates_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
btScalar arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = (btScalar)jarg5;
(arg1)->setBarycentricCoordinates(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1setBarycentricCoordinates_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
(arg1)->setBarycentricCoordinates(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1setBarycentricCoordinates_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
(arg1)->setBarycentricCoordinates(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1setBarycentricCoordinates_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->setBarycentricCoordinates(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubSimplexClosestResult_1setBarycentricCoordinates_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
(arg1)->setBarycentricCoordinates();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btSubSimplexClosestResult(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btSubSimplexClosestResult *result = 0 ;
(void)jenv;
(void)jcls;
result = (btSubSimplexClosestResult *)new btSubSimplexClosestResult();
*(btSubSimplexClosestResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btSubSimplexClosestResult(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btSubSimplexClosestResult *arg1 = (btSubSimplexClosestResult *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btSubSimplexClosestResult **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1numVertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_numVertices = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1numVertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (int) ((arg1)->m_numVertices);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1simplexVectorW_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_simplexVectorW;
for (ii = 0; ii < (size_t)5; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1simplexVectorW_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_simplexVectorW);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1simplexPointsP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_simplexPointsP;
for (ii = 0; ii < (size_t)5; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1simplexPointsP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_simplexPointsP);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1simplexPointsQ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_simplexPointsQ;
for (ii = 0; ii < (size_t)5; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1simplexPointsQ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_simplexPointsQ);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedP1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_cachedP1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedP1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)& ((arg1)->m_cachedP1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedP2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_cachedP2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedP2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)& ((arg1)->m_cachedP2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedV_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_cachedV = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedV_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)& ((arg1)->m_cachedV);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1lastW_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_lastW = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1lastW_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btVector3 *)& ((arg1)->m_lastW);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1equalVertexThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_equalVertexThreshold = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1equalVertexThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btScalar) ((arg1)->m_equalVertexThreshold);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedValidClosest_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_cachedValidClosest = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedValidClosest_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (bool) ((arg1)->m_cachedValidClosest);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedBC_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btSubSimplexClosestResult *arg2 = (btSubSimplexClosestResult *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btSubSimplexClosestResult **)&jarg2;
if (arg1) (arg1)->m_cachedBC = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1cachedBC_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btSubSimplexClosestResult *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btSubSimplexClosestResult *)& ((arg1)->m_cachedBC);
*(btSubSimplexClosestResult **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1needsUpdate_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = jarg2 ? true : false;
if (arg1) (arg1)->m_needsUpdate = arg2;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1needsUpdate_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (bool) ((arg1)->m_needsUpdate);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1removeVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeVertex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1reduceVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btUsageBitfield *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btUsageBitfield **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btUsageBitfield const & reference is null");
return ;
}
(arg1)->reduceVertices((btUsageBitfield const &)*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1updateClosestVectorAndPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (bool)(arg1)->updateClosestVectorAndPoints();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1closestPtPointTetrahedron(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jlong jarg7, jobject jarg7_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
btSubSimplexClosestResult *arg7 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg7_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
arg7 = *(btSubSimplexClosestResult **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSubSimplexClosestResult & reference is null");
return 0;
}
result = (bool)(arg1)->closestPtPointTetrahedron((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,*arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1pointOutsideOfPlane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
jint jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
result = (int)(arg1)->pointOutsideOfPlane((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1closestPtPointTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jobject jarg6_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btSubSimplexClosestResult *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg6_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btSubSimplexClosestResult **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSubSimplexClosestResult & reference is null");
return 0;
}
result = (bool)(arg1)->closestPtPointTriangle((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btVoronoiSimplexSolver(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btVoronoiSimplexSolver *result = 0 ;
(void)jenv;
(void)jcls;
result = (btVoronoiSimplexSolver *)new btVoronoiSimplexSolver();
*(btVoronoiSimplexSolver **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
(arg1)->reset();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1addVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
(arg1)->addVertex((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1closest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)(arg1)->closest(*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1maxVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (btScalar)(arg1)->maxVertex();
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1fullSimplex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (bool)((btVoronoiSimplexSolver const *)arg1)->fullSimplex();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1getSimplex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jint jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
btVector3 *arg4 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
arg4 = *(btVector3 **)&jarg4;
result = (int)((btVoronoiSimplexSolver const *)arg1)->getSimplex(arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1inSimplex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)(arg1)->inSimplex((btVector3 const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1backup_1closest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->backup_closest(*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1emptySimplex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (bool)((btVoronoiSimplexSolver const *)arg1)->emptySimplex();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1compute_1points(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->compute_points(*arg2,*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btVoronoiSimplexSolver_1m_1numVerticesVar(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
result = (int)((btVoronoiSimplexSolver const *)arg1)->numVertices();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btVoronoiSimplexSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btVoronoiSimplexSolver *arg1 = (btVoronoiSimplexSolver *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btVoronoiSimplexSolver **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMultiSphereShape(JNIEnv *jenv, jclass jcls, jobjectArray jarg1, jfloatArray jarg2, jint jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
btScalar *arg2 = (btScalar *) 0 ;
int arg3 ;
jfloat *jarr2 ;
btMultiSphereShape *result = 0 ;
(void)jenv;
(void)jcls;
static jfieldID xField = NULL, yField = NULL, zField = NULL;
arg1 = Vector3ArrayToBtVector3Array(jenv, jarg1);
gdxAutoDeleteBtVector3Array auto_delete(arg1);
if (!SWIG_JavaArrayInFloat(jenv, &jarr2, (float **)&arg2, jarg2)) return 0;
arg3 = (int)jarg3;
result = (btMultiSphereShape *)new btMultiSphereShape((btVector3 const *)arg1,(btScalar const *)arg2,arg3);
*(btMultiSphereShape **)&jresult = result;
SWIG_JavaArrayArgoutFloat(jenv, jarr2, (float *)arg2, jarg2);
delete [] arg2;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1getSphereCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
result = (int)((btMultiSphereShape const *)arg1)->getSphereCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1getSpherePosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
int arg2 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (int)jarg2;
result = (btVector3 *) &((btMultiSphereShape const *)arg1)->getSpherePosition(arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1getSphereRadius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jfloat jresult = 0 ;
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
int arg2 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShape **)&jarg1;
arg2 = (int)jarg2;
result = (btScalar)((btMultiSphereShape const *)arg1)->getSphereRadius(arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMultiSphereShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiSphereShape *arg1 = (btMultiSphereShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiSphereShape **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPositionAndRadius_1pos_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPositionAndRadius *arg1 = (btPositionAndRadius *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPositionAndRadius **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_pos = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPositionAndRadius_1pos_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPositionAndRadius *arg1 = (btPositionAndRadius *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPositionAndRadius **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_pos);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPositionAndRadius_1radius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPositionAndRadius *arg1 = (btPositionAndRadius *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPositionAndRadius **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_radius = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPositionAndRadius_1radius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btPositionAndRadius *arg1 = (btPositionAndRadius *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPositionAndRadius **)&jarg1;
result = (float) ((arg1)->m_radius);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPositionAndRadius(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPositionAndRadius *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPositionAndRadius *)new btPositionAndRadius();
*(btPositionAndRadius **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPositionAndRadius(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPositionAndRadius *arg1 = (btPositionAndRadius *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPositionAndRadius **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1convexInternalShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
btConvexInternalShapeData *arg2 = (btConvexInternalShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
arg2 = *(btConvexInternalShapeData **)&jarg2;
if (arg1) (arg1)->m_convexInternalShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1convexInternalShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
btConvexInternalShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
result = (btConvexInternalShapeData *)& ((arg1)->m_convexInternalShapeData);
*(btConvexInternalShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1localPositionArrayPtr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
btPositionAndRadius *arg2 = (btPositionAndRadius *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
arg2 = *(btPositionAndRadius **)&jarg2;
if (arg1) (arg1)->m_localPositionArrayPtr = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1localPositionArrayPtr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
btPositionAndRadius *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
result = (btPositionAndRadius *) ((arg1)->m_localPositionArrayPtr);
*(btPositionAndRadius **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1localPositionArraySize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_localPositionArraySize = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1localPositionArraySize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
result = (int) ((arg1)->m_localPositionArraySize);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
char *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if(arg2) {
strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1);
arg1->m_padding[4-1] = 0;
} else {
arg1->m_padding[0] = 0;
}
}
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShapeData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMultiSphereShapeData **)&jarg1;
result = (char *)(char *) ((arg1)->m_padding);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMultiSphereShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMultiSphereShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMultiSphereShapeData *)new btMultiSphereShapeData();
*(btMultiSphereShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMultiSphereShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMultiSphereShapeData *arg1 = (btMultiSphereShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMultiSphereShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1CustomCollisionDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionConfiguration *arg1 = (btCollisionConfiguration *) 0 ;
CustomCollisionDispatcher *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionConfiguration **)&jarg1;
result = (CustomCollisionDispatcher *)new SwigDirector_CustomCollisionDispatcher(jenv,arg1);
*(CustomCollisionDispatcher **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1needsCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
CustomCollisionDispatcher *arg1 = (CustomCollisionDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(CustomCollisionDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (bool)(arg1)->needsCollision((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1needsCollisionSwigExplicitCustomCollisionDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
CustomCollisionDispatcher *arg1 = (CustomCollisionDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(CustomCollisionDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (bool)(arg1)->CustomCollisionDispatcher::needsCollision((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1needsResponse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
CustomCollisionDispatcher *arg1 = (CustomCollisionDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(CustomCollisionDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (bool)(arg1)->needsResponse((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1needsResponseSwigExplicitCustomCollisionDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
CustomCollisionDispatcher *arg1 = (CustomCollisionDispatcher *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(CustomCollisionDispatcher **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
result = (bool)(arg1)->CustomCollisionDispatcher::needsResponse((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1CustomCollisionDispatcher(JNIEnv *jenv, jclass jcls, jlong jarg1) {
CustomCollisionDispatcher *arg1 = (CustomCollisionDispatcher *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(CustomCollisionDispatcher **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
CustomCollisionDispatcher *obj = *((CustomCollisionDispatcher **)&objarg);
(void)jcls;
SwigDirector_CustomCollisionDispatcher *director = (SwigDirector_CustomCollisionDispatcher *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
CustomCollisionDispatcher *obj = *((CustomCollisionDispatcher **)&objarg);
SwigDirector_CustomCollisionDispatcher *director = (SwigDirector_CustomCollisionDispatcher *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ContactListener(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
jlong jresult = 0 ;
bool arg1 ;
ContactListener *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
result = (ContactListener *)new SwigDirector_ContactListener(jenv,arg1);
*(ContactListener **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ContactListener(JNIEnv *jenv, jclass jcls, jlong jarg1) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(ContactListener **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1enable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->enable();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1disable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->disable();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1enableOnAdded(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->enableOnAdded();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1disableOnAdded(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->disableOnAdded();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1isOnAddedEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
result = (bool)(arg1)->isOnAddedEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5, jlong jarg6, jobject jarg6_, jint jarg7, jint jarg8) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = 0 ;
int arg4 ;
int arg5 ;
btCollisionObjectWrapper *arg6 = 0 ;
int arg7 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = *(btCollisionObjectWrapper **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg7 = (int)jarg7;
arg8 = (int)jarg8;
result = (bool)(arg1)->onContactAdded(*arg2,(btCollisionObjectWrapper const &)*arg3,arg4,arg5,(btCollisionObjectWrapper const &)*arg6,arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5, jlong jarg6, jobject jarg6_, jint jarg7, jint jarg8) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
int arg4 ;
int arg5 ;
btCollisionObject *arg6 = (btCollisionObject *) 0 ;
int arg7 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg6_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = *(btCollisionObject **)&jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = *(btCollisionObject **)&jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
result = (bool)(arg1)->onContactAdded(*arg2,(btCollisionObject const *)arg3,arg4,arg5,(btCollisionObject const *)arg6,arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jint jarg5, jint jarg6, jint jarg7, jint jarg8) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
int arg3 ;
int arg4 ;
int arg5 ;
int arg6 ;
int arg7 ;
int arg8 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
result = (bool)(arg1)->onContactAdded(*arg2,arg3,arg4,arg5,arg6,arg7,arg8);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5, jboolean jarg6, jlong jarg7, jobject jarg7_, jint jarg8, jint jarg9, jboolean jarg10) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObjectWrapper *arg3 = 0 ;
int arg4 ;
int arg5 ;
bool arg6 ;
btCollisionObjectWrapper *arg7 = 0 ;
int arg8 ;
int arg9 ;
bool arg10 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg7_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = *(btCollisionObjectWrapper **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = jarg6 ? true : false;
arg7 = *(btCollisionObjectWrapper **)&jarg7;
if (!arg7) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg8 = (int)jarg8;
arg9 = (int)jarg9;
arg10 = jarg10 ? true : false;
result = (bool)(arg1)->onContactAdded(*arg2,(btCollisionObjectWrapper const &)*arg3,arg4,arg5,arg6,(btCollisionObjectWrapper const &)*arg7,arg8,arg9,arg10);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jint jarg4, jint jarg5, jboolean jarg6, jlong jarg7, jobject jarg7_, jint jarg8, jint jarg9, jboolean jarg10) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
int arg4 ;
int arg5 ;
bool arg6 ;
btCollisionObject *arg7 = (btCollisionObject *) 0 ;
int arg8 ;
int arg9 ;
bool arg10 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg7_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = *(btCollisionObject **)&jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = jarg6 ? true : false;
arg7 = *(btCollisionObject **)&jarg7;
arg8 = (int)jarg8;
arg9 = (int)jarg9;
arg10 = jarg10 ? true : false;
result = (bool)(arg1)->onContactAdded(*arg2,(btCollisionObject const *)arg3,arg4,arg5,arg6,(btCollisionObject const *)arg7,arg8,arg9,arg10);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jint jarg5, jboolean jarg6, jint jarg7, jint jarg8, jint jarg9, jboolean jarg10) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
int arg3 ;
int arg4 ;
int arg5 ;
bool arg6 ;
int arg7 ;
int arg8 ;
int arg9 ;
bool arg10 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return 0;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = jarg6 ? true : false;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
arg9 = (int)jarg9;
arg10 = jarg10 ? true : false;
result = (bool)(arg1)->onContactAdded(*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jlong jarg5, jobject jarg5_, jint jarg6, jint jarg7) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObjectWrapper *arg2 = 0 ;
int arg3 ;
int arg4 ;
btCollisionObjectWrapper *arg5 = 0 ;
int arg6 ;
int arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = *(btCollisionObjectWrapper **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg6 = (int)jarg6;
arg7 = (int)jarg7;
result = (bool)(arg1)->onContactAdded((btCollisionObjectWrapper const &)*arg2,arg3,arg4,(btCollisionObjectWrapper const &)*arg5,arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jlong jarg5, jobject jarg5_, jint jarg6, jint jarg7) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
int arg4 ;
btCollisionObject *arg5 = (btCollisionObject *) 0 ;
int arg6 ;
int arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg5_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = *(btCollisionObject **)&jarg5;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
result = (bool)(arg1)->onContactAdded((btCollisionObject const *)arg2,arg3,arg4,(btCollisionObject const *)arg5,arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4, jint jarg5, jint jarg6, jint jarg7) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
int arg5 ;
int arg6 ;
int arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
result = (bool)(arg1)->onContactAdded(arg2,arg3,arg4,arg5,arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jboolean jarg5, jlong jarg6, jobject jarg6_, jint jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObjectWrapper *arg2 = 0 ;
int arg3 ;
int arg4 ;
bool arg5 ;
btCollisionObjectWrapper *arg6 = 0 ;
int arg7 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg6_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = jarg5 ? true : false;
arg6 = *(btCollisionObjectWrapper **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionObjectWrapper const & reference is null");
return 0;
}
arg7 = (int)jarg7;
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->onContactAdded((btCollisionObjectWrapper const &)*arg2,arg3,arg4,arg5,(btCollisionObjectWrapper const &)*arg6,arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4, jboolean jarg5, jlong jarg6, jobject jarg6_, jint jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
int arg3 ;
int arg4 ;
bool arg5 ;
btCollisionObject *arg6 = (btCollisionObject *) 0 ;
int arg7 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg6_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = jarg5 ? true : false;
arg6 = *(btCollisionObject **)&jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->onContactAdded((btCollisionObject const *)arg2,arg3,arg4,arg5,(btCollisionObject const *)arg6,arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactAdded_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4, jboolean jarg5, jint jarg6, jint jarg7, jint jarg8, jboolean jarg9) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
int arg2 ;
int arg3 ;
int arg4 ;
bool arg5 ;
int arg6 ;
int arg7 ;
int arg8 ;
bool arg9 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
arg5 = jarg5 ? true : false;
arg6 = (int)jarg6;
arg7 = (int)jarg7;
arg8 = (int)jarg8;
arg9 = jarg9 ? true : false;
result = (bool)(arg1)->onContactAdded(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1enableOnProcessed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->enableOnProcessed();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1disableOnProcessed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->disableOnProcessed();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1isOnProcessedEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
result = (bool)(arg1)->isOnProcessedEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
btCollisionObject *arg4 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
arg3 = *(btCollisionObject **)&jarg3;
arg4 = *(btCollisionObject **)&jarg4;
(arg1)->onContactProcessed(*arg2,(btCollisionObject const *)arg3,(btCollisionObject const *)arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->onContactProcessed(*arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4, jlong jarg5, jobject jarg5_, jboolean jarg6) {
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
bool arg4 ;
btCollisionObject *arg5 = (btCollisionObject *) 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg5_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
arg3 = *(btCollisionObject **)&jarg3;
arg4 = jarg4 ? true : false;
arg5 = *(btCollisionObject **)&jarg5;
arg6 = jarg6 ? true : false;
(arg1)->onContactProcessed(*arg2,(btCollisionObject const *)arg3,arg4,(btCollisionObject const *)arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jboolean jarg4, jint jarg5, jboolean jarg6) {
ContactListener *arg1 = (ContactListener *) 0 ;
btManifoldPoint *arg2 = 0 ;
int arg3 ;
bool arg4 ;
int arg5 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btManifoldPoint **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btManifoldPoint & reference is null");
return ;
}
arg3 = (int)jarg3;
arg4 = jarg4 ? true : false;
arg5 = (int)jarg5;
arg6 = jarg6 ? true : false;
(arg1)->onContactProcessed(*arg2,arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
(arg1)->onContactProcessed((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
ContactListener *arg1 = (ContactListener *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->onContactProcessed(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jlong jarg4, jobject jarg4_, jboolean jarg5) {
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool arg3 ;
btCollisionObject *arg4 = (btCollisionObject *) 0 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = jarg3 ? true : false;
arg4 = *(btCollisionObject **)&jarg4;
arg5 = jarg5 ? true : false;
(arg1)->onContactProcessed((btCollisionObject const *)arg2,arg3,(btCollisionObject const *)arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactProcessed_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3, jint jarg4, jboolean jarg5) {
ContactListener *arg1 = (ContactListener *) 0 ;
int arg2 ;
bool arg3 ;
int arg4 ;
bool arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
arg2 = (int)jarg2;
arg3 = jarg3 ? true : false;
arg4 = (int)jarg4;
arg5 = jarg5 ? true : false;
(arg1)->onContactProcessed(arg2,arg3,arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1enableOnDestroyed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->enableOnDestroyed();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1disableOnDestroyed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->disableOnDestroyed();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1isOnDestroyedEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
result = (bool)(arg1)->isOnDestroyedEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactDestroyed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
ContactListener *arg1 = (ContactListener *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
arg2 = (int)jarg2;
(arg1)->onContactDestroyed(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1enableOnStarted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->enableOnStarted();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1disableOnStarted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->disableOnStarted();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1isOnStartedEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
result = (bool)(arg1)->isOnStartedEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactStarted_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
ContactListener *arg1 = (ContactListener *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->onContactStarted(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactStarted_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
(arg1)->onContactStarted((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactStarted_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
ContactListener *arg1 = (ContactListener *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int temp2 ;
int temp3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
temp2 = (int)jarg2;
arg2 = &temp2;
temp3 = (int)jarg3;
arg3 = &temp3;
(arg1)->onContactStarted((int const &)*arg2,(int const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactStarted_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jboolean jarg4) {
ContactListener *arg1 = (ContactListener *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
bool *arg3 = 0 ;
bool *arg4 = 0 ;
bool temp3 ;
bool temp4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
temp4 = jarg4 ? true : false;
arg4 = &temp4;
(arg1)->onContactStarted(arg2,(bool const &)*arg3,(bool const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactStarted_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jlong jarg4, jobject jarg4_, jboolean jarg5) {
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool *arg3 = 0 ;
btCollisionObject *arg4 = (btCollisionObject *) 0 ;
bool *arg5 = 0 ;
bool temp3 ;
bool temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
arg4 = *(btCollisionObject **)&jarg4;
temp5 = jarg5 ? true : false;
arg5 = &temp5;
(arg1)->onContactStarted((btCollisionObject const *)arg2,(bool const &)*arg3,(btCollisionObject const *)arg4,(bool const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactStarted_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3, jint jarg4, jboolean jarg5) {
ContactListener *arg1 = (ContactListener *) 0 ;
int *arg2 = 0 ;
bool *arg3 = 0 ;
int *arg4 = 0 ;
bool *arg5 = 0 ;
int temp2 ;
bool temp3 ;
int temp4 ;
bool temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
temp2 = (int)jarg2;
arg2 = &temp2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
temp4 = (int)jarg4;
arg4 = &temp4;
temp5 = jarg5 ? true : false;
arg5 = &temp5;
(arg1)->onContactStarted((int const &)*arg2,(bool const &)*arg3,(int const &)*arg4,(bool const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1enableOnEnded(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->enableOnEnded();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1disableOnEnded(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactListener *arg1 = (ContactListener *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
(arg1)->disableOnEnded();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1isOnEndedEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
result = (bool)(arg1)->isOnEndedEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactEnded_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
ContactListener *arg1 = (ContactListener *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
(arg1)->onContactEnded(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactEnded_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
btCollisionObject *arg3 = (btCollisionObject *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
arg3 = *(btCollisionObject **)&jarg3;
(arg1)->onContactEnded((btCollisionObject const *)arg2,(btCollisionObject const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactEnded_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
ContactListener *arg1 = (ContactListener *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int temp2 ;
int temp3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
temp2 = (int)jarg2;
arg2 = &temp2;
temp3 = (int)jarg3;
arg3 = &temp3;
(arg1)->onContactEnded((int const &)*arg2,(int const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactEnded_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jboolean jarg4) {
ContactListener *arg1 = (ContactListener *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
bool *arg3 = 0 ;
bool *arg4 = 0 ;
bool temp3 ;
bool temp4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
temp4 = jarg4 ? true : false;
arg4 = &temp4;
(arg1)->onContactEnded(arg2,(bool const &)*arg3,(bool const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactEnded_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jlong jarg4, jobject jarg4_, jboolean jarg5) {
ContactListener *arg1 = (ContactListener *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool *arg3 = 0 ;
btCollisionObject *arg4 = (btCollisionObject *) 0 ;
bool *arg5 = 0 ;
bool temp3 ;
bool temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(ContactListener **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
arg4 = *(btCollisionObject **)&jarg4;
temp5 = jarg5 ? true : false;
arg5 = &temp5;
(arg1)->onContactEnded((btCollisionObject const *)arg2,(bool const &)*arg3,(btCollisionObject const *)arg4,(bool const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1onContactEnded_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3, jint jarg4, jboolean jarg5) {
ContactListener *arg1 = (ContactListener *) 0 ;
int *arg2 = 0 ;
bool *arg3 = 0 ;
int *arg4 = 0 ;
bool *arg5 = 0 ;
int temp2 ;
bool temp3 ;
int temp4 ;
bool temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
temp2 = (int)jarg2;
arg2 = &temp2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
temp4 = (int)jarg4;
arg4 = &temp4;
temp5 = jarg5 ? true : false;
arg5 = &temp5;
(arg1)->onContactEnded((int const &)*arg2,(bool const &)*arg3,(int const &)*arg4,(bool const &)*arg5);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1setEvents(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactListener *arg1 = (ContactListener *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactListener **)&jarg1;
result = (bool)ContactListener_setEvents(arg1);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
ContactListener *obj = *((ContactListener **)&objarg);
(void)jcls;
SwigDirector_ContactListener *director = (SwigDirector_ContactListener *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactListener_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
ContactListener *obj = *((ContactListener **)&objarg);
SwigDirector_ContactListener *director = (SwigDirector_ContactListener *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1cacheTime_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
ContactCache *arg1 = (ContactCache *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->cacheTime = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1cacheTime_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
ContactCache *arg1 = (ContactCache *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
result = (float) ((arg1)->cacheTime);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1ContactCache(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
jlong jresult = 0 ;
bool arg1 ;
ContactCache *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
result = (ContactCache *)new SwigDirector_ContactCache(jenv,arg1);
*(ContactCache **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1ContactCache(JNIEnv *jenv, jclass jcls, jlong jarg1) {
ContactCache *arg1 = (ContactCache *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(ContactCache **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1enable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactCache *arg1 = (ContactCache *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
(arg1)->enable();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1disable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactCache *arg1 = (ContactCache *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
(arg1)->disable();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1isEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
ContactCache *arg1 = (ContactCache *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
result = (bool)(arg1)->isEnabled();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1onContactStarted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jboolean jarg4) {
ContactCache *arg1 = (ContactCache *) 0 ;
btPersistentManifold *arg2 = (btPersistentManifold *) 0 ;
bool *arg3 = 0 ;
bool *arg4 = 0 ;
bool temp3 ;
bool temp4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(ContactCache **)&jarg1;
arg2 = *(btPersistentManifold **)&jarg2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
temp4 = jarg4 ? true : false;
arg4 = &temp4;
(arg1)->onContactStarted(arg2,(bool const &)*arg3,(bool const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1onContactEnded(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jlong jarg4, jobject jarg4_, jboolean jarg5) {
ContactCache *arg1 = (ContactCache *) 0 ;
btCollisionObject *arg2 = (btCollisionObject *) 0 ;
bool *arg3 = 0 ;
btCollisionObject *arg4 = (btCollisionObject *) 0 ;
bool *arg5 = 0 ;
bool temp3 ;
bool temp5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(ContactCache **)&jarg1;
arg2 = *(btCollisionObject **)&jarg2;
temp3 = jarg3 ? true : false;
arg3 = &temp3;
arg4 = *(btCollisionObject **)&jarg4;
temp5 = jarg5 ? true : false;
arg5 = &temp5;
(arg1)->onContactEnded((btCollisionObject const *)arg2,(bool const &)*arg3,(btCollisionObject const *)arg4,(bool const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
ContactCache *arg1 = (ContactCache *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1update(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
ContactCache *arg1 = (ContactCache *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(ContactCache **)&jarg1;
arg2 = (float)jarg2;
(arg1)->update(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
ContactCache *obj = *((ContactCache **)&objarg);
(void)jcls;
SwigDirector_ContactCache *director = (SwigDirector_ContactCache *)(obj);
if (director) {
director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
}
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ContactCache_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
ContactCache *obj = *((ContactCache **)&objarg);
SwigDirector_ContactCache *director = (SwigDirector_ContactCache *)(obj);
(void)jcls;
if (director) {
director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
}
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePairArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< btBroadphasePair > *arg1 = (btAlignedObjectArray< btBroadphasePair > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btBroadphasePair > **)&jarg1;
result = (int)((btAlignedObjectArray< btBroadphasePair > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePairArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< btBroadphasePair > *arg1 = (btAlignedObjectArray< btBroadphasePair > *) 0 ;
int arg2 ;
btBroadphasePair *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btBroadphasePair > **)&jarg1;
arg2 = (int)jarg2;
result = (btBroadphasePair *)btAlignedObjectArray_Sl_btBroadphasePair_Sg__at(arg1,arg2);
*(btBroadphasePair **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePairArray_1getCollisionObjects(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2, jint jarg3, jint jarg4) {
jint jresult = 0 ;
btAlignedObjectArray< btBroadphasePair > *arg1 = (btAlignedObjectArray< btBroadphasePair > *) 0 ;
int *arg2 ;
int arg3 ;
int arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btBroadphasePair > **)&jarg1;
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
arg3 = (int)jarg3;
arg4 = (int)jarg4;
result = (int)btAlignedObjectArray_Sl_btBroadphasePair_Sg__getCollisionObjects(arg1,arg2,arg3,arg4);
jresult = (jint)result;
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphasePairArray_1getCollisionObjectsValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2, jint jarg3, jint jarg4) {
jint jresult = 0 ;
btAlignedObjectArray< btBroadphasePair > *arg1 = (btAlignedObjectArray< btBroadphasePair > *) 0 ;
int *arg2 ;
int arg3 ;
int arg4 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< btBroadphasePair > **)&jarg1;
arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
arg3 = (int)jarg3;
arg4 = (int)jarg4;
result = (int)btAlignedObjectArray_Sl_btBroadphasePair_Sg__getCollisionObjectsValue(arg1,arg2,arg3,arg4);
jresult = (jint)result;
jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBroadphasePairArray(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< btBroadphasePair > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< btBroadphasePair > *)new btAlignedObjectArray< btBroadphasePair >();
*(btAlignedObjectArray< btBroadphasePair > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBroadphasePairArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< btBroadphasePair > *arg1 = (btAlignedObjectArray< btBroadphasePair > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< btBroadphasePair > **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1calc_1quantization_1parameters(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jfloat jarg6) {
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar arg6 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = (btScalar)jarg6;
bt_calc_quantization_parameters(*arg1,*arg2,*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1quantize_1clamp(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
unsigned short *arg1 = (unsigned short *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
{
arg1 = (unsigned short*)jenv->GetDirectBufferAddress(jarg1);
if (arg1 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
bt_quantize_clamp(arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1unquantize(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jobject jresult = 0 ;
unsigned short *arg1 = (unsigned short *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
{
arg1 = (unsigned short*)jenv->GetDirectBufferAddress(jarg1);
if (arg1 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = bt_unquantize((unsigned short const *)arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1mat3_1dot_1col(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3) {
jfloat jresult = 0 ;
btMatrix3x3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
int arg3 ;
btScalar result;
(void)jenv;
(void)jcls;
btMatrix3x3 local_arg1;
gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (int)jarg3;
result = (btScalar)bt_mat3_dot_col((btMatrix3x3 const &)*arg1,(btVector3 const &)*arg2,arg3);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1T1to0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_T1to0 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1T1to0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
result = (btVector3 *)& ((arg1)->m_T1to0);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1R1to0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *arg2 = (btMatrix3x3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
arg2 = *(btMatrix3x3 **)&jarg2;
if (arg1) (arg1)->m_R1to0 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1R1to0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
result = (btMatrix3x3 *)& ((arg1)->m_R1to0);
*(btMatrix3x3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1AR_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *arg2 = (btMatrix3x3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
arg2 = *(btMatrix3x3 **)&jarg2;
if (arg1) (arg1)->m_AR = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1AR_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
result = (btMatrix3x3 *)& ((arg1)->m_AR);
*(btMatrix3x3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1calc_1absolute_1matrix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
(arg1)->calc_absolute_matrix();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1BT_1BOX_1BOX_1TRANSFORM_1CACHE(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *result = 0 ;
(void)jenv;
(void)jcls;
result = (BT_BOX_BOX_TRANSFORM_CACHE *)new BT_BOX_BOX_TRANSFORM_CACHE();
*(BT_BOX_BOX_TRANSFORM_CACHE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1calc_1from_1homogenic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calc_from_homogenic((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1calc_1from_1full_1invert(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calc_from_full_invert((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1BOX_1BOX_1TRANSFORM_1CACHE_1transform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = ((BT_BOX_BOX_TRANSFORM_CACHE const *)arg1)->transform((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1BT_1BOX_1BOX_1TRANSFORM_1CACHE(JNIEnv *jenv, jclass jcls, jlong jarg1) {
BT_BOX_BOX_TRANSFORM_CACHE *arg1 = (BT_BOX_BOX_TRANSFORM_CACHE *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1min_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_min = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1min_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
result = (btVector3 *)& ((arg1)->m_min);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1max_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_max = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1max_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
result = (btVector3 *)& ((arg1)->m_max);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAABB_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAABB *)new btAABB();
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAABB_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btAABB *)new btAABB((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAABB_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jfloat jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
result = (btAABB *)new btAABB((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAABB_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAABB *arg1 = 0 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
result = (btAABB *)new btAABB((btAABB const &)*arg1);
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btAABB_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jlong jresult = 0 ;
btAABB *arg1 = 0 ;
btScalar arg2 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
arg2 = (btScalar)jarg2;
result = (btAABB *)new btAABB((btAABB const &)*arg1,arg2);
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1invalidate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAABB *arg1 = (btAABB *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
(arg1)->invalidate();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1increment_1margin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btAABB *arg1 = (btAABB *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->increment_margin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1copy_1with_1margin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
arg3 = (btScalar)jarg3;
(arg1)->copy_with_margin((btAABB const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1appy_1transform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btAABB *arg1 = (btAABB *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->appy_transform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1appy_1transform_1trans_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAABB *arg1 = (btAABB *) 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BT_BOX_BOX_TRANSFORM_CACHE const & reference is null");
return ;
}
(arg1)->appy_transform_trans_cache((BT_BOX_BOX_TRANSFORM_CACHE const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1merge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
(arg1)->merge((btAABB const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1get_1center_1extend(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btAABB const *)arg1)->get_center_extend(*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1find_1intersection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB & reference is null");
return ;
}
((btAABB const *)arg1)->find_intersection((btAABB const &)*arg2,*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1has_1collision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
result = (bool)((btAABB const *)arg1)->has_collision((btAABB const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1collide_1ray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (bool)((btAABB const *)arg1)->collide_ray((btVector3 const &)*arg2,(btVector3 const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1projection_1interval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jlong jarg4) {
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *arg2 = 0 ;
btScalar *arg3 = 0 ;
btScalar *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btScalar **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg4 = *(btScalar **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
((btAABB const *)arg1)->projection_interval((btVector3 const &)*arg2,*arg3,*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1plane_1classify(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btVector4 *arg2 = 0 ;
eBT_PLANE_INTERSECTION_TYPE result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
result = (eBT_PLANE_INTERSECTION_TYPE)((btAABB const *)arg1)->plane_classify((btVector4 const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1overlapping_1trans_1conservative(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
btTransform *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (bool)((btAABB const *)arg1)->overlapping_trans_conservative((btAABB const &)*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1overlapping_1trans_1conservative2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
arg3 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BT_BOX_BOX_TRANSFORM_CACHE const & reference is null");
return 0;
}
result = (bool)((btAABB const *)arg1)->overlapping_trans_conservative2((btAABB const &)*arg2,(BT_BOX_BOX_TRANSFORM_CACHE const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1overlapping_1trans_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btAABB *arg2 = 0 ;
BT_BOX_BOX_TRANSFORM_CACHE *arg3 = 0 ;
bool arg4 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
arg3 = *(BT_BOX_BOX_TRANSFORM_CACHE **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BT_BOX_BOX_TRANSFORM_CACHE const & reference is null");
return 0;
}
arg4 = jarg4 ? true : false;
result = (bool)((btAABB const *)arg1)->overlapping_trans_cache((btAABB const &)*arg2,(BT_BOX_BOX_TRANSFORM_CACHE const &)*arg3,arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1collide_1plane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btVector4 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAABB **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
result = (bool)((btAABB const *)arg1)->collide_plane((btVector4 const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAABB_1collide_1triangle_1exact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
jboolean jresult = 0 ;
btAABB *arg1 = (btAABB *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector4 *arg5 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
arg1 = *(btAABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btVector4 **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
result = (bool)((btAABB const *)arg1)->collide_triangle_exact((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector4 const &)*arg5);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btAABB(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAABB *arg1 = (btAABB *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAABB **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompareTransformsEqual(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2) {
jboolean jresult = 0 ;
btTransform *arg1 = 0 ;
btTransform *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
btTransform local_arg1;
gdx_setbtTransformFromMatrix4(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitMatrix4 auto_commit_arg1(jenv, jarg1, &local_arg1);
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (bool)btCompareTransformsEqual((btTransform const &)*arg1,(btTransform const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1distance_1point_1plane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jfloat jresult = 0 ;
btVector4 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector4 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btScalar)bt_distance_point_plane((btVector4 const &)*arg1,(btVector3 const &)*arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1vec_1blend(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jfloat jarg4) {
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
bt_vec_blend(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1plane_1clip_1polygon_1collect(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jfloat jarg3, jfloat jarg4, jlong jarg5, jobject jarg5_, jlong jarg6) {
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
btScalar arg4 ;
btVector3 *arg5 = (btVector3 *) 0 ;
int *arg6 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg5_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
arg4 = (btScalar)jarg4;
arg5 = *(btVector3 **)&jarg5;
arg6 = *(int **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
return ;
}
bt_plane_clip_polygon_collect((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5,*arg6);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1plane_1clip_1polygon(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jlong jarg4, jobject jarg4_) {
jint jresult = 0 ;
btVector4 *arg1 = 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
btVector3 *arg4 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(btVector4 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
arg4 = *(btVector3 **)&jarg4;
result = (int)bt_plane_clip_polygon((btVector4 const &)*arg1,(btVector3 const *)arg2,arg3,arg4);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1plane_1clip_1triangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
jint jresult = 0 ;
btVector4 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
arg1 = *(btVector4 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btVector3 **)&jarg5;
result = (int)bt_plane_clip_triangle((btVector4 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1edge_1plane(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector4 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg4_;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btVector4 **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
bt_edge_plane((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1closest_1point_1on_1segment(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4) {
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
bt_closest_point_on_segment(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1line_1plane_1collision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jfloat jarg6, jfloat jarg7) {
jint jresult = 0 ;
btVector4 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btScalar *arg5 = 0 ;
btScalar arg6 ;
btScalar arg7 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector4 **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btScalar **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
arg6 = (btScalar)jarg6;
arg7 = (btScalar)jarg7;
result = (int)bt_line_plane_collision((btVector4 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,arg6,arg7);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt_1segment_1collision(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) {
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btVector3 *arg6 = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
btVector3 local_arg6;
gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6);
arg6 = &local_arg6;
gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6);
bt_segment_collision((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,*arg5,*arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1penetration_1depth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_penetration_depth = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1penetration_1depth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
result = (btScalar) ((arg1)->m_penetration_depth);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1point_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_point_count = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1point_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
result = (int) ((arg1)->m_point_count);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1separating_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btVector4 *arg2 = (btVector4 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (arg1) (arg1)->m_separating_normal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1separating_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btVector4 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
result = (btVector4 *)& ((arg1)->m_separating_normal);
*(btVector4 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1points_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_points;
for (ii = 0; ii < (size_t)16; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1points_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_points);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1copy_1from(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
GIM_TRIANGLE_CONTACT *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
arg2 = *(GIM_TRIANGLE_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT const & reference is null");
return ;
}
(arg1)->copy_from((GIM_TRIANGLE_CONTACT const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1TRIANGLE_1CONTACT_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_TRIANGLE_CONTACT *)new GIM_TRIANGLE_CONTACT();
*(GIM_TRIANGLE_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1TRIANGLE_1CONTACT_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT *arg1 = 0 ;
GIM_TRIANGLE_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT const & reference is null");
return 0;
}
result = (GIM_TRIANGLE_CONTACT *)new GIM_TRIANGLE_CONTACT((GIM_TRIANGLE_CONTACT const &)*arg1);
*(GIM_TRIANGLE_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1merge_1points(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jlong jarg4, jobject jarg4_, jint jarg5) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
btVector4 *arg2 = 0 ;
btScalar arg3 ;
btVector3 *arg4 = (btVector3 *) 0 ;
int arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return ;
}
arg3 = (btScalar)jarg3;
arg4 = *(btVector3 **)&jarg4;
arg5 = (int)jarg5;
(arg1)->merge_points((btVector4 const &)*arg2,arg3,(btVector3 const *)arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1TRIANGLE_1CONTACT(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_TRIANGLE_CONTACT *arg1 = (GIM_TRIANGLE_CONTACT *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_TRIANGLE_CONTACT **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1vertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_vertices;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1vertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_vertices);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1plane_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btVector4 *arg2 = (btVector4 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (arg1) (arg1)->m_plane = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1plane_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btVector4 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
result = (btVector4 *)& ((arg1)->m_plane);
*(btVector4 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1margin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_margin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1margin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
result = (btScalar) ((arg1)->m_margin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1dummy_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_dummy = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1dummy_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
result = (btScalar) ((arg1)->m_dummy);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPrimitiveTriangle(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPrimitiveTriangle *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPrimitiveTriangle *)new btPrimitiveTriangle();
*(btPrimitiveTriangle **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1buildTriPlane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
(arg1)->buildTriPlane();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1overlap_1test_1conservative(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btPrimitiveTriangle *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = *(btPrimitiveTriangle **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle const & reference is null");
return 0;
}
result = (bool)(arg1)->overlap_test_conservative((btPrimitiveTriangle const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1get_1edge_1plane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
int arg2 ;
btVector4 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btVector4 **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
((btPrimitiveTriangle const *)arg1)->get_edge_plane(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1applyTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyTransform((btTransform const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1clip_1triangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jint jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btPrimitiveTriangle *arg2 = 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = *(btPrimitiveTriangle **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle & reference is null");
return 0;
}
arg3 = *(btVector3 **)&jarg3;
result = (int)(arg1)->clip_triangle(*arg2,arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveTriangle_1find_1triangle_1collision_1clip_1method(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
btPrimitiveTriangle *arg2 = 0 ;
GIM_TRIANGLE_CONTACT *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btPrimitiveTriangle **)&jarg1;
arg2 = *(btPrimitiveTriangle **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle & reference is null");
return 0;
}
arg3 = *(GIM_TRIANGLE_CONTACT **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT & reference is null");
return 0;
}
result = (bool)(arg1)->find_triangle_collision_clip_method(*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPrimitiveTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPrimitiveTriangle *arg1 = (btPrimitiveTriangle *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPrimitiveTriangle **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleShapeEx_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTriangleShapeEx *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTriangleShapeEx *)new btTriangleShapeEx();
*(btTriangleShapeEx **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleShapeEx_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btTriangleShapeEx *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btTriangleShapeEx *)new btTriangleShapeEx((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(btTriangleShapeEx **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTriangleShapeEx_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btTriangleShapeEx *arg1 = 0 ;
btTriangleShapeEx *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShapeEx **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTriangleShapeEx const & reference is null");
return 0;
}
result = (btTriangleShapeEx *)new btTriangleShapeEx((btTriangleShapeEx const &)*arg1);
*(btTriangleShapeEx **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShapeEx_1applyTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btTriangleShapeEx *arg1 = (btTriangleShapeEx *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTriangleShapeEx **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->applyTransform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShapeEx_1buildTriPlane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btTriangleShapeEx *arg1 = (btTriangleShapeEx *) 0 ;
btVector4 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleShapeEx **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
((btTriangleShapeEx const *)arg1)->buildTriPlane(*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShapeEx_1overlap_1test_1conservative(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btTriangleShapeEx *arg1 = (btTriangleShapeEx *) 0 ;
btTriangleShapeEx *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btTriangleShapeEx **)&jarg1;
arg2 = *(btTriangleShapeEx **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTriangleShapeEx const & reference is null");
return 0;
}
result = (bool)(arg1)->overlap_test_conservative((btTriangleShapeEx const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTriangleShapeEx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTriangleShapeEx *arg1 = (btTriangleShapeEx *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTriangleShapeEx **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1PAIR_1index1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_PAIR *arg1 = (GIM_PAIR *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_PAIR **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_index1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1PAIR_1index1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_PAIR *arg1 = (GIM_PAIR *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_PAIR **)&jarg1;
result = (int) ((arg1)->m_index1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1PAIR_1index2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_PAIR *arg1 = (GIM_PAIR *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_PAIR **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_index2 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1PAIR_1index2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_PAIR *arg1 = (GIM_PAIR *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_PAIR **)&jarg1;
result = (int) ((arg1)->m_index2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1PAIR_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_PAIR *)new GIM_PAIR();
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1PAIR_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_PAIR *arg1 = 0 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_PAIR **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_PAIR const & reference is null");
return 0;
}
result = (GIM_PAIR *)new GIM_PAIR((GIM_PAIR const &)*arg1);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1PAIR_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) {
jlong jresult = 0 ;
int arg1 ;
int arg2 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
result = (GIM_PAIR *)new GIM_PAIR(arg1,arg2);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1PAIR(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_PAIR *arg1 = (GIM_PAIR *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_PAIR **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1DATA_1bound_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_BVH_DATA *arg1 = (GIM_BVH_DATA *) 0 ;
btAABB *arg2 = (btAABB *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_BVH_DATA **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (arg1) (arg1)->m_bound = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1DATA_1bound_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_BVH_DATA *arg1 = (GIM_BVH_DATA *) 0 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_DATA **)&jarg1;
result = (btAABB *)& ((arg1)->m_bound);
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1DATA_1data_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_BVH_DATA *arg1 = (GIM_BVH_DATA *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_DATA **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_data = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1DATA_1data_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_BVH_DATA *arg1 = (GIM_BVH_DATA *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_DATA **)&jarg1;
result = (int) ((arg1)->m_data);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1BVH_1DATA(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_BVH_DATA *)new GIM_BVH_DATA();
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1BVH_1DATA(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_BVH_DATA *arg1 = (GIM_BVH_DATA *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_BVH_DATA **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1bound_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
btAABB *arg2 = (btAABB *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (arg1) (arg1)->m_bound = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1bound_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
result = (btAABB *)& ((arg1)->m_bound);
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1BVH_1TREE_1NODE(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_BVH_TREE_NODE *)new GIM_BVH_TREE_NODE();
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
result = (bool)((GIM_BVH_TREE_NODE const *)arg1)->isLeafNode();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1getEscapeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
result = (int)((GIM_BVH_TREE_NODE const *)arg1)->getEscapeIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1setEscapeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setEscapeIndex(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1getDataIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
result = (int)((GIM_BVH_TREE_NODE const *)arg1)->getDataIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1setDataIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setDataIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1BVH_1TREE_1NODE(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_BVH_TREE_NODE *arg1 = (GIM_BVH_TREE_NODE *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_BVH_TREE_NODE **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
btAlignedObjectArray< GIM_PAIR > *arg2 = 0 ;
btAlignedObjectArray< GIM_PAIR > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_PAIR > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_PAIR > *) &(arg1)->operator =((btAlignedObjectArray< GIM_PAIR > const &)*arg2);
*(btAlignedObjectArray< GIM_PAIR > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimPairArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_PAIR > *)new btAlignedObjectArray< GIM_PAIR >();
*(btAlignedObjectArray< GIM_PAIR > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimPairArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimPairArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = 0 ;
btAlignedObjectArray< GIM_PAIR > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_PAIR > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_PAIR > *)new btAlignedObjectArray< GIM_PAIR >((btAlignedObjectArray< GIM_PAIR > const &)*arg1);
*(btAlignedObjectArray< GIM_PAIR > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_PAIR > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_PAIR *) &((btAlignedObjectArray< GIM_PAIR > const *)arg1)->at(arg2);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_PAIR *) &(arg1)->at(arg2);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_PAIR *) &((btAlignedObjectArray< GIM_PAIR > const *)arg1)->operator [](arg2);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_PAIR *) &(arg1)->operator [](arg2);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
GIM_PAIR *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(GIM_PAIR **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_PAIR const & reference is null");
return ;
}
(arg1)->resize(arg2,(GIM_PAIR const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
result = (GIM_PAIR *) &(arg1)->expandNonInitializing();
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
GIM_PAIR *arg2 = 0 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = *(GIM_PAIR **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_PAIR const & reference is null");
return 0;
}
result = (GIM_PAIR *) &(arg1)->expand((GIM_PAIR const &)*arg2);
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
GIM_PAIR *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
result = (GIM_PAIR *) &(arg1)->expand();
*(GIM_PAIR **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
GIM_PAIR *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = *(GIM_PAIR **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_PAIR const & reference is null");
return ;
}
(arg1)->push_back((GIM_PAIR const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_PAIR > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimPairArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_PAIR >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_PAIR >::less *)new btAlignedObjectArray< GIM_PAIR >::less();
*(btAlignedObjectArray< GIM_PAIR >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimPairArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_PAIR >::less *arg1 = (btAlignedObjectArray< GIM_PAIR >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_PAIR >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimPairArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_PAIR > *arg1 = (btAlignedObjectArray< GIM_PAIR > *) 0 ;
btAlignedObjectArray< GIM_PAIR > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_PAIR > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_PAIR > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< GIM_PAIR > const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg2 = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_BVH_DATA > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_BVH_DATA > *) &(arg1)->operator =((btAlignedObjectArray< GIM_BVH_DATA > const &)*arg2);
*(btAlignedObjectArray< GIM_BVH_DATA > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimBvhDataArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_BVH_DATA > *)new btAlignedObjectArray< GIM_BVH_DATA >();
*(btAlignedObjectArray< GIM_BVH_DATA > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimBvhDataArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimBvhDataArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_BVH_DATA > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_BVH_DATA > *)new btAlignedObjectArray< GIM_BVH_DATA >((btAlignedObjectArray< GIM_BVH_DATA > const &)*arg1);
*(btAlignedObjectArray< GIM_BVH_DATA > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_BVH_DATA > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_DATA *) &((btAlignedObjectArray< GIM_BVH_DATA > const *)arg1)->at(arg2);
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_DATA *) &(arg1)->at(arg2);
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_DATA *) &((btAlignedObjectArray< GIM_BVH_DATA > const *)arg1)->operator [](arg2);
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_DATA *) &(arg1)->operator [](arg2);
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
GIM_BVH_DATA *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(GIM_BVH_DATA **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_DATA const & reference is null");
return ;
}
(arg1)->resize(arg2,(GIM_BVH_DATA const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
result = (GIM_BVH_DATA *) &(arg1)->expandNonInitializing();
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
GIM_BVH_DATA *arg2 = 0 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = *(GIM_BVH_DATA **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_DATA const & reference is null");
return 0;
}
result = (GIM_BVH_DATA *) &(arg1)->expand((GIM_BVH_DATA const &)*arg2);
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
GIM_BVH_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
result = (GIM_BVH_DATA *) &(arg1)->expand();
*(GIM_BVH_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
GIM_BVH_DATA *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = *(GIM_BVH_DATA **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_DATA const & reference is null");
return ;
}
(arg1)->push_back((GIM_BVH_DATA const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_BVH_DATA > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimBvhDataArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_DATA >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_BVH_DATA >::less *)new btAlignedObjectArray< GIM_BVH_DATA >::less();
*(btAlignedObjectArray< GIM_BVH_DATA >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimBvhDataArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_BVH_DATA >::less *arg1 = (btAlignedObjectArray< GIM_BVH_DATA >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhDataArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_BVH_DATA > *arg1 = (btAlignedObjectArray< GIM_BVH_DATA > *) 0 ;
btAlignedObjectArray< GIM_BVH_DATA > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_BVH_DATA > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_BVH_DATA > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< GIM_BVH_DATA > const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg2 = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_BVH_TREE_NODE > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) &(arg1)->operator =((btAlignedObjectArray< GIM_BVH_TREE_NODE > const &)*arg2);
*(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimBvhTreeNodeArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *)new btAlignedObjectArray< GIM_BVH_TREE_NODE >();
*(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimBvhTreeNodeArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimBvhTreeNodeArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_BVH_TREE_NODE > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *)new btAlignedObjectArray< GIM_BVH_TREE_NODE >((btAlignedObjectArray< GIM_BVH_TREE_NODE > const &)*arg1);
*(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_BVH_TREE_NODE > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_TREE_NODE *) &((btAlignedObjectArray< GIM_BVH_TREE_NODE > const *)arg1)->at(arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_TREE_NODE *) &(arg1)->at(arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_TREE_NODE *) &((btAlignedObjectArray< GIM_BVH_TREE_NODE > const *)arg1)->operator [](arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_TREE_NODE *) &(arg1)->operator [](arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(GIM_BVH_TREE_NODE **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_TREE_NODE const & reference is null");
return ;
}
(arg1)->resize(arg2,(GIM_BVH_TREE_NODE const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
result = (GIM_BVH_TREE_NODE *) &(arg1)->expandNonInitializing();
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
GIM_BVH_TREE_NODE *arg2 = 0 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = *(GIM_BVH_TREE_NODE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_TREE_NODE const & reference is null");
return 0;
}
result = (GIM_BVH_TREE_NODE *) &(arg1)->expand((GIM_BVH_TREE_NODE const &)*arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
result = (GIM_BVH_TREE_NODE *) &(arg1)->expand();
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
GIM_BVH_TREE_NODE *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = *(GIM_BVH_TREE_NODE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_TREE_NODE const & reference is null");
return ;
}
(arg1)->push_back((GIM_BVH_TREE_NODE const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_BVH_TREE_NODE > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimBvhTreeNodeArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_BVH_TREE_NODE >::less *)new btAlignedObjectArray< GIM_BVH_TREE_NODE >::less();
*(btAlignedObjectArray< GIM_BVH_TREE_NODE >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimBvhTreeNodeArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_BVH_TREE_NODE >::less *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimBvhTreeNodeArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg1 = (btAlignedObjectArray< GIM_BVH_TREE_NODE > *) 0 ;
btAlignedObjectArray< GIM_BVH_TREE_NODE > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_BVH_TREE_NODE > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< GIM_BVH_TREE_NODE > const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btPairSet(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btPairSet *result = 0 ;
(void)jenv;
(void)jcls;
result = (btPairSet *)new btPairSet();
*(btPairSet **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairSet_1push_1pair(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btPairSet *arg1 = (btPairSet *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPairSet **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->push_pair(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairSet_1push_1pair_1inv(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btPairSet *arg1 = (btPairSet *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPairSet **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->push_pair_inv(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPairSet(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPairSet *arg1 = (btPairSet *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPairSet **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1BVH_1DATA_1ARRAY(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_BVH_DATA_ARRAY *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_BVH_DATA_ARRAY *)new GIM_BVH_DATA_ARRAY();
*(GIM_BVH_DATA_ARRAY **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1BVH_1DATA_1ARRAY(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_BVH_DATA_ARRAY *arg1 = (GIM_BVH_DATA_ARRAY *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_BVH_DATA_ARRAY **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1BVH_1TREE_1NODE_1ARRAY(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_BVH_TREE_NODE_ARRAY *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_BVH_TREE_NODE_ARRAY *)new GIM_BVH_TREE_NODE_ARRAY();
*(GIM_BVH_TREE_NODE_ARRAY **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1BVH_1TREE_1NODE_1ARRAY(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_BVH_TREE_NODE_ARRAY *arg1 = (GIM_BVH_TREE_NODE_ARRAY *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_BVH_TREE_NODE_ARRAY **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btBvhTree(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btBvhTree *result = 0 ;
(void)jenv;
(void)jcls;
result = (btBvhTree *)new btBvhTree();
*(btBvhTree **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1build_1tree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btBvhTree *arg1 = (btBvhTree *) 0 ;
GIM_BVH_DATA_ARRAY *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = *(GIM_BVH_DATA_ARRAY **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_DATA_ARRAY & reference is null");
return ;
}
(arg1)->build_tree(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1clearNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btBvhTree *arg1 = (btBvhTree *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
(arg1)->clearNodes();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1getNodeCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
result = (int)((btBvhTree const *)arg1)->getNodeCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btBvhTree const *)arg1)->isLeafNode(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1getNodeData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btBvhTree const *)arg1)->getNodeData(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1getNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB & reference is null");
return ;
}
((btBvhTree const *)arg1)->getNodeBound(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1setNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
(arg1)->setNodeBound(arg2,(btAABB const &)*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1getLeftNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btBvhTree const *)arg1)->getLeftNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1getRightNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btBvhTree const *)arg1)->getRightNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1getEscapeNodeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btBvhTree const *)arg1)->getEscapeNodeIndex(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1get_1node_1pointer_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_TREE_NODE *)((btBvhTree const *)arg1)->get_node_pointer(arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTree_1get_1node_1pointer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btBvhTree *arg1 = (btBvhTree *) 0 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btBvhTree **)&jarg1;
result = (GIM_BVH_TREE_NODE *)((btBvhTree const *)arg1)->get_node_pointer();
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btBvhTree(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btBvhTree *arg1 = (btBvhTree *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btBvhTree **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btPrimitiveManagerBase(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveManagerBase_1is_1trimesh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
result = (bool)((btPrimitiveManagerBase const *)arg1)->is_trimesh();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveManagerBase_1get_1primitive_1count(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
result = (int)((btPrimitiveManagerBase const *)arg1)->get_primitive_count();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveManagerBase_1get_1primitive_1box(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB & reference is null");
return ;
}
((btPrimitiveManagerBase const *)arg1)->get_primitive_box(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPrimitiveManagerBase_1get_1primitive_1triangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
int arg2 ;
btPrimitiveTriangle *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btPrimitiveTriangle **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle & reference is null");
return ;
}
((btPrimitiveManagerBase const *)arg1)->get_primitive_triangle(arg2,*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactBvh_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactBvh *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactBvh *)new btGImpactBvh();
*(btGImpactBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactBvh_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
btGImpactBvh *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
result = (btGImpactBvh *)new btGImpactBvh(arg1);
*(btGImpactBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getGlobalBox(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btAABB result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
result = ((btGImpactBvh const *)arg1)->getGlobalBox();
*(btAABB **)&jresult = new btAABB((const btAABB &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1setPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btPrimitiveManagerBase *arg2 = (btPrimitiveManagerBase *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = *(btPrimitiveManagerBase **)&jarg2;
(arg1)->setPrimitiveManager(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btPrimitiveManagerBase *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
result = (btPrimitiveManagerBase *)((btGImpactBvh const *)arg1)->getPrimitiveManager();
*(btPrimitiveManagerBase **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1update(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
(arg1)->update();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1buildSet(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
(arg1)->buildSet();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1boxQuery(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
jboolean jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btAABB *arg2 = 0 ;
btAlignedObjectArray< int > *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
arg3 = *(btAlignedObjectArray< int > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
result = (bool)((btGImpactBvh const *)arg1)->boxQuery((btAABB const &)*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1boxQueryTrans(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jlong jarg4) {
jboolean jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btAABB *arg2 = 0 ;
btTransform *arg3 = 0 ;
btAlignedObjectArray< int > *arg4 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btAlignedObjectArray< int > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
result = (bool)((btGImpactBvh const *)arg1)->boxQueryTrans((btAABB const &)*arg2,(btTransform const &)*arg3,*arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1rayQuery(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4) {
jboolean jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btAlignedObjectArray< int > *arg4 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btAlignedObjectArray< int > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
result = (bool)((btGImpactBvh const *)arg1)->rayQuery((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1hasHierarchy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
result = (bool)((btGImpactBvh const *)arg1)->hasHierarchy();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1isTrimesh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
result = (bool)((btGImpactBvh const *)arg1)->isTrimesh();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getNodeCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
result = (int)((btGImpactBvh const *)arg1)->getNodeCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btGImpactBvh const *)arg1)->isLeafNode(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getNodeData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactBvh const *)arg1)->getNodeData(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB & reference is null");
return ;
}
((btGImpactBvh const *)arg1)->getNodeBound(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1setNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
(arg1)->setNodeBound(arg2,(btAABB const &)*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getLeftNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactBvh const *)arg1)->getLeftNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getRightNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactBvh const *)arg1)->getRightNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getEscapeNodeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactBvh const *)arg1)->getEscapeNodeIndex(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1getNodeTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
btPrimitiveTriangle *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btPrimitiveTriangle **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle & reference is null");
return ;
}
((btGImpactBvh const *)arg1)->getNodeTriangle(arg2,*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1get_1node_1pointer_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
int arg2 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_BVH_TREE_NODE *)((btGImpactBvh const *)arg1)->get_node_pointer(arg2);
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1get_1node_1pointer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
GIM_BVH_TREE_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactBvh **)&jarg1;
result = (GIM_BVH_TREE_NODE *)((btGImpactBvh const *)arg1)->get_node_pointer();
*(GIM_BVH_TREE_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactBvh_1find_1collision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jlong jarg5, jobject jarg5_) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
btTransform *arg2 = 0 ;
btGImpactBvh *arg3 = (btGImpactBvh *) 0 ;
btTransform *arg4 = 0 ;
btPairSet *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg5_;
arg1 = *(btGImpactBvh **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btGImpactBvh **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btPairSet **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPairSet & reference is null");
return ;
}
btGImpactBvh::find_collision(arg1,(btTransform const &)*arg2,arg3,(btTransform const &)*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactBvh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactBvh *arg1 = (btGImpactBvh *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactBvh **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1quantizedAabbMin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
unsigned short *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (unsigned short *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMin;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (unsigned short *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1quantizedAabbMin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMin);
/*jresult = SWIG_JavaArrayOut##Ushort(jenv, (unsigned short *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1quantizedAabbMax_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) {
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
unsigned short *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
return ;
}
arg2 = (unsigned short *)jenv->GetPrimitiveArrayCritical(jarg2, 0);
{
size_t ii;
unsigned short *b = (unsigned short *) arg1->m_quantizedAabbMax;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((unsigned short *) arg2 + ii);
}
jenv->ReleasePrimitiveArrayCritical(jarg2, (unsigned short *)arg2, 0);
}
SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1quantizedAabbMax_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jintArray jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
unsigned short *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
result = (unsigned short *)(unsigned short *) ((arg1)->m_quantizedAabbMax);
/*jresult = SWIG_JavaArrayOut##Ushort(jenv, (unsigned short *)result, 3);*/
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1escapeIndexOrDataIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_escapeIndexOrDataIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1escapeIndexOrDataIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
result = (int) ((arg1)->m_escapeIndexOrDataIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1BT_1QUANTIZED_1BVH_1NODE(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
result = (BT_QUANTIZED_BVH_NODE *)new BT_QUANTIZED_BVH_NODE();
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
result = (bool)((BT_QUANTIZED_BVH_NODE const *)arg1)->isLeafNode();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1getEscapeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
result = (int)((BT_QUANTIZED_BVH_NODE const *)arg1)->getEscapeIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1setEscapeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setEscapeIndex(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1getDataIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
result = (int)((BT_QUANTIZED_BVH_NODE const *)arg1)->getDataIndex();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1setDataIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setDataIndex(arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_BT_1QUANTIZED_1BVH_1NODE_1testQuantizedBoxOverlapp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jboolean jresult = 0 ;
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
unsigned short *arg3 = (unsigned short *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
{
arg2 = (unsigned short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg3 = (unsigned short*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
result = (bool)((BT_QUANTIZED_BVH_NODE const *)arg1)->testQuantizedBoxOverlapp(arg2,arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1BT_1QUANTIZED_1BVH_1NODE(JNIEnv *jenv, jclass jcls, jlong jarg1) {
BT_QUANTIZED_BVH_NODE *arg1 = (BT_QUANTIZED_BVH_NODE *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(BT_QUANTIZED_BVH_NODE **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg2 = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) &(arg1)->operator =((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const &)*arg2);
*(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimQuantizedBvhNodeArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *)new btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >();
*(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimQuantizedBvhNodeArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimQuantizedBvhNodeArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *)new btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const &)*arg1);
*(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
result = (int)((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (BT_QUANTIZED_BVH_NODE *) &((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const *)arg1)->at(arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (BT_QUANTIZED_BVH_NODE *) &(arg1)->at(arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (BT_QUANTIZED_BVH_NODE *) &((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const *)arg1)->operator [](arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
result = (BT_QUANTIZED_BVH_NODE *) &(arg1)->operator [](arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(BT_QUANTIZED_BVH_NODE **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BT_QUANTIZED_BVH_NODE const & reference is null");
return ;
}
(arg1)->resize(arg2,(BT_QUANTIZED_BVH_NODE const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
result = (BT_QUANTIZED_BVH_NODE *) &(arg1)->expandNonInitializing();
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
BT_QUANTIZED_BVH_NODE *arg2 = 0 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = *(BT_QUANTIZED_BVH_NODE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BT_QUANTIZED_BVH_NODE const & reference is null");
return 0;
}
result = (BT_QUANTIZED_BVH_NODE *) &(arg1)->expand((BT_QUANTIZED_BVH_NODE const &)*arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
result = (BT_QUANTIZED_BVH_NODE *) &(arg1)->expand();
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
BT_QUANTIZED_BVH_NODE *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = *(BT_QUANTIZED_BVH_NODE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BT_QUANTIZED_BVH_NODE const & reference is null");
return ;
}
(arg1)->push_back((BT_QUANTIZED_BVH_NODE const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
result = (int)((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimQuantizedBvhNodeArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less *)new btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less();
*(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimQuantizedBvhNodeArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimQuantizedBvhNodeArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg1 = (btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *) 0 ;
btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg1;
arg2 = *(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1QUANTIZED_1BVH_1NODE_1ARRAY(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_QUANTIZED_BVH_NODE_ARRAY *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_QUANTIZED_BVH_NODE_ARRAY *)new GIM_QUANTIZED_BVH_NODE_ARRAY();
*(GIM_QUANTIZED_BVH_NODE_ARRAY **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1QUANTIZED_1BVH_1NODE_1ARRAY(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_QUANTIZED_BVH_NODE_ARRAY *arg1 = (GIM_QUANTIZED_BVH_NODE_ARRAY *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_QUANTIZED_BVH_NODE_ARRAY **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btQuantizedBvhTree(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btQuantizedBvhTree *result = 0 ;
(void)jenv;
(void)jcls;
result = (btQuantizedBvhTree *)new btQuantizedBvhTree();
*(btQuantizedBvhTree **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1build_1tree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
GIM_BVH_DATA_ARRAY *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = *(GIM_BVH_DATA_ARRAY **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BVH_DATA_ARRAY & reference is null");
return ;
}
(arg1)->build_tree(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1quantizePoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
{
arg2 = (unsigned short*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btQuantizedBvhTree const *)arg1)->quantizePoint(arg2,(btVector3 const &)*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1testQuantizedBoxOverlapp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4) {
jboolean jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
unsigned short *arg3 = (unsigned short *) 0 ;
unsigned short *arg4 = (unsigned short *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
{
arg3 = (unsigned short*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
arg4 = (unsigned short*)jenv->GetDirectBufferAddress(jarg4);
if (arg4 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
result = (bool)((btQuantizedBvhTree const *)arg1)->testQuantizedBoxOverlapp(arg2,arg3,arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1clearNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
(arg1)->clearNodes();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1getNodeCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
result = (int)((btQuantizedBvhTree const *)arg1)->getNodeCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btQuantizedBvhTree const *)arg1)->isLeafNode(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1getNodeData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btQuantizedBvhTree const *)arg1)->getNodeData(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1getNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB & reference is null");
return ;
}
((btQuantizedBvhTree const *)arg1)->getNodeBound(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1setNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
(arg1)->setNodeBound(arg2,(btAABB const &)*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1getLeftNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btQuantizedBvhTree const *)arg1)->getLeftNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1getRightNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btQuantizedBvhTree const *)arg1)->getRightNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1getEscapeNodeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btQuantizedBvhTree const *)arg1)->getEscapeNodeIndex(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1get_1node_1pointer_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
arg2 = (int)jarg2;
result = (BT_QUANTIZED_BVH_NODE *)((btQuantizedBvhTree const *)arg1)->get_node_pointer(arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btQuantizedBvhTree_1get_1node_1pointer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btQuantizedBvhTree **)&jarg1;
result = (BT_QUANTIZED_BVH_NODE *)((btQuantizedBvhTree const *)arg1)->get_node_pointer();
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btQuantizedBvhTree(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btQuantizedBvhTree *arg1 = (btQuantizedBvhTree *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btQuantizedBvhTree **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactQuantizedBvh_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactQuantizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactQuantizedBvh *)new btGImpactQuantizedBvh();
*(btGImpactQuantizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactQuantizedBvh_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btPrimitiveManagerBase *arg1 = (btPrimitiveManagerBase *) 0 ;
btGImpactQuantizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btPrimitiveManagerBase **)&jarg1;
result = (btGImpactQuantizedBvh *)new btGImpactQuantizedBvh(arg1);
*(btGImpactQuantizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getGlobalBox(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btAABB result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
result = ((btGImpactQuantizedBvh const *)arg1)->getGlobalBox();
*(btAABB **)&jresult = new btAABB((const btAABB &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1setPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btPrimitiveManagerBase *arg2 = (btPrimitiveManagerBase *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = *(btPrimitiveManagerBase **)&jarg2;
(arg1)->setPrimitiveManager(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btPrimitiveManagerBase *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
result = (btPrimitiveManagerBase *)((btGImpactQuantizedBvh const *)arg1)->getPrimitiveManager();
*(btPrimitiveManagerBase **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1update(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
(arg1)->update();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1buildSet(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
(arg1)->buildSet();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1boxQuery(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
jboolean jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btAABB *arg2 = 0 ;
btAlignedObjectArray< int > *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
arg3 = *(btAlignedObjectArray< int > **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
result = (bool)((btGImpactQuantizedBvh const *)arg1)->boxQuery((btAABB const &)*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1boxQueryTrans(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jlong jarg4) {
jboolean jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btAABB *arg2 = 0 ;
btTransform *arg3 = 0 ;
btAlignedObjectArray< int > *arg4 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = *(btAABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btAlignedObjectArray< int > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
result = (bool)((btGImpactQuantizedBvh const *)arg1)->boxQueryTrans((btAABB const &)*arg2,(btTransform const &)*arg3,*arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1rayQuery(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4) {
jboolean jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btAlignedObjectArray< int > *arg4 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btAlignedObjectArray< int > **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< int > & reference is null");
return 0;
}
result = (bool)((btGImpactQuantizedBvh const *)arg1)->rayQuery((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1hasHierarchy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
result = (bool)((btGImpactQuantizedBvh const *)arg1)->hasHierarchy();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1isTrimesh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
result = (bool)((btGImpactQuantizedBvh const *)arg1)->isTrimesh();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getNodeCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
result = (int)((btGImpactQuantizedBvh const *)arg1)->getNodeCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1isLeafNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jboolean jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
result = (bool)((btGImpactQuantizedBvh const *)arg1)->isLeafNode(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getNodeData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactQuantizedBvh const *)arg1)->getNodeData(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB & reference is null");
return ;
}
((btGImpactQuantizedBvh const *)arg1)->getNodeBound(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1setNodeBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
btAABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btAABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAABB const & reference is null");
return ;
}
(arg1)->setNodeBound(arg2,(btAABB const &)*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getLeftNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactQuantizedBvh const *)arg1)->getLeftNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getRightNode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactQuantizedBvh const *)arg1)->getRightNode(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getEscapeNodeIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jint jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
result = (int)((btGImpactQuantizedBvh const *)arg1)->getEscapeNodeIndex(arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1getNodeTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
btPrimitiveTriangle *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btPrimitiveTriangle **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle & reference is null");
return ;
}
((btGImpactQuantizedBvh const *)arg1)->getNodeTriangle(arg2,*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1get_1node_1pointer_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
int arg2 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
arg2 = (int)jarg2;
result = (BT_QUANTIZED_BVH_NODE *)((btGImpactQuantizedBvh const *)arg1)->get_node_pointer(arg2);
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1get_1node_1pointer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
BT_QUANTIZED_BVH_NODE *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
result = (BT_QUANTIZED_BVH_NODE *)((btGImpactQuantizedBvh const *)arg1)->get_node_pointer();
*(BT_QUANTIZED_BVH_NODE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactQuantizedBvh_1find_1collision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jlong jarg5, jobject jarg5_) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
btTransform *arg2 = 0 ;
btGImpactQuantizedBvh *arg3 = (btGImpactQuantizedBvh *) 0 ;
btTransform *arg4 = 0 ;
btPairSet *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg5_;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btGImpactQuantizedBvh **)&jarg3;
btTransform local_arg4;
gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btPairSet **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPairSet & reference is null");
return ;
}
btGImpactQuantizedBvh::find_collision((btGImpactQuantizedBvh const *)arg1,(btTransform const &)*arg2,(btGImpactQuantizedBvh const *)arg3,(btTransform const &)*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactQuantizedBvh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactQuantizedBvh *arg1 = (btGImpactQuantizedBvh *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactQuantizedBvh **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btTetrahedronShapeEx(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btTetrahedronShapeEx *result = 0 ;
(void)jenv;
(void)jcls;
result = (btTetrahedronShapeEx *)new btTetrahedronShapeEx();
*(btTetrahedronShapeEx **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTetrahedronShapeEx_1setVertices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
btTetrahedronShapeEx *arg1 = (btTetrahedronShapeEx *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btTetrahedronShapeEx **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
(arg1)->setVertices((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btTetrahedronShapeEx(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btTetrahedronShapeEx *arg1 = (btTetrahedronShapeEx *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btTetrahedronShapeEx **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1updateBound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
(arg1)->updateBound();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1postUpdate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
(arg1)->postUpdate();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getLocalBox(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
btAABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (btAABB *) &(arg1)->getLocalBox();
*(btAABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getShapeType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (int)((btGImpactShapeInterface const *)arg1)->getShapeType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getGImpactShapeType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
eGIMPACT_SHAPE_TYPE result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (eGIMPACT_SHAPE_TYPE)((btGImpactShapeInterface const *)arg1)->getGImpactShapeType();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getBoxSet(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
btGImpactBoxSet *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (btGImpactBoxSet *)((btGImpactShapeInterface const *)arg1)->getBoxSet();
*(btGImpactBoxSet **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1hasBoxSet(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (bool)((btGImpactShapeInterface const *)arg1)->hasBoxSet();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
btPrimitiveManagerBase *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (btPrimitiveManagerBase *)((btGImpactShapeInterface const *)arg1)->getPrimitiveManager();
*(btPrimitiveManagerBase **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getNumChildShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (int)((btGImpactShapeInterface const *)arg1)->getNumChildShapes();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1childrenHasTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (bool)((btGImpactShapeInterface const *)arg1)->childrenHasTransform();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1needsRetrieveTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (bool)((btGImpactShapeInterface const *)arg1)->needsRetrieveTriangles();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1needsRetrieveTetrahedrons(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
result = (bool)((btGImpactShapeInterface const *)arg1)->needsRetrieveTetrahedrons();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getBulletTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btTriangleShapeEx *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btTriangleShapeEx **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTriangleShapeEx & reference is null");
return ;
}
((btGImpactShapeInterface const *)arg1)->getBulletTriangle(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getBulletTetrahedron(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btTetrahedronShapeEx *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btTetrahedronShapeEx **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTetrahedronShapeEx & reference is null");
return ;
}
((btGImpactShapeInterface const *)arg1)->getBulletTetrahedron(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1lockChildShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
((btGImpactShapeInterface const *)arg1)->lockChildShapes();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1unlockChildShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
((btGImpactShapeInterface const *)arg1)->unlockChildShapes();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getPrimitiveTriangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btPrimitiveTriangle *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btPrimitiveTriangle **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btPrimitiveTriangle & reference is null");
return ;
}
((btGImpactShapeInterface const *)arg1)->getPrimitiveTriangle(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getChildAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3, jobject jarg4, jobject jarg5) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btTransform *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
((btGImpactShapeInterface const *)arg1)->getChildAabb(arg2,(btTransform const &)*arg3,*arg4,*arg5);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getChildShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionShape *)(arg1)->getChildShape(arg2);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getChildShapeConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionShape *)((btGImpactShapeInterface const *)arg1)->getChildShape(arg2);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1getChildTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jobject jresult = 0 ;
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btTransform result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
result = ((btGImpactShapeInterface const *)arg1)->getChildTransform(arg2);
jresult = gdx_getReturnMatrix4(jenv);
gdx_setMatrix4FrombtTransform(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1setChildTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
int arg2 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = (int)jarg2;
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->setChildTransform(arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1rayTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btCollisionWorld::RayResultCallback *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btCollisionWorld::RayResultCallback **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionWorld::RayResultCallback & reference is null");
return ;
}
((btGImpactShapeInterface const *)arg1)->rayTest((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1processAllTrianglesRay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
btTriangleCallback *arg2 = (btTriangleCallback *) 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactShapeInterface **)&jarg1;
arg2 = *(btTriangleCallback **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
((btGImpactShapeInterface const *)arg1)->processAllTrianglesRay(arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactShapeInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactShapeInterface *arg1 = (btGImpactShapeInterface *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactShapeInterface **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactCompoundShape_1CompoundPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactCompoundShape::CompoundPrimitiveManager *arg1 = (btGImpactCompoundShape::CompoundPrimitiveManager *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactCompoundShape::CompoundPrimitiveManager **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1CompoundPrimitiveManager_1compoundShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactCompoundShape::CompoundPrimitiveManager *arg1 = (btGImpactCompoundShape::CompoundPrimitiveManager *) 0 ;
btGImpactCompoundShape *arg2 = (btGImpactCompoundShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactCompoundShape::CompoundPrimitiveManager **)&jarg1;
arg2 = *(btGImpactCompoundShape **)&jarg2;
if (arg1) (arg1)->m_compoundShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1CompoundPrimitiveManager_1compoundShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactCompoundShape::CompoundPrimitiveManager *arg1 = (btGImpactCompoundShape::CompoundPrimitiveManager *) 0 ;
btGImpactCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCompoundShape::CompoundPrimitiveManager **)&jarg1;
result = (btGImpactCompoundShape *) ((arg1)->m_compoundShape);
*(btGImpactCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCompoundShape_1CompoundPrimitiveManager_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactCompoundShape::CompoundPrimitiveManager *arg1 = 0 ;
btGImpactCompoundShape::CompoundPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCompoundShape::CompoundPrimitiveManager **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGImpactCompoundShape::CompoundPrimitiveManager const & reference is null");
return 0;
}
result = (btGImpactCompoundShape::CompoundPrimitiveManager *)new btGImpactCompoundShape::CompoundPrimitiveManager((btGImpactCompoundShape::CompoundPrimitiveManager const &)*arg1);
*(btGImpactCompoundShape::CompoundPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCompoundShape_1CompoundPrimitiveManager_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactCompoundShape *arg1 = (btGImpactCompoundShape *) 0 ;
btGImpactCompoundShape::CompoundPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCompoundShape **)&jarg1;
result = (btGImpactCompoundShape::CompoundPrimitiveManager *)new btGImpactCompoundShape::CompoundPrimitiveManager(arg1);
*(btGImpactCompoundShape::CompoundPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCompoundShape_1CompoundPrimitiveManager_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactCompoundShape::CompoundPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactCompoundShape::CompoundPrimitiveManager *)new btGImpactCompoundShape::CompoundPrimitiveManager();
*(btGImpactCompoundShape::CompoundPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCompoundShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1) {
jlong jresult = 0 ;
bool arg1 ;
btGImpactCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = jarg1 ? true : false;
result = (btGImpactCompoundShape *)new btGImpactCompoundShape(arg1);
*(btGImpactCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCompoundShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactCompoundShape *)new btGImpactCompoundShape();
*(btGImpactCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactCompoundShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactCompoundShape *arg1 = (btGImpactCompoundShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactCompoundShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1getCompoundPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactCompoundShape *arg1 = (btGImpactCompoundShape *) 0 ;
btGImpactCompoundShape::CompoundPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCompoundShape **)&jarg1;
result = (btGImpactCompoundShape::CompoundPrimitiveManager *)(arg1)->getCompoundPrimitiveManager();
*(btGImpactCompoundShape::CompoundPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1addChildShape_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_) {
btGImpactCompoundShape *arg1 = (btGImpactCompoundShape *) 0 ;
btTransform *arg2 = 0 ;
btCollisionShape *arg3 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactCompoundShape **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionShape **)&jarg3;
(arg1)->addChildShape((btTransform const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1addChildShape_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactCompoundShape *arg1 = (btGImpactCompoundShape *) 0 ;
btCollisionShape *arg2 = (btCollisionShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactCompoundShape **)&jarg1;
arg2 = *(btCollisionShape **)&jarg2;
(arg1)->addChildShape(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1margin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_margin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1margin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (btScalar) ((arg1)->m_margin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1meshInterface_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
if (arg1) (arg1)->m_meshInterface = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1meshInterface_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (btStridingMeshInterface *) ((arg1)->m_meshInterface);
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1scale_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_scale = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1scale_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (btVector3 *)& ((arg1)->m_scale);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1part_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_part = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1part_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int) ((arg1)->m_part);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1lock_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_lock_count = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1lock_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int) ((arg1)->m_lock_count);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1vertexbase_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->vertexbase = arg2;
} else {
arg1->vertexbase = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1vertexbase_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (unsigned char *) ((arg1)->vertexbase);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1numverts_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->numverts = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1numverts_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int) ((arg1)->numverts);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1type_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
PHY_ScalarType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (PHY_ScalarType)jarg2;
if (arg1) (arg1)->type = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1type_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
PHY_ScalarType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (PHY_ScalarType) ((arg1)->type);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1stride_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->stride = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1stride_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int) ((arg1)->stride);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1indexbase_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->indexbase = arg2;
} else {
arg1->indexbase = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1indexbase_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (unsigned char *) ((arg1)->indexbase);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1indexstride_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->indexstride = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1indexstride_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int) ((arg1)->indexstride);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1numfaces_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->numfaces = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1numfaces_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int) ((arg1)->numfaces);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1indicestype_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
PHY_ScalarType arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (PHY_ScalarType)jarg2;
if (arg1) (arg1)->indicestype = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1indicestype_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
PHY_ScalarType result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (PHY_ScalarType) ((arg1)->indicestype);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShapePart_1TrimeshPrimitiveManager_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactMeshShapePart::TrimeshPrimitiveManager *)new btGImpactMeshShapePart::TrimeshPrimitiveManager();
*(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShapePart_1TrimeshPrimitiveManager_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btGImpactMeshShapePart::TrimeshPrimitiveManager const & reference is null");
return 0;
}
result = (btGImpactMeshShapePart::TrimeshPrimitiveManager *)new btGImpactMeshShapePart::TrimeshPrimitiveManager((btGImpactMeshShapePart::TrimeshPrimitiveManager const &)*arg1);
*(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShapePart_1TrimeshPrimitiveManager_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int arg2 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (int)jarg2;
result = (btGImpactMeshShapePart::TrimeshPrimitiveManager *)new btGImpactMeshShapePart::TrimeshPrimitiveManager(arg1,arg2);
*(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactMeshShapePart_1TrimeshPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1lock(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
(arg1)->lock();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1unlock(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
(arg1)->unlock();
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1get_1vertex_1count(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
result = (int)((btGImpactMeshShapePart::TrimeshPrimitiveManager const *)arg1)->get_vertex_count();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1get_1indices(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
unsigned int *arg3 = 0 ;
unsigned int *arg4 = 0 ;
unsigned int *arg5 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(unsigned int **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "unsigned int & reference is null");
return ;
}
arg4 = *(unsigned int **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "unsigned int & reference is null");
return ;
}
arg5 = *(unsigned int **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "unsigned int & reference is null");
return ;
}
((btGImpactMeshShapePart::TrimeshPrimitiveManager const *)arg1)->get_indices(arg2,*arg3,*arg4,*arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1get_1vertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg3) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
unsigned int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (unsigned int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btGImpactMeshShapePart::TrimeshPrimitiveManager const *)arg1)->get_vertex(arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1get_1bullet_1triangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btGImpactMeshShapePart::TrimeshPrimitiveManager *arg1 = (btGImpactMeshShapePart::TrimeshPrimitiveManager *) 0 ;
int arg2 ;
btTriangleShapeEx *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(btTriangleShapeEx **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTriangleShapeEx & reference is null");
return ;
}
((btGImpactMeshShapePart::TrimeshPrimitiveManager const *)arg1)->get_bullet_triangle(arg2,*arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShapePart_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactMeshShapePart *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactMeshShapePart *)new btGImpactMeshShapePart();
*(btGImpactMeshShapePart **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShapePart_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
int arg2 ;
btGImpactMeshShapePart *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
arg2 = (int)jarg2;
result = (btGImpactMeshShapePart *)new btGImpactMeshShapePart(arg1,arg2);
*(btGImpactMeshShapePart **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactMeshShapePart(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactMeshShapePart *arg1 = (btGImpactMeshShapePart *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactMeshShapePart **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1getTrimeshPrimitiveManager(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapePart *arg1 = (btGImpactMeshShapePart *) 0 ;
btGImpactMeshShapePart::TrimeshPrimitiveManager *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart **)&jarg1;
result = (btGImpactMeshShapePart::TrimeshPrimitiveManager *)(arg1)->getTrimeshPrimitiveManager();
*(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1getVertexCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart *arg1 = (btGImpactMeshShapePart *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart **)&jarg1;
result = (int)((btGImpactMeshShapePart const *)arg1)->getVertexCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1getVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jobject jarg3) {
btGImpactMeshShapePart *arg1 = (btGImpactMeshShapePart *) 0 ;
int arg2 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart **)&jarg1;
arg2 = (int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((btGImpactMeshShapePart const *)arg1)->getVertex(arg2,*arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1getPart(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapePart *arg1 = (btGImpactMeshShapePart *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapePart **)&jarg1;
result = (int)((btGImpactMeshShapePart const *)arg1)->getPart();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btStridingMeshInterface *arg1 = (btStridingMeshInterface *) 0 ;
btGImpactMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btStridingMeshInterface **)&jarg1;
result = (btGImpactMeshShape *)new btGImpactMeshShape(arg1);
*(btGImpactMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactMeshShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShape_1getMeshInterface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShape **)&jarg1;
result = (btStridingMeshInterface *)(arg1)->getMeshInterface();
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShape_1getMeshInterfaceConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
btStridingMeshInterface *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShape **)&jarg1;
result = (btStridingMeshInterface *)((btGImpactMeshShape const *)arg1)->getMeshInterface();
*(btStridingMeshInterface **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShape_1getMeshPartCount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShape **)&jarg1;
result = (int)((btGImpactMeshShape const *)arg1)->getMeshPartCount();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShape_1getMeshPart(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
int arg2 ;
btGImpactMeshShapePart *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShape **)&jarg1;
arg2 = (int)jarg2;
result = (btGImpactMeshShapePart *)(arg1)->getMeshPart(arg2);
*(btGImpactMeshShapePart **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShape_1getMeshPartConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
int arg2 ;
btGImpactMeshShapePart *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShape **)&jarg1;
arg2 = (int)jarg2;
result = (btGImpactMeshShapePart *)((btGImpactMeshShape const *)arg1)->getMeshPart(arg2);
*(btGImpactMeshShapePart **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1collisionShapeData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
btCollisionShapeData *arg2 = (btCollisionShapeData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
arg2 = *(btCollisionShapeData **)&jarg2;
if (arg1) (arg1)->m_collisionShapeData = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1collisionShapeData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
btCollisionShapeData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
result = (btCollisionShapeData *)& ((arg1)->m_collisionShapeData);
*(btCollisionShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1meshInterface_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
btStridingMeshInterfaceData *arg2 = (btStridingMeshInterfaceData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
arg2 = *(btStridingMeshInterfaceData **)&jarg2;
if (arg1) (arg1)->m_meshInterface = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1meshInterface_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
btStridingMeshInterfaceData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
result = (btStridingMeshInterfaceData *)& ((arg1)->m_meshInterface);
*(btStridingMeshInterfaceData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1localScaling_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
btVector3FloatData *arg2 = (btVector3FloatData *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
arg2 = *(btVector3FloatData **)&jarg2;
if (arg1) (arg1)->m_localScaling = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1localScaling_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
btVector3FloatData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
result = (btVector3FloatData *)& ((arg1)->m_localScaling);
*(btVector3FloatData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1collisionMargin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
arg2 = (float)jarg2;
if (arg1) (arg1)->m_collisionMargin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1collisionMargin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
result = (float) ((arg1)->m_collisionMargin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1gimpactSubType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_gimpactSubType = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapeData_1gimpactSubType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
result = (int) ((arg1)->m_gimpactSubType);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactMeshShapeData(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactMeshShapeData *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactMeshShapeData *)new btGImpactMeshShapeData();
*(btGImpactMeshShapeData **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactMeshShapeData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactMeshShapeData *arg1 = (btGImpactMeshShapeData *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactMeshShapeData **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1point_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_point = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1point_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (btVector3 *)& ((arg1)->m_point);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1depth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_depth = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1depth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (btScalar) ((arg1)->m_depth);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1distance_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distance = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1distance_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (btScalar) ((arg1)->m_distance);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1feature1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_feature1 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1feature1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (int) ((arg1)->m_feature1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1feature2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_feature2 = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1feature2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (int) ((arg1)->m_feature2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1CONTACT_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_CONTACT *)new GIM_CONTACT();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1CONTACT_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_CONTACT *arg1 = 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return 0;
}
result = (GIM_CONTACT *)new GIM_CONTACT((GIM_CONTACT const &)*arg1);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1CONTACT_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jfloat jarg3, jint jarg4, jint jarg5) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
int arg4 ;
int arg5 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (GIM_CONTACT *)new GIM_CONTACT((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4,arg5);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1calc_1key_1contact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_CONTACT **)&jarg1;
result = (unsigned int)((GIM_CONTACT const *)arg1)->calc_key_contact();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1CONTACT_1interpolate_1normals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_CONTACT **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = (int)jarg3;
(arg1)->interpolate_normals(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1CONTACT(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_CONTACT *arg1 = (GIM_CONTACT *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_CONTACT **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1operatorAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg2 = 0 ;
btAlignedObjectArray< GIM_CONTACT > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_CONTACT > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_CONTACT > *) &(arg1)->operator =((btAlignedObjectArray< GIM_CONTACT > const &)*arg2);
*(btAlignedObjectArray< GIM_CONTACT > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimContactArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_CONTACT > *)new btAlignedObjectArray< GIM_CONTACT >();
*(btAlignedObjectArray< GIM_CONTACT > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimContactArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimContactArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = 0 ;
btAlignedObjectArray< GIM_CONTACT > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_CONTACT > const & reference is null");
return 0;
}
result = (btAlignedObjectArray< GIM_CONTACT > *)new btAlignedObjectArray< GIM_CONTACT >((btAlignedObjectArray< GIM_CONTACT > const &)*arg1);
*(btAlignedObjectArray< GIM_CONTACT > **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_CONTACT > const *)arg1)->size();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1atConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_CONTACT *) &((btAlignedObjectArray< GIM_CONTACT > const *)arg1)->at(arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_CONTACT *) &(arg1)->at(arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_CONTACT *) &((btAlignedObjectArray< GIM_CONTACT > const *)arg1)->operator [](arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
result = (GIM_CONTACT *) &(arg1)->operator [](arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1resizeNoInitialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resizeNoInitialize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
GIM_CONTACT *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
arg3 = *(GIM_CONTACT **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return ;
}
(arg1)->resize(arg2,(GIM_CONTACT const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->resize(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1expandNonInitializing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) &(arg1)->expandNonInitializing();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1expand_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
GIM_CONTACT *arg2 = 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = *(GIM_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return 0;
}
result = (GIM_CONTACT *) &(arg1)->expand((GIM_CONTACT const &)*arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1expand_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) &(arg1)->expand();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
GIM_CONTACT *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = *(GIM_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return ;
}
(arg1)->push_back((GIM_CONTACT const &)*arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
result = (int)((btAlignedObjectArray< GIM_CONTACT > const *)arg1)->capacity();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->reserve(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGimContactArray_1less(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btAlignedObjectArray< GIM_CONTACT >::less *result = 0 ;
(void)jenv;
(void)jcls;
result = (btAlignedObjectArray< GIM_CONTACT >::less *)new btAlignedObjectArray< GIM_CONTACT >::less();
*(btAlignedObjectArray< GIM_CONTACT >::less **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGimContactArray_1less(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btAlignedObjectArray< GIM_CONTACT >::less *arg1 = (btAlignedObjectArray< GIM_CONTACT >::less *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btAlignedObjectArray< GIM_CONTACT >::less **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1removeAtIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (int)jarg2;
(arg1)->removeAtIndex(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1initializeFromBuffer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
void *arg2 = (void *) 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->initializeFromBuffer(arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGimContactArray_1copyFromArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btAlignedObjectArray< GIM_CONTACT > *arg1 = (btAlignedObjectArray< GIM_CONTACT > *) 0 ;
btAlignedObjectArray< GIM_CONTACT > *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg1;
arg2 = *(btAlignedObjectArray< GIM_CONTACT > **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btAlignedObjectArray< GIM_CONTACT > const & reference is null");
return ;
}
(arg1)->copyFromArray((btAlignedObjectArray< GIM_CONTACT > const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btContactArray(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btContactArray *result = 0 ;
(void)jenv;
(void)jcls;
result = (btContactArray *)new btContactArray();
*(btContactArray **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContactArray_1push_1contact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4, jint jarg5, jint jarg6) {
btContactArray *arg1 = (btContactArray *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar arg4 ;
int arg5 ;
int arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btContactArray **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = (btScalar)jarg4;
arg5 = (int)jarg5;
arg6 = (int)jarg6;
(arg1)->push_contact((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContactArray_1push_1triangle_1contacts(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
btContactArray *arg1 = (btContactArray *) 0 ;
GIM_TRIANGLE_CONTACT *arg2 = 0 ;
int arg3 ;
int arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btContactArray **)&jarg1;
arg2 = *(GIM_TRIANGLE_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT const & reference is null");
return ;
}
arg3 = (int)jarg3;
arg4 = (int)jarg4;
(arg1)->push_triangle_contacts((GIM_TRIANGLE_CONTACT const &)*arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContactArray_1merge_1contacts_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
btContactArray *arg1 = (btContactArray *) 0 ;
btContactArray *arg2 = 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btContactArray **)&jarg1;
arg2 = *(btContactArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactArray const & reference is null");
return ;
}
arg3 = jarg3 ? true : false;
(arg1)->merge_contacts((btContactArray const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContactArray_1merge_1contacts_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btContactArray *arg1 = (btContactArray *) 0 ;
btContactArray *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btContactArray **)&jarg1;
arg2 = *(btContactArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactArray const & reference is null");
return ;
}
(arg1)->merge_contacts((btContactArray const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContactArray_1merge_1contacts_1unique(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btContactArray *arg1 = (btContactArray *) 0 ;
btContactArray *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btContactArray **)&jarg1;
arg2 = *(btContactArray **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactArray const & reference is null");
return ;
}
(arg1)->merge_contacts_unique((btContactArray const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btContactArray(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btContactArray *arg1 = (btContactArray *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btContactArray **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorNew_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorDelete_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete(arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorNew_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new(arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorDelete_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete(arg2,arg3);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorNewArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->operator new[](arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorDeleteArray_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (void *)jarg2;
(arg1)->operator delete[](arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorNewArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
size_t arg2 ;
void *arg3 = (void *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (void *)jarg3;
result = (void *)(arg1)->operator new[](arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1operatorDeleteArray_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
void *arg2 = (void *) 0 ;
void *arg3 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
arg2 = (void *)jarg2;
arg3 = (void *)jarg3;
(arg1)->operator delete[](arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCompoundFromGimpactShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCompoundFromGimpactShape *arg1 = (btCompoundFromGimpactShape *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCompoundFromGimpactShape **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCompoundFromGimpactShape(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btCompoundFromGimpactShape *result = 0 ;
(void)jenv;
(void)jcls;
result = (btCompoundFromGimpactShape *)new btCompoundFromGimpactShape();
*(btCompoundFromGimpactShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyCallback_1ignorePart_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
MyCallback *arg1 = (MyCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_ignorePart = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyCallback_1ignorePart_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
MyCallback *arg1 = (MyCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyCallback **)&jarg1;
result = (int) ((arg1)->m_ignorePart);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyCallback_1ignoreTriangleIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
MyCallback *arg1 = (MyCallback *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyCallback **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_ignoreTriangleIndex = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyCallback_1ignoreTriangleIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
MyCallback *arg1 = (MyCallback *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyCallback **)&jarg1;
result = (int) ((arg1)->m_ignoreTriangleIndex);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1MyCallback(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jint jarg3, jint jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
int arg3 ;
int arg4 ;
MyCallback *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (int)jarg3;
arg4 = (int)jarg4;
result = (MyCallback *)new MyCallback((btVector3 const &)*arg1,(btVector3 const &)*arg2,arg3,arg4);
*(MyCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1MyCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
MyCallback *arg1 = (MyCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(MyCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1gimpactShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
btGImpactMeshShape *arg2 = (btGImpactMeshShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
arg2 = *(btGImpactMeshShape **)&jarg2;
if (arg1) (arg1)->m_gimpactShape = (btGImpactMeshShape const *)arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1gimpactShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
btGImpactMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
result = (btGImpactMeshShape *) ((arg1)->m_gimpactShape);
*(btGImpactMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1colShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
btCompoundShape *arg2 = (btCompoundShape *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
arg2 = *(btCompoundShape **)&jarg2;
if (arg1) (arg1)->m_colShape = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1colShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
btCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
result = (btCompoundShape *) ((arg1)->m_colShape);
*(btCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1depth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_depth = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1depth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
result = (btScalar) ((arg1)->m_depth);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1MyInternalTriangleIndexCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
jlong jresult = 0 ;
btCompoundShape *arg1 = (btCompoundShape *) 0 ;
btGImpactMeshShape *arg2 = (btGImpactMeshShape *) 0 ;
btScalar arg3 ;
MyInternalTriangleIndexCallback *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCompoundShape **)&jarg1;
arg2 = *(btGImpactMeshShape **)&jarg2;
arg3 = (btScalar)jarg3;
result = (MyInternalTriangleIndexCallback *)new MyInternalTriangleIndexCallback(arg1,(btGImpactMeshShape const *)arg2,arg3);
*(MyInternalTriangleIndexCallback **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1MyInternalTriangleIndexCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
MyInternalTriangleIndexCallback *arg1 = (MyInternalTriangleIndexCallback *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(MyInternalTriangleIndexCallback **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCreateCompoundFromGimpactShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jlong jresult = 0 ;
btGImpactMeshShape *arg1 = (btGImpactMeshShape *) 0 ;
btScalar arg2 ;
btCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactMeshShape **)&jarg1;
arg2 = (btScalar)jarg2;
result = (btCompoundShape *)btCreateCompoundFromGimpactShape((btGImpactMeshShape const *)arg1,arg2);
*(btCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1pool_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
{
arg2 = (unsigned char*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
{
if (arg2) {
arg1->m_pool = arg2;
} else {
arg1->m_pool = 0;
}
}
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1pool_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jobject jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
unsigned char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (unsigned char *) ((arg1)->m_pool);
*(unsigned char **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1free_1nodes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t *arg2 = (size_t *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = *(size_t **)&jarg2;
if (arg1) (arg1)->m_free_nodes = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1free_1nodes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (size_t *) ((arg1)->m_free_nodes);
*(size_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1allocated_1sizes_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t *arg2 = (size_t *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = *(size_t **)&jarg2;
if (arg1) (arg1)->m_allocated_sizes = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1allocated_1sizes_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (size_t *) ((arg1)->m_allocated_sizes);
*(size_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1allocated_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = (size_t)jarg2;
if (arg1) (arg1)->m_allocated_count = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1allocated_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = ((arg1)->m_allocated_count);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1free_1nodes_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = (size_t)jarg2;
if (arg1) (arg1)->m_free_nodes_count = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1free_1nodes_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = ((arg1)->m_free_nodes_count);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1init_1pool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t arg2 ;
size_t arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (size_t)jarg3;
(arg1)->init_pool(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1end_1pool(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
(arg1)->end_pool();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGenericMemoryPool(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
jlong jresult = 0 ;
size_t arg1 ;
size_t arg2 ;
btGenericMemoryPool *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (size_t)jarg1;
arg2 = (size_t)jarg2;
result = (btGenericMemoryPool *)new btGenericMemoryPool(arg1,arg2);
*(btGenericMemoryPool **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGenericMemoryPool(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGenericMemoryPool **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1get_1pool_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (arg1)->get_pool_capacity();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1gem_1element_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (arg1)->gem_element_size();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1get_1max_1element_1count(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (arg1)->get_max_element_count();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1get_1allocated_1count(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (arg1)->get_allocated_count();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1get_1free_1positions_1count(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
result = (arg1)->get_free_positions_count();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1get_1element_1data(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->get_element_data(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1allocate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->allocate(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericMemoryPool_1freeMemory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jboolean jresult = 0 ;
btGenericMemoryPool *arg1 = (btGenericMemoryPool *) 0 ;
void *arg2 = (void *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericMemoryPool **)&jarg1;
arg2 = (void *)jarg2;
result = (bool)(arg1)->freeMemory(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1pools_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
btGenericMemoryPool **arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
arg2 = *(btGenericMemoryPool ***)&jarg2;
{
size_t ii;
btGenericMemoryPool * *b = (btGenericMemoryPool * *) arg1->m_pools;
for (ii = 0; ii < (size_t)16; ii++) b[ii] = *((btGenericMemoryPool * *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1pools_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
btGenericMemoryPool **result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
result = (btGenericMemoryPool **)(btGenericMemoryPool **) ((arg1)->m_pools);
*(btGenericMemoryPool ***)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1pool_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
size_t arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
arg2 = (size_t)jarg2;
if (arg1) (arg1)->m_pool_count = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1pool_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
result = ((arg1)->m_pool_count);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1get_1pool_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
size_t result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
result = (arg1)->get_pool_capacity();
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGenericPoolAllocator(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
jlong jresult = 0 ;
size_t arg1 ;
size_t arg2 ;
btGenericPoolAllocator *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (size_t)jarg1;
arg2 = (size_t)jarg2;
result = (btGenericPoolAllocator *)new btGenericPoolAllocator(arg1,arg2);
*(btGenericPoolAllocator **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGenericPoolAllocator(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGenericPoolAllocator **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1allocate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
size_t arg2 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
arg2 = (size_t)jarg2;
result = (void *)(arg1)->allocate(arg2);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGenericPoolAllocator_1freeMemory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jboolean jresult = 0 ;
btGenericPoolAllocator *arg1 = (btGenericPoolAllocator *) 0 ;
void *arg2 = (void *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGenericPoolAllocator **)&jarg1;
arg2 = (void *)jarg2;
result = (bool)(arg1)->freeMemory(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPoolAlloc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
size_t arg1 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (size_t)jarg1;
result = (void *)btPoolAlloc(arg1);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPoolRealloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
void *arg1 = (void *) 0 ;
size_t arg2 ;
size_t arg3 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
arg2 = (size_t)jarg2;
arg3 = (size_t)jarg3;
result = (void *)btPoolRealloc(arg1,arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPoolFree(JNIEnv *jenv, jclass jcls, jlong jarg1) {
void *arg1 = (void *) 0 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
btPoolFree(arg1);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btCollisionAlgorithmConstructionInfo *arg1 = 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btGImpactCollisionAlgorithm *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionAlgorithmConstructionInfo **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btCollisionAlgorithmConstructionInfo const & reference is null");
return 0;
}
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
result = (btGImpactCollisionAlgorithm *)new btGImpactCollisionAlgorithm((btCollisionAlgorithmConstructionInfo const &)*arg1,(btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3);
*(btGImpactCollisionAlgorithm **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactCollisionAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1internalGetResultOut(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
btManifoldResult *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
result = (btManifoldResult *)(arg1)->internalGetResultOut();
*(btManifoldResult **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGImpactCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGImpactCollisionAlgorithm::CreateFunc *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGImpactCollisionAlgorithm::CreateFunc *)new btGImpactCollisionAlgorithm::CreateFunc();
*(btGImpactCollisionAlgorithm::CreateFunc **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGImpactCollisionAlgorithm_1CreateFunc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGImpactCollisionAlgorithm::CreateFunc *arg1 = (btGImpactCollisionAlgorithm::CreateFunc *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGImpactCollisionAlgorithm::CreateFunc **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1registerAlgorithm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionDispatcher *arg1 = (btCollisionDispatcher *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionDispatcher **)&jarg1;
btGImpactCollisionAlgorithm::registerAlgorithm(arg1);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1gimpact_1vs_1gimpact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btGImpactShapeInterface *arg4 = (btGImpactShapeInterface *) 0 ;
btGImpactShapeInterface *arg5 = (btGImpactShapeInterface *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btGImpactShapeInterface **)&jarg4;
arg5 = *(btGImpactShapeInterface **)&jarg5;
(arg1)->gimpact_vs_gimpact((btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,(btGImpactShapeInterface const *)arg4,(btGImpactShapeInterface const *)arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1gimpact_1vs_1shape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jboolean jarg6) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btGImpactShapeInterface *arg4 = (btGImpactShapeInterface *) 0 ;
btCollisionShape *arg5 = (btCollisionShape *) 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btGImpactShapeInterface **)&jarg4;
arg5 = *(btCollisionShape **)&jarg5;
arg6 = jarg6 ? true : false;
(arg1)->gimpact_vs_shape((btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,(btGImpactShapeInterface const *)arg4,(btCollisionShape const *)arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1gimpact_1vs_1compoundshape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jboolean jarg6) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btGImpactShapeInterface *arg4 = (btGImpactShapeInterface *) 0 ;
btCompoundShape *arg5 = (btCompoundShape *) 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btGImpactShapeInterface **)&jarg4;
arg5 = *(btCompoundShape **)&jarg5;
arg6 = jarg6 ? true : false;
(arg1)->gimpact_vs_compoundshape((btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,(btGImpactShapeInterface const *)arg4,(btCompoundShape const *)arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1gimpact_1vs_1concave(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_, jboolean jarg6) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
btCollisionObjectWrapper *arg2 = (btCollisionObjectWrapper *) 0 ;
btCollisionObjectWrapper *arg3 = (btCollisionObjectWrapper *) 0 ;
btGImpactShapeInterface *arg4 = (btGImpactShapeInterface *) 0 ;
btConcaveShape *arg5 = (btConcaveShape *) 0 ;
bool arg6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = *(btCollisionObjectWrapper **)&jarg2;
arg3 = *(btCollisionObjectWrapper **)&jarg3;
arg4 = *(btGImpactShapeInterface **)&jarg4;
arg5 = *(btConcaveShape **)&jarg5;
arg6 = jarg6 ? true : false;
(arg1)->gimpact_vs_concave((btCollisionObjectWrapper const *)arg2,(btCollisionObjectWrapper const *)arg3,(btGImpactShapeInterface const *)arg4,(btConcaveShape const *)arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1setFace0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setFace0(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1getFace0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
result = (int)(arg1)->getFace0();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1setFace1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setFace1(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1getFace1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
result = (int)(arg1)->getFace1();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1setPart0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setPart0(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1getPart0(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
result = (int)(arg1)->getPart0();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1setPart1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setPart1(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1getPart1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGImpactCollisionAlgorithm *arg1 = (btGImpactCollisionAlgorithm *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGImpactCollisionAlgorithm **)&jarg1;
result = (int)(arg1)->getPart1();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1inertia_1add_1transformed(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jobject jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btTransform *arg3 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = gim_inertia_add_transformed((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btTransform const &)*arg3);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1get_1point_1inertia(JNIEnv *jenv, jclass jcls, jobject jarg1, jfloat jarg2) {
jobject jresult = 0 ;
btVector3 *arg1 = 0 ;
btScalar arg2 ;
btVector3 result;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
arg2 = (btScalar)jarg2;
result = gim_get_point_inertia((btVector3 const &)*arg1,arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1set_1alloc_1handler(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_alloc_function *arg1 = (gim_alloc_function *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_alloc_function **)&jarg1;
gim_set_alloc_handler(arg1);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1set_1alloca_1handler(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_alloca_function *arg1 = (gim_alloca_function *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_alloca_function **)&jarg1;
gim_set_alloca_handler(arg1);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1set_1realloc_1handler(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_realloc_function *arg1 = (gim_realloc_function *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_realloc_function **)&jarg1;
gim_set_realloc_handler(arg1);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1set_1free_1handler(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_free_function *arg1 = (gim_free_function *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_free_function **)&jarg1;
gim_set_free_handler(arg1);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1get_1alloc_1handler(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_alloc_function *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_alloc_function *)gim_get_alloc_handler();
*(gim_alloc_function **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1get_1alloca_1handler(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_alloca_function *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_alloca_function *)gim_get_alloca_handler();
*(gim_alloca_function **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1get_1realloc_1handler(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_realloc_function *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_realloc_function *)gim_get_realloc_handler();
*(gim_realloc_function **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1get_1free_1handler(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_free_function *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_free_function *)gim_get_free_handler();
*(gim_free_function **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
size_t arg1 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (size_t)jarg1;
result = (void *)gim_alloc(arg1);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1alloca(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
size_t arg1 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (size_t)jarg1;
result = (void *)gim_alloca(arg1);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1realloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
jlong jresult = 0 ;
void *arg1 = (void *) 0 ;
size_t arg2 ;
size_t arg3 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
arg2 = (size_t)jarg2;
arg3 = (size_t)jarg3;
result = (void *)gim_realloc(arg1,arg2,arg3);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1free(JNIEnv *jenv, jclass jcls, jlong jarg1) {
void *arg1 = (void *) 0 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
gim_free(arg1);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1simd_1memcpy(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
void *arg1 = (void *) 0 ;
void *arg2 = (void *) 0 ;
size_t arg3 ;
(void)jenv;
(void)jcls;
arg1 = (void *)jarg1;
arg2 = (void *)jarg2;
arg3 = (size_t)jarg3;
gim_simd_memcpy(arg1,(void const *)arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1container_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_bitset *arg1 = (gim_bitset *) 0 ;
gim_array< GUINT > *arg2 = (gim_array< GUINT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
arg2 = *(gim_array< GUINT > **)&jarg2;
if (arg1) (arg1)->m_container = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1container_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_bitset *arg1 = (gim_bitset *) 0 ;
gim_array< GUINT > *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
result = (gim_array< GUINT > *)& ((arg1)->m_container);
*(gim_array< GUINT > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1gim_1bitset_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_bitset *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_bitset *)new gim_bitset();
*(gim_bitset **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1gim_1bitset_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
GUINT arg1 ;
GUINT *argp1 ;
gim_bitset *result = 0 ;
(void)jenv;
(void)jcls;
argp1 = *(GUINT **)&jarg1;
if (!argp1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg1 = *argp1;
result = (gim_bitset *)new gim_bitset(arg1);
*(gim_bitset **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1gim_1bitset(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_bitset *arg1 = (gim_bitset *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_bitset **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1resize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jboolean jresult = 0 ;
gim_bitset *arg1 = (gim_bitset *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (bool)(arg1)->resize(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_bitset *arg1 = (gim_bitset *) 0 ;
GUINT result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
result = (arg1)->size();
*(GUINT **)&jresult = new GUINT((const GUINT &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1set_1all(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_bitset *arg1 = (gim_bitset *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
(arg1)->set_all();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1clear_1all(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_bitset *arg1 = (gim_bitset *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
(arg1)->clear_all();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_bitset *arg1 = (gim_bitset *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->set(arg2);
}
SWIGEXPORT jchar JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jchar jresult = 0 ;
gim_bitset *arg1 = (gim_bitset *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
char result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (char)(arg1)->get(arg2);
jresult = (jchar)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1bitset_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_bitset *arg1 = (gim_bitset *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_bitset **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->clear(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1T1to0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_T1to0 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1T1to0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
result = (btVector3 *)& ((arg1)->m_T1to0);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1R1to0_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *arg2 = (btMatrix3x3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
arg2 = *(btMatrix3x3 **)&jarg2;
if (arg1) (arg1)->m_R1to0 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1R1to0_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
result = (btMatrix3x3 *)& ((arg1)->m_R1to0);
*(btMatrix3x3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1AR_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *arg2 = (btMatrix3x3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
arg2 = *(btMatrix3x3 **)&jarg2;
if (arg1) (arg1)->m_AR = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1AR_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btMatrix3x3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
result = (btMatrix3x3 *)& ((arg1)->m_AR);
*(btMatrix3x3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1calc_1absolute_1matrix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
(arg1)->calc_absolute_matrix();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_BOX_BOX_TRANSFORM_CACHE *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_BOX_BOX_TRANSFORM_CACHE *)new GIM_BOX_BOX_TRANSFORM_CACHE();
*(GIM_BOX_BOX_TRANSFORM_CACHE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
GREAL (*arg1)[4] ;
GIM_BOX_BOX_TRANSFORM_CACHE *result = 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GREAL (**)[4])&jarg1;
result = (GIM_BOX_BOX_TRANSFORM_CACHE *)new GIM_BOX_BOX_TRANSFORM_CACHE((GREAL (*)[4])arg1);
*(GIM_BOX_BOX_TRANSFORM_CACHE **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1calc_1from_1homogenic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calc_from_homogenic((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1calc_1from_1full_1invert(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btTransform *arg2 = 0 ;
btTransform *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
(arg1)->calc_from_full_invert((btTransform const &)*arg2,(btTransform const &)*arg3);
}
SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BOX_1BOX_1TRANSFORM_1CACHE_1transform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jobject jresult = 0 ;
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (arg1)->transform((btVector3 const &)*arg2);
jresult = gdx_getReturnVector3(jenv);
gdx_setVector3FrombtVector3(jenv, jresult, result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1BOX_1BOX_1TRANSFORM_1CACHE(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_BOX_BOX_TRANSFORM_CACHE *arg1 = (GIM_BOX_BOX_TRANSFORM_CACHE *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1min_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_min = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1min_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
result = (btVector3 *)& ((arg1)->m_min);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1max_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_max = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1max_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
result = (btVector3 *)& ((arg1)->m_max);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1AABB_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_AABB *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_AABB *)new GIM_AABB();
*(GIM_AABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1AABB_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
GIM_AABB *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (GIM_AABB *)new GIM_AABB((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3);
*(GIM_AABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1AABB_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jlong jarg4) {
jlong jresult = 0 ;
btVector3 *arg1 = 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
GREAL arg4 ;
GREAL *argp4 ;
GIM_AABB *result = 0 ;
(void)jenv;
(void)jcls;
btVector3 local_arg1;
gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1);
arg1 = &local_arg1;
gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1);
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
argp4 = *(GREAL **)&jarg4;
if (!argp4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GREAL");
return 0;
}
arg4 = *argp4;
result = (GIM_AABB *)new GIM_AABB((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4);
*(GIM_AABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1AABB_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_AABB *arg1 = 0 ;
GIM_AABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return 0;
}
result = (GIM_AABB *)new GIM_AABB((GIM_AABB const &)*arg1);
*(GIM_AABB **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1AABB_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jlong jresult = 0 ;
GIM_AABB *arg1 = 0 ;
btScalar arg2 ;
GIM_AABB *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return 0;
}
arg2 = (btScalar)jarg2;
result = (GIM_AABB *)new GIM_AABB((GIM_AABB const &)*arg1,arg2);
*(GIM_AABB **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1invalidate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
(arg1)->invalidate();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1increment_1margin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = (btScalar)jarg2;
(arg1)->increment_margin(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1copy_1with_1margin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
GIM_AABB *arg2 = 0 ;
btScalar arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(GIM_AABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return ;
}
arg3 = (btScalar)jarg3;
(arg1)->copy_with_margin((GIM_AABB const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1appy_1transform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->appy_transform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1merge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
GIM_AABB *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(GIM_AABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return ;
}
(arg1)->merge((GIM_AABB const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1get_1center_1extend(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
((GIM_AABB const *)arg1)->get_center_extend(*arg2,*arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1find_1intersection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
GIM_AABB *arg2 = 0 ;
GIM_AABB *arg3 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(GIM_AABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return ;
}
arg3 = *(GIM_AABB **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB & reference is null");
return ;
}
((GIM_AABB const *)arg1)->find_intersection((GIM_AABB const &)*arg2,*arg3);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1has_1collision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
GIM_AABB *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(GIM_AABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return 0;
}
result = (bool)((GIM_AABB const *)arg1)->has_collision((GIM_AABB const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1collide_1ray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jboolean jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (bool)(arg1)->collide_ray((btVector3 const &)*arg2,(btVector3 const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1projection_1interval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jlong jarg4) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *arg2 = 0 ;
btScalar *arg3 = 0 ;
btScalar *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_AABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btScalar **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
arg4 = *(btScalar **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return ;
}
((GIM_AABB const *)arg1)->projection_interval((btVector3 const &)*arg2,*arg3,*arg4);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1plane_1classify(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector4 *arg2 = 0 ;
ePLANE_INTERSECTION_TYPE result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
result = (ePLANE_INTERSECTION_TYPE)((GIM_AABB const *)arg1)->plane_classify((btVector4 const &)*arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1overlapping_1trans_1conservative(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3) {
jboolean jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
GIM_AABB *arg2 = 0 ;
btTransform *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(GIM_AABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return 0;
}
btTransform local_arg3;
gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (bool)(arg1)->overlapping_trans_conservative((GIM_AABB const &)*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1overlapping_1trans_1cache(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
jboolean jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
GIM_AABB *arg2 = 0 ;
GIM_BOX_BOX_TRANSFORM_CACHE *arg3 = 0 ;
bool arg4 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(GIM_AABB **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_AABB const & reference is null");
return 0;
}
arg3 = *(GIM_BOX_BOX_TRANSFORM_CACHE **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_BOX_BOX_TRANSFORM_CACHE const & reference is null");
return 0;
}
arg4 = jarg4 ? true : false;
result = (bool)(arg1)->overlapping_trans_cache((GIM_AABB const &)*arg2,(GIM_BOX_BOX_TRANSFORM_CACHE const &)*arg3,arg4);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1collide_1plane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector4 *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_AABB **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
result = (bool)(arg1)->collide_plane((btVector4 const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1AABB_1collide_1triangle_1exact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_) {
jboolean jresult = 0 ;
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector4 *arg5 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg5_;
arg1 = *(GIM_AABB **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
arg5 = *(btVector4 **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return 0;
}
result = (bool)(arg1)->collide_triangle_exact((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector4 const &)*arg5);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1AABB(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_AABB *arg1 = (GIM_AABB *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_AABB **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1DISTANCE_1PLANE_13D_1FUNC(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
DISTANCE_PLANE_3D_FUNC *result = 0 ;
(void)jenv;
(void)jcls;
result = (DISTANCE_PLANE_3D_FUNC *)new DISTANCE_PLANE_3D_FUNC();
*(DISTANCE_PLANE_3D_FUNC **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1DISTANCE_1PLANE_13D_1FUNC(JNIEnv *jenv, jclass jcls, jlong jarg1) {
DISTANCE_PLANE_3D_FUNC *arg1 = (DISTANCE_PLANE_3D_FUNC *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(DISTANCE_PLANE_3D_FUNC **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1data_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *arg2 = (GIM_CONTACT *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
arg2 = *(GIM_CONTACT **)&jarg2;
if (arg1) (arg1)->m_data = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1data_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) ((arg1)->m_data);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1size_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
if (arg1) (arg1)->m_size = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1size_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = ((arg1)->m_size);
*(GUINT **)&jresult = new GUINT((const GUINT &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1allocated_1size_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
if (arg1) (arg1)->m_allocated_size = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1allocated_1size_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = ((arg1)->m_allocated_size);
*(GUINT **)&jresult = new GUINT((const GUINT &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1destroyData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->destroyData();
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1resizeData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jboolean jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (bool)(arg1)->resizeData(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1growingCheck(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jboolean jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (bool)(arg1)->growingCheck();
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1reserve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jboolean jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (bool)(arg1)->reserve(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1clear_1range(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->clear_range(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->clear();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1clear_1memory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->clear_memory();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1gim_1array_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_array< GIM_CONTACT > *)new gim_array< GIM_CONTACT >();
*(gim_array< GIM_CONTACT > **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1gim_1array_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
GUINT arg1 ;
GUINT *argp1 ;
gim_array< GIM_CONTACT > *result = 0 ;
(void)jenv;
(void)jcls;
argp1 = *(GUINT **)&jarg1;
if (!argp1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg1 = *argp1;
result = (gim_array< GIM_CONTACT > *)new gim_array< GIM_CONTACT >(arg1);
*(gim_array< GIM_CONTACT > **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1gim_1contact_1array_1internal(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1sizeVal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = ((gim_array< GIM_CONTACT > const *)arg1)->size();
*(GUINT **)&jresult = new GUINT((const GUINT &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1max_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = ((gim_array< GIM_CONTACT > const *)arg1)->max_size();
*(GUINT **)&jresult = new GUINT((const GUINT &)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1operatorSubscript(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
size_t arg2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
arg2 = (size_t)jarg2;
result = (GIM_CONTACT *) &(arg1)->operator [](arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1operatorSubscriptConst(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
size_t arg2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
arg2 = (size_t)jarg2;
result = (GIM_CONTACT *) &((gim_array< GIM_CONTACT > const *)arg1)->operator [](arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1pointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *)(arg1)->pointer();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1pointer_1const(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *)((gim_array< GIM_CONTACT > const *)arg1)->pointer();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1get_1pointer_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (GIM_CONTACT *)(arg1)->get_pointer_at(arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1get_1pointer_1at_1const(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (GIM_CONTACT *)((gim_array< GIM_CONTACT > const *)arg1)->get_pointer_at(arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (GIM_CONTACT *) &(arg1)->at(arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1at_1const(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg2 = *argp2;
result = (GIM_CONTACT *) &((gim_array< GIM_CONTACT > const *)arg1)->at(arg2);
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1front(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) &(arg1)->front();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1front_1const(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) &((gim_array< GIM_CONTACT > const *)arg1)->front();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) &(arg1)->back();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1back_1const(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
result = (GIM_CONTACT *) &((gim_array< GIM_CONTACT > const *)arg1)->back();
*(GIM_CONTACT **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1swap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT arg3 ;
GUINT *argp2 ;
GUINT *argp3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
argp3 = *(GUINT **)&jarg3;
if (!argp3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg3 = *argp3;
(arg1)->swap(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1push_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
arg2 = *(GIM_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return ;
}
(arg1)->push_back((GIM_CONTACT const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1push_1back_1mem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->push_back_mem();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1push_1back_1memcpy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
arg2 = *(GIM_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return ;
}
(arg1)->push_back_memcpy((GIM_CONTACT const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1pop_1back(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->pop_back();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1pop_1back_1mem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->pop_back_mem();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1erase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->erase(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1erase_1sorted_1mem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->erase_sorted_mem(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1erase_1sorted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->erase_sorted(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1insert_1mem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->insert_mem(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1insert(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GIM_CONTACT *arg2 = 0 ;
GUINT arg3 ;
GUINT *argp3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
arg2 = *(GIM_CONTACT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return ;
}
argp3 = *(GUINT **)&jarg3;
if (!argp3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg3 = *argp3;
(arg1)->insert((GIM_CONTACT const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1resize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jboolean jarg3, jlong jarg4, jobject jarg4_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
bool arg3 ;
GIM_CONTACT *arg4 = 0 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
arg3 = jarg3 ? true : false;
arg4 = *(GIM_CONTACT **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_CONTACT const & reference is null");
return ;
}
(arg1)->resize(arg2,arg3,(GIM_CONTACT const &)*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1resize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jboolean jarg3) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
bool arg3 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
arg3 = jarg3 ? true : false;
(arg1)->resize(arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1resize_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
GUINT arg2 ;
GUINT *argp2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
argp2 = *(GUINT **)&jarg2;
if (!argp2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg2 = *argp2;
(arg1)->resize(arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1internal_1refit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
gim_array< GIM_CONTACT > *arg1 = (gim_array< GIM_CONTACT > *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_array< GIM_CONTACT > **)&jarg1;
(arg1)->refit();
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1gim_1contact_1array(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
gim_contact_array *result = 0 ;
(void)jenv;
(void)jcls;
result = (gim_contact_array *)new gim_contact_array();
*(gim_contact_array **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1push_1contact(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jlong jarg5, jlong jarg6) {
gim_contact_array *arg1 = (gim_contact_array *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
GREAL arg4 ;
GUINT arg5 ;
GUINT arg6 ;
GREAL *argp4 ;
GUINT *argp5 ;
GUINT *argp6 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(gim_contact_array **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
argp4 = *(GREAL **)&jarg4;
if (!argp4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GREAL");
return ;
}
arg4 = *argp4;
argp5 = *(GUINT **)&jarg5;
if (!argp5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg5 = *argp5;
argp6 = *(GUINT **)&jarg6;
if (!argp6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg6 = *argp6;
(arg1)->push_contact((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4,arg5,arg6);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1push_1triangle_1contacts(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jlong jarg4) {
gim_contact_array *arg1 = (gim_contact_array *) 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg2 = 0 ;
GUINT arg3 ;
GUINT arg4 ;
GUINT *argp3 ;
GUINT *argp4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_contact_array **)&jarg1;
arg2 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT_DATA const & reference is null");
return ;
}
argp3 = *(GUINT **)&jarg3;
if (!argp3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg3 = *argp3;
argp4 = *(GUINT **)&jarg4;
if (!argp4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return ;
}
arg4 = *argp4;
(arg1)->push_triangle_contacts((GIM_TRIANGLE_CONTACT_DATA const &)*arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1merge_1contacts_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
gim_contact_array *arg1 = (gim_contact_array *) 0 ;
gim_contact_array *arg2 = 0 ;
bool arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_contact_array **)&jarg1;
arg2 = *(gim_contact_array **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gim_contact_array const & reference is null");
return ;
}
arg3 = jarg3 ? true : false;
(arg1)->merge_contacts((gim_contact_array const &)*arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1merge_1contacts_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
gim_contact_array *arg1 = (gim_contact_array *) 0 ;
gim_contact_array *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_contact_array **)&jarg1;
arg2 = *(gim_contact_array **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gim_contact_array const & reference is null");
return ;
}
(arg1)->merge_contacts((gim_contact_array const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1merge_1contacts_1unique(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
gim_contact_array *arg1 = (gim_contact_array *) 0 ;
gim_contact_array *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(gim_contact_array **)&jarg1;
arg2 = *(gim_contact_array **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gim_contact_array const & reference is null");
return ;
}
(arg1)->merge_contacts_unique((gim_contact_array const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1gim_1contact_1array(JNIEnv *jenv, jclass jcls, jlong jarg1) {
gim_contact_array *arg1 = (gim_contact_array *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(gim_contact_array **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1HASH_1NODE_1GET_1KEY(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_HASH_NODE_GET_KEY *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_HASH_NODE_GET_KEY *)new GIM_HASH_NODE_GET_KEY();
*(GIM_HASH_NODE_GET_KEY **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1HASH_1NODE_1GET_1KEY(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_HASH_NODE_GET_KEY *arg1 = (GIM_HASH_NODE_GET_KEY *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_HASH_NODE_GET_KEY **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1HASH_1NODE_1CMP_1KEY_1MACRO(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_HASH_NODE_CMP_KEY_MACRO *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_HASH_NODE_CMP_KEY_MACRO *)new GIM_HASH_NODE_CMP_KEY_MACRO();
*(GIM_HASH_NODE_CMP_KEY_MACRO **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1HASH_1NODE_1CMP_1KEY_1MACRO(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_HASH_NODE_CMP_KEY_MACRO *arg1 = (GIM_HASH_NODE_CMP_KEY_MACRO *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_HASH_NODE_CMP_KEY_MACRO **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1HASH_1NODE_1CMP_1MACRO(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_HASH_NODE_CMP_MACRO *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_HASH_NODE_CMP_MACRO *)new GIM_HASH_NODE_CMP_MACRO();
*(GIM_HASH_NODE_CMP_MACRO **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1HASH_1NODE_1CMP_1MACRO(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_HASH_NODE_CMP_MACRO *arg1 = (GIM_HASH_NODE_CMP_MACRO *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_HASH_NODE_CMP_MACRO **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1prime_1list_1get(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GUINT *result = 0 ;
(void)jenv;
(void)jcls;
result = (GUINT *)(GUINT *)gim_prime_list;
*(GUINT **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1next_1prime(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong jresult = 0 ;
GUINT arg1 ;
GUINT *argp1 ;
GUINT result;
(void)jenv;
(void)jcls;
argp1 = *(GUINT **)&jarg1;
if (!argp1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null GUINT");
return 0;
}
arg1 = *argp1;
result = gim_next_prime(arg1);
*(GUINT **)&jresult = new GUINT((const GUINT &)result);
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1inv_1sqrt(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
jfloat jresult = 0 ;
btScalar arg1 ;
btScalar result;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
result = (btScalar)gim_inv_sqrt(arg1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1sqrt(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
jfloat jresult = 0 ;
btScalar arg1 ;
btScalar result;
(void)jenv;
(void)jcls;
arg1 = (btScalar)jarg1;
result = (btScalar)gim_sqrt(arg1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1less_1comparator(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
less_comparator *result = 0 ;
(void)jenv;
(void)jcls;
result = (less_comparator *)new less_comparator();
*(less_comparator **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1less_1comparator(JNIEnv *jenv, jclass jcls, jlong jarg1) {
less_comparator *arg1 = (less_comparator *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(less_comparator **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1integer_1comparator(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
integer_comparator *result = 0 ;
(void)jenv;
(void)jcls;
result = (integer_comparator *)new integer_comparator();
*(integer_comparator **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1integer_1comparator(JNIEnv *jenv, jclass jcls, jlong jarg1) {
integer_comparator *arg1 = (integer_comparator *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(integer_comparator **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1uint_1key_1func(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
uint_key_func *result = 0 ;
(void)jenv;
(void)jcls;
result = (uint_key_func *)new uint_key_func();
*(uint_key_func **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1uint_1key_1func(JNIEnv *jenv, jclass jcls, jlong jarg1) {
uint_key_func *arg1 = (uint_key_func *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(uint_key_func **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1copy_1elements_1func(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
copy_elements_func *result = 0 ;
(void)jenv;
(void)jcls;
result = (copy_elements_func *)new copy_elements_func();
*(copy_elements_func **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1copy_1elements_1func(JNIEnv *jenv, jclass jcls, jlong jarg1) {
copy_elements_func *arg1 = (copy_elements_func *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(copy_elements_func **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1memcopy_1elements_1func(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
memcopy_elements_func *result = 0 ;
(void)jenv;
(void)jcls;
result = (memcopy_elements_func *)new memcopy_elements_func();
*(memcopy_elements_func **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1memcopy_1elements_1func(JNIEnv *jenv, jclass jcls, jlong jarg1) {
memcopy_elements_func *arg1 = (memcopy_elements_func *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(memcopy_elements_func **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1key_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_key = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1key_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
result = (unsigned int) ((arg1)->m_key);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1value_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_value = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1value_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
result = (unsigned int) ((arg1)->m_value);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1RSORT_1TOKEN_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_RSORT_TOKEN *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_RSORT_TOKEN *)new GIM_RSORT_TOKEN();
*(GIM_RSORT_TOKEN **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1RSORT_1TOKEN_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_RSORT_TOKEN *arg1 = 0 ;
GIM_RSORT_TOKEN *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_RSORT_TOKEN const & reference is null");
return 0;
}
result = (GIM_RSORT_TOKEN *)new GIM_RSORT_TOKEN((GIM_RSORT_TOKEN const &)*arg1);
*(GIM_RSORT_TOKEN **)&jresult = result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1operatorLessThan(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
GIM_RSORT_TOKEN *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
arg2 = *(GIM_RSORT_TOKEN **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_RSORT_TOKEN const & reference is null");
return 0;
}
result = (bool)((GIM_RSORT_TOKEN const *)arg1)->operator <((GIM_RSORT_TOKEN const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1operatorGreaterThan(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
GIM_RSORT_TOKEN *arg2 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
arg2 = *(GIM_RSORT_TOKEN **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_RSORT_TOKEN const & reference is null");
return 0;
}
result = (bool)((GIM_RSORT_TOKEN const *)arg1)->operator >((GIM_RSORT_TOKEN const &)*arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1RSORT_1TOKEN(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
delete arg1;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1RSORT_1TOKEN_1COMPARATOR_1operatorFunctionCall(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jint jresult = 0 ;
GIM_RSORT_TOKEN_COMPARATOR *arg1 = (GIM_RSORT_TOKEN_COMPARATOR *) 0 ;
GIM_RSORT_TOKEN *arg2 = 0 ;
GIM_RSORT_TOKEN *arg3 = 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(GIM_RSORT_TOKEN_COMPARATOR **)&jarg1;
arg2 = *(GIM_RSORT_TOKEN **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_RSORT_TOKEN const & reference is null");
return 0;
}
arg3 = *(GIM_RSORT_TOKEN **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_RSORT_TOKEN const & reference is null");
return 0;
}
result = (int)(arg1)->operator ()((GIM_RSORT_TOKEN const &)*arg2,(GIM_RSORT_TOKEN const &)*arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1RSORT_1TOKEN_1COMPARATOR(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_RSORT_TOKEN_COMPARATOR *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_RSORT_TOKEN_COMPARATOR *)new GIM_RSORT_TOKEN_COMPARATOR();
*(GIM_RSORT_TOKEN_COMPARATOR **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1RSORT_1TOKEN_1COMPARATOR(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_RSORT_TOKEN_COMPARATOR *arg1 = (GIM_RSORT_TOKEN_COMPARATOR *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_RSORT_TOKEN_COMPARATOR **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1radix_1sort_1rtokens(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
GIM_RSORT_TOKEN *arg1 = (GIM_RSORT_TOKEN *) 0 ;
GIM_RSORT_TOKEN *arg2 = (GIM_RSORT_TOKEN *) 0 ;
unsigned int arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_RSORT_TOKEN **)&jarg1;
arg2 = *(GIM_RSORT_TOKEN **)&jarg2;
arg3 = (unsigned int)jarg3;
gim_radix_sort_rtokens(arg1,arg2,arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1penetration_1depth_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_penetration_depth = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1penetration_1depth_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
result = (btScalar) ((arg1)->m_penetration_depth);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1point_1count_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
unsigned int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->m_point_count = arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1point_1count_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
unsigned int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
result = (unsigned int) ((arg1)->m_point_count);
jresult = (jlong)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1separating_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btVector4 *arg2 = (btVector4 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (arg1) (arg1)->m_separating_normal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1separating_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btVector4 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
result = (btVector4 *)& ((arg1)->m_separating_normal);
*(btVector4 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1points_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_points;
for (ii = 0; ii < (size_t)16; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1points_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_points);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1copy_1from(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
arg2 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT_DATA const & reference is null");
return ;
}
(arg1)->copy_from((GIM_TRIANGLE_CONTACT_DATA const &)*arg2);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1TRIANGLE_1CONTACT_1DATA_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT_DATA *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_TRIANGLE_CONTACT_DATA *)new GIM_TRIANGLE_CONTACT_DATA();
*(GIM_TRIANGLE_CONTACT_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1TRIANGLE_1CONTACT_1DATA_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg1 = 0 ;
GIM_TRIANGLE_CONTACT_DATA *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT_DATA const & reference is null");
return 0;
}
result = (GIM_TRIANGLE_CONTACT_DATA *)new GIM_TRIANGLE_CONTACT_DATA((GIM_TRIANGLE_CONTACT_DATA const &)*arg1);
*(GIM_TRIANGLE_CONTACT_DATA **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1CONTACT_1DATA_1merge_1points(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jlong jarg4, jobject jarg4_, jlong jarg5) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
btVector4 *arg2 = 0 ;
btScalar arg3 ;
btVector3 *arg4 = (btVector3 *) 0 ;
unsigned int arg5 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg4_;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 const & reference is null");
return ;
}
arg3 = (btScalar)jarg3;
arg4 = *(btVector3 **)&jarg4;
arg5 = (unsigned int)jarg5;
(arg1)->merge_points((btVector4 const &)*arg2,arg3,(btVector3 const *)arg4,arg5);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1TRIANGLE_1CONTACT_1DATA(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_TRIANGLE_CONTACT_DATA *arg1 = (GIM_TRIANGLE_CONTACT_DATA *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1margin_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_margin = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1margin_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
result = (btScalar) ((arg1)->m_margin);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1vertices_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->m_vertices;
for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1vertices_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->m_vertices);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1GIM_1TRIANGLE(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
GIM_TRIANGLE *result = 0 ;
(void)jenv;
(void)jcls;
result = (GIM_TRIANGLE *)new GIM_TRIANGLE();
*(GIM_TRIANGLE **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1get_1box(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
GIM_AABB result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
result = ((GIM_TRIANGLE const *)arg1)->get_box();
*(GIM_AABB **)&jresult = new GIM_AABB((const GIM_AABB &)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1get_1normal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
((GIM_TRIANGLE const *)arg1)->get_normal(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1get_1plane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector4 *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
arg2 = *(btVector4 **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
((GIM_TRIANGLE const *)arg1)->get_plane(*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1apply_1transform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
(arg1)->apply_transform((btTransform const &)*arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1get_1edge_1plane(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
unsigned int arg2 ;
btVector3 *arg3 = 0 ;
btVector4 *arg4 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg4_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
arg2 = (unsigned int)jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btVector4 **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVector4 & reference is null");
return ;
}
((GIM_TRIANGLE const *)arg1)->get_edge_plane(arg2,(btVector3 const &)*arg3,*arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1get_1triangle_1transform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btTransform *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
((GIM_TRIANGLE const *)arg1)->get_triangle_transform(*arg2);
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1collide_1triangle_1hard_1test(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
GIM_TRIANGLE *arg2 = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
arg2 = *(GIM_TRIANGLE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE const & reference is null");
return 0;
}
arg3 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT_DATA & reference is null");
return 0;
}
result = (bool)((GIM_TRIANGLE const *)arg1)->collide_triangle_hard_test((GIM_TRIANGLE const &)*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1collide_1triangle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
GIM_TRIANGLE *arg2 = 0 ;
GIM_TRIANGLE_CONTACT_DATA *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
arg2 = *(GIM_TRIANGLE **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE const & reference is null");
return 0;
}
arg3 = *(GIM_TRIANGLE_CONTACT_DATA **)&jarg3;
if (!arg3) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GIM_TRIANGLE_CONTACT_DATA & reference is null");
return 0;
}
result = (bool)((GIM_TRIANGLE const *)arg1)->collide_triangle((GIM_TRIANGLE const &)*arg2,*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1get_1uv_1parameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jlong jarg5) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btScalar *arg4 = 0 ;
btScalar *arg5 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
arg4 = *(btScalar **)&jarg4;
if (!arg4) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
arg5 = *(btScalar **)&jarg5;
if (!arg5) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
result = (bool)((GIM_TRIANGLE const *)arg1)->get_uv_parameters((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1is_1point_1inside(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (bool)((GIM_TRIANGLE const *)arg1)->is_point_inside((btVector3 const &)*arg2,(btVector3 const &)*arg3);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1ray_1collision_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jfloat jarg7) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar *arg6 = 0 ;
btScalar arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btScalar **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
arg7 = (btScalar)jarg7;
result = (bool)(arg1)->ray_collision((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,*arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1ray_1collision_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btScalar **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
result = (bool)(arg1)->ray_collision((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1ray_1collision_1front_1side_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6, jfloat jarg7) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar *arg6 = 0 ;
btScalar arg7 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btScalar **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
arg7 = (btScalar)jarg7;
result = (bool)(arg1)->ray_collision_front_side((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,*arg6,arg7);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1TRIANGLE_1ray_1collision_1front_1side_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jlong jarg6) {
jboolean jresult = 0 ;
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
btVector3 *arg2 = 0 ;
btVector3 *arg3 = 0 ;
btVector3 *arg4 = 0 ;
btVector3 *arg5 = 0 ;
btScalar *arg6 = 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(GIM_TRIANGLE **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
btVector3 local_arg4;
gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4);
arg4 = &local_arg4;
gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4);
btVector3 local_arg5;
gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5);
arg5 = &local_arg5;
gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5);
arg6 = *(btScalar **)&jarg6;
if (!arg6) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null");
return 0;
}
result = (bool)(arg1)->ray_collision_front_side((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4,*arg5,*arg6);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1GIM_1TRIANGLE(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GIM_TRIANGLE *arg1 = (GIM_TRIANGLE *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(GIM_TRIANGLE **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btCollisionWorldImporter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorld *arg1 = (btCollisionWorld *) 0 ;
btCollisionWorldImporter *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorld **)&jarg1;
result = (btCollisionWorldImporter *)new btCollisionWorldImporter(arg1);
*(btCollisionWorldImporter **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btCollisionWorldImporter(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btCollisionWorldImporter **)&jarg1;
delete arg1;
}
SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1convertAllObjects(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btBulletSerializedArrays *arg2 = (btBulletSerializedArrays *) 0 ;
bool result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btBulletSerializedArrays **)&jarg2;
result = (bool)(arg1)->convertAllObjects(arg2);
jresult = (jboolean)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1deleteAllData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
(arg1)->deleteAllData();
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1setVerboseMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (int)jarg2;
(arg1)->setVerboseMode(arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getVerboseMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (int)((btCollisionWorldImporter const *)arg1)->getVerboseMode();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getNumCollisionShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (int)((btCollisionWorldImporter const *)arg1)->getNumCollisionShapes();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getCollisionShapeByIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int arg2 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionShape *)(arg1)->getCollisionShapeByIndex(arg2);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getNumRigidBodies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (int)((btCollisionWorldImporter const *)arg1)->getNumRigidBodies();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getRigidBodyByIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int arg2 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (int)jarg2;
result = (btCollisionObject *)((btCollisionWorldImporter const *)arg1)->getRigidBodyByIndex(arg2);
*(btCollisionObject **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getNumBvhs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (int)((btCollisionWorldImporter const *)arg1)->getNumBvhs();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getBvhByIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int arg2 ;
btOptimizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (int)jarg2;
result = (btOptimizedBvh *)((btCollisionWorldImporter const *)arg1)->getBvhByIndex(arg2);
*(btOptimizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getNumTriangleInfoMaps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (int)((btCollisionWorldImporter const *)arg1)->getNumTriangleInfoMaps();
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getTriangleInfoMapByIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
int arg2 ;
btTriangleInfoMap *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (int)jarg2;
result = (btTriangleInfoMap *)((btCollisionWorldImporter const *)arg1)->getTriangleInfoMapByIndex(arg2);
*(btTriangleInfoMap **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getCollisionShapeByName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
char *arg2 = (char *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return 0;
}
result = (btCollisionShape *)(arg1)->getCollisionShapeByName((char const *)arg2);
*(btCollisionShape **)&jresult = result;
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getCollisionObjectByName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
char *arg2 = (char *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return 0;
}
result = (btCollisionObject *)(arg1)->getCollisionObjectByName((char const *)arg2);
*(btCollisionObject **)&jresult = result;
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1getNameForPointer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
jstring jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
void *arg2 = (void *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (void *)jarg2;
result = (char *)((btCollisionWorldImporter const *)arg1)->getNameForPointer((void const *)arg2);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCollisionObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jstring jarg4) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btTransform *arg2 = 0 ;
btCollisionShape *arg3 = (btCollisionShape *) 0 ;
char *arg4 = (char *) 0 ;
btCollisionObject *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
btTransform local_arg2;
gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = *(btCollisionShape **)&jarg3;
arg4 = 0;
if (jarg4) {
arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
if (!arg4) return 0;
}
result = (btCollisionObject *)(arg1)->createCollisionObject((btTransform const &)*arg2,arg3,(char const *)arg4);
*(btCollisionObject **)&jresult = result;
if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createPlaneShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btVector3 *arg2 = 0 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createPlaneShape((btVector3 const &)*arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createBoxShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btVector3 *arg2 = 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
btVector3 local_arg2;
gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2);
arg2 = &local_arg2;
gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2);
result = (btCollisionShape *)(arg1)->createBoxShape((btVector3 const &)*arg2);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createSphereShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
result = (btCollisionShape *)(arg1)->createSphereShape(arg2);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCapsuleShapeX(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createCapsuleShapeX(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCapsuleShapeY(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createCapsuleShapeY(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCapsuleShapeZ(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createCapsuleShapeZ(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCylinderShapeX(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createCylinderShapeX(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCylinderShapeY(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createCylinderShapeY(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCylinderShapeZ(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createCylinderShapeZ(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createConeShapeX(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createConeShapeX(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createConeShapeY(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createConeShapeY(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createConeShapeZ(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btScalar arg2 ;
btScalar arg3 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = (btScalar)jarg2;
arg3 = (btScalar)jarg3;
result = (btCollisionShape *)(arg1)->createConeShapeZ(arg2,arg3);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createTriangleMeshContainer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btTriangleIndexVertexArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (btTriangleIndexVertexArray *)(arg1)->createTriangleMeshContainer();
*(btTriangleIndexVertexArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createBvhTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
btOptimizedBvh *arg3 = (btOptimizedBvh *) 0 ;
btBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
arg3 = *(btOptimizedBvh **)&jarg3;
result = (btBvhTriangleMeshShape *)(arg1)->createBvhTriangleMeshShape(arg2,arg3);
*(btBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createConvexTriangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btStridingMeshInterface *arg2 = (btStridingMeshInterface *) 0 ;
btCollisionShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btStridingMeshInterface **)&jarg2;
result = (btCollisionShape *)(arg1)->createConvexTriangleMeshShape(arg2);
*(btCollisionShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createStridingMeshInterfaceData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btStridingMeshInterfaceData *arg2 = (btStridingMeshInterfaceData *) 0 ;
btStridingMeshInterfaceData *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btStridingMeshInterfaceData **)&jarg2;
result = (btStridingMeshInterfaceData *)(arg1)->createStridingMeshInterfaceData(arg2);
*(btStridingMeshInterfaceData **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createConvexHullShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btConvexHullShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (btConvexHullShape *)(arg1)->createConvexHullShape();
*(btConvexHullShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createCompoundShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btCompoundShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (btCompoundShape *)(arg1)->createCompoundShape();
*(btCompoundShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createScaledTrangleMeshShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btBvhTriangleMeshShape *arg2 = (btBvhTriangleMeshShape *) 0 ;
btVector3 *arg3 = 0 ;
btScaledBvhTriangleMeshShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btBvhTriangleMeshShape **)&jarg2;
btVector3 local_arg3;
gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3);
arg3 = &local_arg3;
gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3);
result = (btScaledBvhTriangleMeshShape *)(arg1)->createScaledTrangleMeshShape(arg2,(btVector3 const &)*arg3);
*(btScaledBvhTriangleMeshShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createMultiSphereShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jint jarg4) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btScalar *arg3 = (btScalar *) 0 ;
int arg4 ;
btMultiSphereShape *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
arg3 = (btScalar*)jenv->GetDirectBufferAddress(jarg3);
if (arg3 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg4 = (int)jarg4;
result = (btMultiSphereShape *)(arg1)->createMultiSphereShape((btVector3 const *)arg2,(btScalar const *)arg3,arg4);
*(btMultiSphereShape **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createMeshInterface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btStridingMeshInterfaceData *arg2 = 0 ;
btTriangleIndexVertexArray *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
arg2 = *(btStridingMeshInterfaceData **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btStridingMeshInterfaceData & reference is null");
return 0;
}
result = (btTriangleIndexVertexArray *)(arg1)->createMeshInterface(*arg2);
*(btTriangleIndexVertexArray **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createOptimizedBvh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btOptimizedBvh *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (btOptimizedBvh *)(arg1)->createOptimizedBvh();
*(btOptimizedBvh **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionWorldImporter_1createTriangleInfoMap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btCollisionWorldImporter *arg1 = (btCollisionWorldImporter *) 0 ;
btTriangleInfoMap *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btCollisionWorldImporter **)&jarg1;
result = (btTriangleInfoMap *)(arg1)->createTriangleInfoMap();
*(btTriangleInfoMap **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1firstDir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_firstDir = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1firstDir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
result = (btVector3 *)& ((arg1)->m_firstDir);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1maxGjkIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_maxGjkIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1maxGjkIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
result = (int) ((arg1)->m_maxGjkIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1maximumDistanceSquared_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maximumDistanceSquared = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1maximumDistanceSquared_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
result = (btScalar) ((arg1)->m_maximumDistanceSquared);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1gjkRelError2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_gjkRelError2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkCollisionDescription_1gjkRelError2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkCollisionDescription **)&jarg1;
result = (btScalar) ((arg1)->m_gjkRelError2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkCollisionDescription(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGjkCollisionDescription *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGjkCollisionDescription *)new btGjkCollisionDescription();
*(btGjkCollisionDescription **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkCollisionDescription(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkCollisionDescription *arg1 = (btGjkCollisionDescription *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkCollisionDescription **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1status_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
enum btGjkEpaSolver3::sResults::eStatus arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
arg2 = (enum btGjkEpaSolver3::sResults::eStatus)jarg2;
if (arg1) (arg1)->status = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1status_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
enum btGjkEpaSolver3::sResults::eStatus result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
result = (enum btGjkEpaSolver3::sResults::eStatus) ((arg1)->status);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1witnesses_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
btVector3 *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
{
size_t ii;
btVector3 *b = (btVector3 *) arg1->witnesses;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((btVector3 *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1witnesses_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
result = (btVector3 *)(btVector3 *) ((arg1)->witnesses);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1normal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->normal = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1normal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
result = (btVector3 *)& ((arg1)->normal);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1distance_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->distance = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaSolver3_1sResults_1distance_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
result = (btScalar) ((arg1)->distance);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkEpaSolver3_1sResults(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGjkEpaSolver3::sResults *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGjkEpaSolver3::sResults *)new btGjkEpaSolver3::sResults();
*(btGjkEpaSolver3::sResults **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkEpaSolver3_1sResults(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkEpaSolver3::sResults *arg1 = (btGjkEpaSolver3::sResults *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkEpaSolver3::sResults **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btGjkEpaSolver3(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btGjkEpaSolver3 *result = 0 ;
(void)jenv;
(void)jcls;
result = (btGjkEpaSolver3 *)new btGjkEpaSolver3();
*(btGjkEpaSolver3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btGjkEpaSolver3(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btGjkEpaSolver3 *arg1 = (btGjkEpaSolver3 *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btGjkEpaSolver3 **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1firstDir_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprCollisionDescription **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_firstDir = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1firstDir_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
result = (btVector3 *)& ((arg1)->m_firstDir);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1maxGjkIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->m_maxGjkIterations = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1maxGjkIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
result = (int) ((arg1)->m_maxGjkIterations);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1maximumDistanceSquared_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_maximumDistanceSquared = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1maximumDistanceSquared_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
result = (btScalar) ((arg1)->m_maximumDistanceSquared);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1gjkRelError2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_gjkRelError2 = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprCollisionDescription_1gjkRelError2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprCollisionDescription **)&jarg1;
result = (btScalar) ((arg1)->m_gjkRelError2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMprCollisionDescription(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMprCollisionDescription *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMprCollisionDescription *)new btMprCollisionDescription();
*(btMprCollisionDescription **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMprCollisionDescription(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMprCollisionDescription *arg1 = (btMprCollisionDescription *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMprCollisionDescription **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1pointOnA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprDistanceInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_pointOnA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1pointOnA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprDistanceInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_pointOnA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1pointOnB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprDistanceInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_pointOnB = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1pointOnB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprDistanceInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_pointOnB);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1normalBtoA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprDistanceInfo **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->m_normalBtoA = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1normalBtoA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprDistanceInfo **)&jarg1;
result = (btVector3 *)& ((arg1)->m_normalBtoA);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1distance_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btScalar arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprDistanceInfo **)&jarg1;
arg2 = (btScalar)jarg2;
if (arg1) (arg1)->m_distance = arg2;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprDistanceInfo_1distance_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
btScalar result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprDistanceInfo **)&jarg1;
result = (btScalar) ((arg1)->m_distance);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1btMprDistanceInfo(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
btMprDistanceInfo *result = 0 ;
(void)jenv;
(void)jcls;
result = (btMprDistanceInfo *)new btMprDistanceInfo();
*(btMprDistanceInfo **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1btMprDistanceInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
btMprDistanceInfo *arg1 = (btMprDistanceInfo *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(btMprDistanceInfo **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSupport_1t_1v_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(_btMprSupport_t **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->v = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSupport_1t_1v_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(_btMprSupport_t **)&jarg1;
result = (btVector3 *)& ((arg1)->v);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSupport_1t_1v1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(_btMprSupport_t **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->v1 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSupport_1t_1v1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(_btMprSupport_t **)&jarg1;
result = (btVector3 *)& ((arg1)->v1);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSupport_1t_1v2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(_btMprSupport_t **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
if (arg1) (arg1)->v2 = *arg2;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSupport_1t_1v2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
btVector3 *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(_btMprSupport_t **)&jarg1;
result = (btVector3 *)& ((arg1)->v2);
*(btVector3 **)&jresult = result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1_1btMprSupport_1t(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
_btMprSupport_t *result = 0 ;
(void)jenv;
(void)jcls;
result = (_btMprSupport_t *)new _btMprSupport_t();
*(_btMprSupport_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1_1btMprSupport_1t(JNIEnv *jenv, jclass jcls, jlong jarg1) {
_btMprSupport_t *arg1 = (_btMprSupport_t *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(_btMprSupport_t **)&jarg1;
delete arg1;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSimplex_1t_1ps_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
_btMprSimplex_t *arg1 = (_btMprSimplex_t *) 0 ;
btMprSupport_t *arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(_btMprSimplex_t **)&jarg1;
arg2 = *(btMprSupport_t **)&jarg2;
{
size_t ii;
btMprSupport_t *b = (btMprSupport_t *) arg1->ps;
for (ii = 0; ii < (size_t)4; ii++) b[ii] = *((btMprSupport_t *) arg2 + ii);
}
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSimplex_1t_1ps_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
_btMprSimplex_t *arg1 = (_btMprSimplex_t *) 0 ;
btMprSupport_t *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(_btMprSimplex_t **)&jarg1;
result = (btMprSupport_t *)(btMprSupport_t *) ((arg1)->ps);
*(btMprSupport_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSimplex_1t_1last_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
_btMprSimplex_t *arg1 = (_btMprSimplex_t *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(_btMprSimplex_t **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->last = arg2;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprSimplex_1t_1last_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
_btMprSimplex_t *arg1 = (_btMprSimplex_t *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(_btMprSimplex_t **)&jarg1;
result = (int) ((arg1)->last);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_new_1_1btMprSimplex_1t(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
_btMprSimplex_t *result = 0 ;
(void)jenv;
(void)jcls;
result = (_btMprSimplex_t *)new _btMprSimplex_t();
*(_btMprSimplex_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_delete_1_1btMprSimplex_1t(JNIEnv *jenv, jclass jcls, jlong jarg1) {
_btMprSimplex_t *arg1 = (_btMprSimplex_t *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(_btMprSimplex_t **)&jarg1;
delete arg1;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSimplexPointW(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
int arg2 ;
btMprSupport_t *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = (int)jarg2;
result = (btMprSupport_t *)btMprSimplexPointW(arg1,arg2);
*(btMprSupport_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSimplexSetSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
int arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = (int)jarg2;
btMprSimplexSetSize(arg1,arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSimplexSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jint jresult = 0 ;
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprSimplex_t **)&jarg1;
result = (int)btMprSimplexSize((_btMprSimplex_t const *)arg1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSimplexPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jlong jresult = 0 ;
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
int arg2 ;
btMprSupport_t *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = (int)jarg2;
result = (btMprSupport_t *)btMprSimplexPoint((_btMprSimplex_t const *)arg1,arg2);
*(btMprSupport_t **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSupportCopy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprSupport_t *arg1 = (btMprSupport_t *) 0 ;
btMprSupport_t *arg2 = (btMprSupport_t *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprSupport_t **)&jarg1;
arg2 = *(btMprSupport_t **)&jarg2;
btMprSupportCopy(arg1,(_btMprSupport_t const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSimplexSet(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
size_t arg2 ;
btMprSupport_t *arg3 = (btMprSupport_t *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = *(btMprSupport_t **)&jarg3;
btMprSimplexSet(arg1,arg2,(_btMprSupport_t const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprSimplexSwap(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
size_t arg2 ;
size_t arg3 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = (size_t)jarg2;
arg3 = (size_t)jarg3;
btMprSimplexSwap(arg1,arg2,arg3);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprIsZero(JNIEnv *jenv, jclass jcls, jfloat jarg1) {
jint jresult = 0 ;
float arg1 ;
int result;
(void)jenv;
(void)jcls;
arg1 = (float)jarg1;
result = (int)btMprIsZero(arg1);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprEq(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) {
jint jresult = 0 ;
float arg1 ;
float arg2 ;
int result;
(void)jenv;
(void)jcls;
arg1 = (float)jarg1;
arg2 = (float)jarg2;
result = (int)btMprEq(arg1,arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Eq(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
result = (int)btMprVec3Eq((btVector3 const *)arg1,(btVector3 const *)arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) {
btVector3 *arg1 = (btVector3 *) 0 ;
float arg2 ;
float arg3 ;
float arg4 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
arg2 = (float)jarg2;
arg3 = (float)jarg3;
arg4 = (float)jarg4;
btMprVec3Set(arg1,arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
btMprVec3Add(arg1,(btVector3 const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Copy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
btMprVec3Copy(arg1,(btVector3 const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Scale(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) {
btVector3 *arg1 = (btVector3 *) 0 ;
float arg2 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
arg2 = (float)jarg2;
btMprVec3Scale(arg1,arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Dot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
result = (float)btMprVec3Dot((btVector3 const *)arg1,(btVector3 const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Len2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jfloat jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
result = (float)btMprVec3Len2((btVector3 const *)arg1);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Normalize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
btVector3 *arg1 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(btVector3 **)&jarg1;
btMprVec3Normalize(arg1);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Cross(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
btMprVec3Cross(arg1,(btVector3 const *)arg2,(btVector3 const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Sub2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
btMprVec3Sub2(arg1,(btVector3 const *)arg2,(btVector3 const *)arg3);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPortalDir(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
btPortalDir((_btMprSimplex_t const *)arg1,arg2);
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_portalEncapsulesOrigin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jint jresult = 0 ;
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
result = (int)portalEncapsulesOrigin((_btMprSimplex_t const *)arg1,(btVector3 const *)arg2);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_portalReachTolerance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jint jresult = 0 ;
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
btMprSupport_t *arg2 = (btMprSupport_t *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = *(btMprSupport_t **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
result = (int)portalReachTolerance((_btMprSimplex_t const *)arg1,(_btMprSupport_t const *)arg2,(btVector3 const *)arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_portalCanEncapsuleOrigin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
jint jresult = 0 ;
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
btMprSupport_t *arg2 = (btMprSupport_t *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
int result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = *(btMprSupport_t **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
result = (int)portalCanEncapsuleOrigin((_btMprSimplex_t const *)arg1,(_btMprSupport_t const *)arg2,(btVector3 const *)arg3);
jresult = (jint)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btExpandPortal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
btMprSupport_t *arg2 = (btMprSupport_t *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = *(btMprSupport_t **)&jarg2;
btExpandPortal(arg1,(_btMprSupport_t const *)arg2);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFindPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btMprSimplex_t **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
btFindPos((_btMprSimplex_t const *)arg1,arg2);
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3Dist2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jfloat jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
result = (float)btMprVec3Dist2((btVector3 const *)arg1,(btVector3 const *)arg2);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI__1btMprVec3PointSegmentDist2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jfloat jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
btVector3 *arg4 = (btVector3 *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
arg4 = *(btVector3 **)&jarg4;
result = (float)_btMprVec3PointSegmentDist2((btVector3 const *)arg1,(btVector3 const *)arg2,(btVector3 const *)arg3,arg4);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMprVec3PointTriDist2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
jfloat jresult = 0 ;
btVector3 *arg1 = (btVector3 *) 0 ;
btVector3 *arg2 = (btVector3 *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
btVector3 *arg4 = (btVector3 *) 0 ;
btVector3 *arg5 = (btVector3 *) 0 ;
float result;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
(void)jarg3_;
(void)jarg4_;
(void)jarg5_;
arg1 = *(btVector3 **)&jarg1;
arg2 = *(btVector3 **)&jarg2;
arg3 = *(btVector3 **)&jarg3;
arg4 = *(btVector3 **)&jarg4;
arg5 = *(btVector3 **)&jarg5;
result = (float)btMprVec3PointTriDist2((btVector3 const *)arg1,(btVector3 const *)arg2,(btVector3 const *)arg3,(btVector3 const *)arg4,arg5);
jresult = (jfloat)result;
return jresult;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFindPenetrTouch(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
float *arg2 = (float *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
btVector3 *arg4 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMprSimplex_t **)&jarg1;
{
arg2 = (float*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = *(btVector3 **)&jarg3;
arg4 = *(btVector3 **)&jarg4;
btFindPenetrTouch(arg1,arg2,arg3,arg4);
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btFindPenetrSegment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
btMprSimplex_t *arg1 = (btMprSimplex_t *) 0 ;
float *arg2 = (float *) 0 ;
btVector3 *arg3 = (btVector3 *) 0 ;
btVector3 *arg4 = (btVector3 *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg3_;
(void)jarg4_;
arg1 = *(btMprSimplex_t **)&jarg1;
{
arg2 = (float*)jenv->GetDirectBufferAddress(jarg2);
if (arg2 == NULL) {
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Unable to get address of direct buffer. Buffer must be allocated direct.");
}
}
arg3 = *(btVector3 **)&jarg3;
arg4 = *(btVector3 **)&jarg4;
btFindPenetrSegment(arg1,arg2,arg3,arg4);
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStorageResult_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteCollisionDetectorInterface::Result **)&baseptr = *(btStorageResult **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBroadphaseRayCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseAabbCallback **)&baseptr = *(btBroadphaseRayCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphaseProxy_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseProxy **)&baseptr = *(btSimpleBroadphaseProxy **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSimpleBroadphase_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseInterface **)&baseptr = *(btSimpleBroadphase **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1Handle_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseProxy **)&baseptr = *(btAxisSweep3Internal< unsigned short >::Handle **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalShort_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseInterface **)&baseptr = *(btAxisSweep3Internal< unsigned short > **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1Handle_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseProxy **)&baseptr = *(btAxisSweep3Internal< unsigned int >::Handle **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3InternalInt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseInterface **)&baseptr = *(btAxisSweep3Internal< unsigned int > **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btAxisSweep3_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAxisSweep3Internal< unsigned short > **)&baseptr = *(btAxisSweep3 **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_bt32BitAxisSweep3_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAxisSweep3Internal< unsigned int > **)&baseptr = *(bt32BitAxisSweep3 **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOverlappingPairCache_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btOverlappingPairCallback **)&baseptr = *(btOverlappingPairCache **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHashedOverlappingPairCache_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btOverlappingPairCache **)&baseptr = *(btHashedOverlappingPairCache **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSortedOverlappingPairCache_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btOverlappingPairCache **)&baseptr = *(btSortedOverlappingPairCache **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btNullPairCache_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btOverlappingPairCache **)&baseptr = *(btNullPairCache **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionShape **)&baseptr = *(btConvexShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexShape **)&baseptr = *(btConvexInternalShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexInternalAabbCachingShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btConvexInternalAabbCachingShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btPolyhedralConvexShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPolyhedralConvexAabbCachingShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexShape **)&baseptr = *(btPolyhedralConvexAabbCachingShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConcaveShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionShape **)&baseptr = *(btConcaveShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleInfoMap_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btHashMap< btHashInt,btTriangleInfo > **)&baseptr = *(btTriangleInfoMap **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btStaticPlaneShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConcaveShape **)&baseptr = *(btStaticPlaneShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btHeightfieldTerrainShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConcaveShape **)&baseptr = *(btHeightfieldTerrainShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMeshShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConcaveShape **)&baseptr = *(btTriangleMeshShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBvhTriangleMeshShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleMeshShape **)&baseptr = *(btBvhTriangleMeshShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexShape **)&baseptr = *(btBoxShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btCapsuleShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeX_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCapsuleShape **)&baseptr = *(btCapsuleShapeX **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCapsuleShapeZ_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCapsuleShape **)&baseptr = *(btCapsuleShapeZ **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexShape **)&baseptr = *(btBox2dShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexShape **)&baseptr = *(btTriangleShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btSphereShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiSumShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btMinkowskiSumShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btOptimizedBvh_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btQuantizedBvh **)&baseptr = *(btOptimizedBvh **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleBuffer_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleCallback **)&baseptr = *(btTriangleBuffer **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexArray_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btStridingMeshInterface **)&baseptr = *(btTriangleIndexVertexArray **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btScaledBvhTriangleMeshShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConcaveShape **)&baseptr = *(btScaledBvhTriangleMeshShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexHullShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexAabbCachingShape **)&baseptr = *(btConvexHullShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleIndexVertexMaterialArray_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleIndexVertexArray **)&baseptr = *(btTriangleIndexVertexMaterialArray **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btCylinderShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeX_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCylinderShape **)&baseptr = *(btCylinderShapeX **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCylinderShapeZ_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCylinderShape **)&baseptr = *(btCylinderShapeZ **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleMesh_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleIndexVertexArray **)&baseptr = *(btTriangleMesh **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalShape **)&baseptr = *(btConeShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeX_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConeShape **)&baseptr = *(btConeShapeX **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConeShapeZ_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConeShape **)&baseptr = *(btConeShapeZ **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleMeshShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexAabbCachingShape **)&baseptr = *(btConvexTriangleMeshShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConcaveShape **)&baseptr = *(btEmptyShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultimaterialTriangleMeshShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBvhTriangleMeshShape **)&baseptr = *(btMultimaterialTriangleMeshShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBU_1Simplex1to4_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexAabbCachingShape **)&baseptr = *(btBU_Simplex1to4 **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btUniformScalingShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexShape **)&baseptr = *(btUniformScalingShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPointCloudShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPolyhedralConvexAabbCachingShape **)&baseptr = *(btConvexPointCloudShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexShape **)&baseptr = *(btConvex2dShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtProxy_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseProxy **)&baseptr = *(btDbvtProxy **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDbvtBroadphase_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBroadphaseInterface **)&baseptr = *(btDbvtBroadphase **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionShape **)&baseptr = *(btCompoundShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btEmptyAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btEmptyAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithm **)&baseptr = *(btEmptyAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btActivatingCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithm **)&baseptr = *(btActivatingCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexTriangleCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleCallback **)&baseptr = *(btConvexTriangleCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btConvexConcaveCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1SwappedCreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btConvexConcaveCollisionAlgorithm::SwappedCreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConcaveCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btConvexConcaveCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btConvexPlaneCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexPlaneCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithm **)&baseptr = *(btConvexPlaneCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btCompoundCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCollisionAlgorithm_1SwappedCreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btCompoundCollisionAlgorithm::SwappedCreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btCompoundCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCompoundCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btCompoundCompoundCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCompoundCollisionAlgorithm_1SwappedCreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundCompoundCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCompoundCollisionAlgorithm **)&baseptr = *(btCompoundCompoundCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btDefaultCollisionConfiguration_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionConfiguration **)&baseptr = *(btDefaultCollisionConfiguration **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btManifoldResult_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteCollisionDetectorInterface::Result **)&baseptr = *(btManifoldResult **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereSphereCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btSphereSphereCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereSphereCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btSphereSphereCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btBoxBoxCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btBoxBoxCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dBox2dCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btBox2dBox2dCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBox2dBox2dCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btBox2dBox2dCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereTriangleCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btSphereTriangleCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereTriangleCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btSphereTriangleCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostObject_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionObject **)&baseptr = *(btGhostObject **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairCachingGhostObject_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGhostObject **)&baseptr = *(btPairCachingGhostObject **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGhostPairCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btOverlappingPairCallback **)&baseptr = *(btGhostPairCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestRayResultCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld::RayResultCallback **)&baseptr = *(btCollisionWorld::ClosestRayResultCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_AllHitsRayResultCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld::RayResultCallback **)&baseptr = *(btCollisionWorld::AllHitsRayResultCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestConvexResultCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld::ConvexResultCallback **)&baseptr = *(btCollisionWorld::ClosestConvexResultCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeConvexResultCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld::ClosestConvexResultCallback **)&baseptr = *(ClosestNotMeConvexResultCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_ClosestNotMeRayResultCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionWorld::ClosestRayResultCallback **)&baseptr = *(ClosestNotMeRayResultCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btConvex2dConvex2dAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvex2dConvex2dAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btConvex2dConvex2dAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btBoxBoxDetector_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteCollisionDetectorInterface **)&baseptr = *(btBoxBoxDetector **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereBoxCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btSphereBoxCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSphereBoxCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btSphereBoxCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcher_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDispatcher **)&baseptr = *(btCollisionDispatcher **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCollisionDispatcherMt_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionDispatcher **)&baseptr = *(btCollisionDispatcherMt **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btConvexConvexAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btConvexConvexAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btConvexConvexAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_SphereTriangleDetector_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteCollisionDetectorInterface **)&baseptr = *(SphereTriangleDetector **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btSubsimplexConvexCast_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexCast **)&baseptr = *(btSubsimplexConvexCast **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPersistentManifold_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTypedObject **)&baseptr = *(btPersistentManifold **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkPairDetector_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteCollisionDetectorInterface **)&baseptr = *(btGjkPairDetector **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMinkowskiPenetrationDepthSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexPenetrationDepthSolver **)&baseptr = *(btMinkowskiPenetrationDepthSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkConvexCast_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexCast **)&baseptr = *(btGjkConvexCast **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContinuousConvexCollision_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexCast **)&baseptr = *(btContinuousConvexCollision **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleRaycastCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleCallback **)&baseptr = *(btTriangleRaycastCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleConvexcastCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleCallback **)&baseptr = *(btTriangleConvexcastCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGjkEpaPenetrationDepthSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexPenetrationDepthSolver **)&baseptr = *(btGjkEpaPenetrationDepthSolver **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPointCollector_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btDiscreteCollisionDetectorInterface::Result **)&baseptr = *(btPointCollector **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btMultiSphereShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConvexInternalAabbCachingShape **)&baseptr = *(btMultiSphereShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_CustomCollisionDispatcher_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionDispatcher **)&baseptr = *(CustomCollisionDispatcher **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTriangleShapeEx_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleShape **)&baseptr = *(btTriangleShapeEx **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btPairSet_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAlignedObjectArray< GIM_PAIR > **)&baseptr = *(btPairSet **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1DATA_1ARRAY_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAlignedObjectArray< GIM_BVH_DATA > **)&baseptr = *(GIM_BVH_DATA_ARRAY **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1BVH_1TREE_1NODE_1ARRAY_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAlignedObjectArray< GIM_BVH_TREE_NODE > **)&baseptr = *(GIM_BVH_TREE_NODE_ARRAY **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_GIM_1QUANTIZED_1BVH_1NODE_1ARRAY_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAlignedObjectArray< BT_QUANTIZED_BVH_NODE > **)&baseptr = *(GIM_QUANTIZED_BVH_NODE_ARRAY **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btTetrahedronShapeEx_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btBU_Simplex1to4 **)&baseptr = *(btTetrahedronShapeEx **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactShapeInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btConcaveShape **)&baseptr = *(btGImpactShapeInterface **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1CompoundPrimitiveManager_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPrimitiveManagerBase **)&baseptr = *(btGImpactCompoundShape::CompoundPrimitiveManager **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCompoundShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGImpactShapeInterface **)&baseptr = *(btGImpactCompoundShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1TrimeshPrimitiveManager_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btPrimitiveManagerBase **)&baseptr = *(btGImpactMeshShapePart::TrimeshPrimitiveManager **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShapePart_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGImpactShapeInterface **)&baseptr = *(btGImpactMeshShapePart **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactMeshShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btGImpactShapeInterface **)&baseptr = *(btGImpactMeshShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btContactArray_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btAlignedObjectArray< GIM_CONTACT > **)&baseptr = *(btContactArray **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btCompoundFromGimpactShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCompoundShape **)&baseptr = *(btCompoundFromGimpactShape **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btTriangleRaycastCallback **)&baseptr = *(MyCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_MyInternalTriangleIndexCallback_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btInternalTriangleIndexCallback **)&baseptr = *(MyInternalTriangleIndexCallback **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1CreateFunc_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btCollisionAlgorithmCreateFunc **)&baseptr = *(btGImpactCollisionAlgorithm::CreateFunc **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_btGImpactCollisionAlgorithm_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(btActivatingCollisionAlgorithm **)&baseptr = *(btGImpactCollisionAlgorithm **)&jarg1;
return baseptr;
}
SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_gim_1contact_1array_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;
*(gim_array< GIM_CONTACT > **)&baseptr = *(gim_contact_array **)&jarg1;
return baseptr;
}
SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_collision_CollisionJNI_swig_1module_1init(JNIEnv *jenv, jclass jcls) {
int i;
static struct {
const char *method;
const char *signature;
} methods[68] = {
{
"SwigDirector_btBroadphaseAabbCallback_process", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseAabbCallback;J)Z"
},
{
"SwigDirector_btBroadphaseRayCallback_process", "(Lcom/badlogic/gdx/physics/bullet/collision/btBroadphaseRayCallback;J)Z"
},
{
"SwigDirector_btNodeOverlapCallback_processNode", "(Lcom/badlogic/gdx/physics/bullet/collision/btNodeOverlapCallback;II)V"
},
{
"SwigDirector_btOverlapCallback_processOverlap", "(Lcom/badlogic/gdx/physics/bullet/collision/btOverlapCallback;Lcom/badlogic/gdx/physics/bullet/collision/btBroadphasePair;)Z"
},
{
"SwigDirector_btOverlapFilterCallback_needBroadphaseCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/btOverlapFilterCallback;JJ)Z"
},
{
"SwigDirector_btTriangleCallback_processTriangle", "(Lcom/badlogic/gdx/physics/bullet/collision/btTriangleCallback;JII)V"
},
{
"SwigDirector_btInternalTriangleIndexCallback_internalProcessTriangleIndex", "(Lcom/badlogic/gdx/physics/bullet/collision/btInternalTriangleIndexCallback;JII)V"
},
{
"SwigDirector_ICollide_Process__SWIG_0", "(Lcom/badlogic/gdx/physics/bullet/collision/ICollide;JJ)V"
},
{
"SwigDirector_ICollide_Process__SWIG_1", "(Lcom/badlogic/gdx/physics/bullet/collision/ICollide;J)V"
},
{
"SwigDirector_ICollide_Process__SWIG_2", "(Lcom/badlogic/gdx/physics/bullet/collision/ICollide;JF)V"
},
{
"SwigDirector_ICollide_Descent", "(Lcom/badlogic/gdx/physics/bullet/collision/ICollide;J)Z"
},
{
"SwigDirector_ICollide_AllLeaves", "(Lcom/badlogic/gdx/physics/bullet/collision/ICollide;J)Z"
},
{
"SwigDirector_btConvexTriangleCallback_processTriangle", "(Lcom/badlogic/gdx/physics/bullet/collision/btConvexTriangleCallback;JII)V"
},
{
"SwigDirector_btGhostPairCallback_removeOverlappingPair", "(Lcom/badlogic/gdx/physics/bullet/collision/btGhostPairCallback;JJJ)J"
},
{
"SwigDirector_btGhostPairCallback_removeOverlappingPairsContainingProxy", "(Lcom/badlogic/gdx/physics/bullet/collision/btGhostPairCallback;JJ)V"
},
{
"SwigDirector_RayResultCallback_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/RayResultCallback;J)Z"
},
{
"SwigDirector_RayResultCallback_addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/RayResultCallback;JZ)F"
},
{
"SwigDirector_ClosestRayResultCallback_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/ClosestRayResultCallback;J)Z"
},
{
"SwigDirector_ClosestRayResultCallback_addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/ClosestRayResultCallback;JZ)F"
},
{
"SwigDirector_AllHitsRayResultCallback_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/AllHitsRayResultCallback;J)Z"
},
{
"SwigDirector_AllHitsRayResultCallback_addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/AllHitsRayResultCallback;JZ)F"
},
{
"SwigDirector_ConvexResultCallback_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/ConvexResultCallback;J)Z"
},
{
"SwigDirector_ConvexResultCallback_addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/ConvexResultCallback;JZ)F"
},
{
"SwigDirector_ClosestConvexResultCallback_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/ClosestConvexResultCallback;J)Z"
},
{
"SwigDirector_ClosestConvexResultCallback_addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/ClosestConvexResultCallback;JZ)F"
},
{
"SwigDirector_ContactResultCallback_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactResultCallback;J)Z"
},
{
"SwigDirector_ContactResultCallback_addSingleResult", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactResultCallback;JJIIJII)F"
},
{
"SwigDirector_btTriangleRaycastCallback_processTriangle", "(Lcom/badlogic/gdx/physics/bullet/collision/btTriangleRaycastCallback;JII)V"
},
{
"SwigDirector_btTriangleRaycastCallback_reportHit", "(Lcom/badlogic/gdx/physics/bullet/collision/btTriangleRaycastCallback;Lcom/badlogic/gdx/math/Vector3;FII)F"
},
{
"SwigDirector_btTriangleConvexcastCallback_processTriangle", "(Lcom/badlogic/gdx/physics/bullet/collision/btTriangleConvexcastCallback;JII)V"
},
{
"SwigDirector_btTriangleConvexcastCallback_reportHit", "(Lcom/badlogic/gdx/physics/bullet/collision/btTriangleConvexcastCallback;Lcom/badlogic/gdx/math/Vector3;Lcom/badlogic/gdx/math/Vector3;FII)F"
},
{
"SwigDirector_CustomCollisionDispatcher_needsCollision", "(Lcom/badlogic/gdx/physics/bullet/collision/CustomCollisionDispatcher;JJ)Z"
},
{
"SwigDirector_CustomCollisionDispatcher_needsResponse", "(Lcom/badlogic/gdx/physics/bullet/collision/CustomCollisionDispatcher;JJ)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_0", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJIIJII)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_1", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJIIJII)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_2", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIIIIII)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_3", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJIIZJIIZ)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_4", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJIIZJIIZ)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_5", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIIIZIIIZ)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_6", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIIJII)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_7", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIIJII)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_8", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;IIIIII)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_9", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIIZJIIZ)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_10", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIIZJIIZ)Z"
},
{
"SwigDirector_ContactListener_onContactAdded__SWIG_11", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;IIIZIIIZ)Z"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_0", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJJ)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_1", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JII)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_2", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJZJZ)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_3", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JIZIZ)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_4", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJ)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_5", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;II)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_6", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JZJZ)V"
},
{
"SwigDirector_ContactListener_onContactProcessed__SWIG_7", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;IZIZ)V"
},
{
"SwigDirector_ContactListener_onContactDestroyed", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;I)V"
},
{
"SwigDirector_ContactListener_onContactStarted__SWIG_0", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;J)V"
},
{
"SwigDirector_ContactListener_onContactStarted__SWIG_1", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJ)V"
},
{
"SwigDirector_ContactListener_onContactStarted__SWIG_2", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;II)V"
},
{
"SwigDirector_ContactListener_onContactStarted__SWIG_3", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JZZ)V"
},
{
"SwigDirector_ContactListener_onContactStarted__SWIG_4", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JZJZ)V"
},
{
"SwigDirector_ContactListener_onContactStarted__SWIG_5", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;IZIZ)V"
},
{
"SwigDirector_ContactListener_onContactEnded__SWIG_0", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;J)V"
},
{
"SwigDirector_ContactListener_onContactEnded__SWIG_1", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JJ)V"
},
{
"SwigDirector_ContactListener_onContactEnded__SWIG_2", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;II)V"
},
{
"SwigDirector_ContactListener_onContactEnded__SWIG_3", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JZZ)V"
},
{
"SwigDirector_ContactListener_onContactEnded__SWIG_4", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;JZJZ)V"
},
{
"SwigDirector_ContactListener_onContactEnded__SWIG_5", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactListener;IZIZ)V"
},
{
"SwigDirector_ContactCache_onContactStarted", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactCache;JZZ)V"
},
{
"SwigDirector_ContactCache_onContactEnded", "(Lcom/badlogic/gdx/physics/bullet/collision/ContactCache;JZJZ)V"
}
};
Swig::jclass_CollisionJNI = (jclass) jenv->NewGlobalRef(jcls);
if (!Swig::jclass_CollisionJNI) return;
for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
Swig::director_method_ids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
if (!Swig::director_method_ids[i]) return;
}
}
#ifdef __cplusplus
}
#endif
bool custom_ContactListener_setEvents(ContactListener *listener) {
SwigDirector_ContactListener *dir = (SwigDirector_ContactListener *)listener;
int cnt = 0;
for (int i = 0; i < 12; i++)
if (dir->swig_overrides(i))
cnt++;
if (cnt > 1)
return false;
cnt = 0;
for (int i = 12; i < 20; i++)
if (dir->swig_overrides(i))
cnt++;
if (cnt > 1)
return false;
cnt = 0;
for (int i = 21; i < 27; i++)
if (dir->swig_overrides(i))
cnt++;
if (cnt > 1)
return false;
cnt = 0;
for (int i = 27; i < 33; i++)
if (dir->swig_overrides(i))
cnt++;
if (cnt > 1)
return false;
int events = 0;
if (dir->swig_overrides(0))
events |= ON_ADDED_UNFILTERED_WRAPPER_INCLUDEPOINT;
else if (dir->swig_overrides(1))
events |= ON_ADDED_UNFILTERED_OBJECT_INCLUDEPOINT;
else if (dir->swig_overrides(2))
events |= ON_ADDED_UNFILTERED_VALUE_INCLUDEPOINT;
else if (dir->swig_overrides(3))
events |= ON_ADDED_FILTERED_WRAPPER_INCLUDEPOINT;
else if (dir->swig_overrides(4))
events |= ON_ADDED_FILTERED_OBJECT_INCLUDEPOINT;
else if (dir->swig_overrides(5))
events |= ON_ADDED_FILTERED_VALUE_INCLUDEPOINT;
else if (dir->swig_overrides(6))
events |= ON_ADDED_UNFILTERED_WRAPPER;
else if (dir->swig_overrides(7))
events |= ON_ADDED_UNFILTERED_OBJECT;
else if (dir->swig_overrides(8))
events |= ON_ADDED_UNFILTERED_VALUE;
else if (dir->swig_overrides(9))
events |= ON_ADDED_FILTERED_WRAPPER;
else if (dir->swig_overrides(10))
events |= ON_ADDED_FILTERED_OBJECT;
else if (dir->swig_overrides(11))
events |= ON_ADDED_FILTERED_VALUE;
if (dir->swig_overrides(12))
events |= ON_PROCESSED_UNFILTERED_OBJECT_INCLUDEPOINT;
else if (dir->swig_overrides(13))
events |= ON_PROCESSED_UNFILTERED_VALUE_INCLUDEPOINT;
else if (dir->swig_overrides(14))
events |= ON_PROCESSED_FILTERED_OBJECT_INCLUDEPOINT;
else if (dir->swig_overrides(15))
events |= ON_PROCESSED_FILTERED_VALUE_INCLUDEPOINT;
else if (dir->swig_overrides(16))
events |= ON_PROCESSED_UNFILTERED_OBJECT;
else if (dir->swig_overrides(17))
events |= ON_PROCESSED_UNFILTERED_VALUE;
else if (dir->swig_overrides(18))
events |= ON_PROCESSED_FILTERED_OBJECT;
else if (dir->swig_overrides(19))
events |= ON_PROCESSED_FILTERED_VALUE;
if (dir->swig_overrides(20))
events |= ON_DESTROYED;
if (dir->swig_overrides(21))
events |= ON_STARTED_UNFILTERED_MANIFOLD;
else if (dir->swig_overrides(22))
events |= ON_STARTED_UNFILTERED_OBJECT;
else if (dir->swig_overrides(23))
events |= ON_STARTED_UNFILTERED_VALUE;
else if (dir->swig_overrides(24))
events |= ON_STARTED_FILTERED_MANIFOLD;
else if (dir->swig_overrides(25))
events |= ON_STARTED_FILTERED_OBJECT;
else if (dir->swig_overrides(26))
events |= ON_STARTED_FILTERED_VALUE;
if (dir->swig_overrides(27))
events |= ON_ENDED_UNFILTERED_MANIFOLD;
else if (dir->swig_overrides(28))
events |= ON_ENDED_UNFILTERED_OBJECT;
else if (dir->swig_overrides(29))
events |= ON_ENDED_UNFILTERED_VALUE;
else if (dir->swig_overrides(30))
events |= ON_ENDED_FILTERED_MANIFOLD;
else if (dir->swig_overrides(31))
events |= ON_ENDED_FILTERED_OBJECT;
else if (dir->swig_overrides(32))
events |= ON_ENDED_FILTERED_VALUE;
listener->setEvents(events);
return true;
}