1 /* ---------------------------------------------------------------------------- 2 * This file was automatically generated by SWIG (http://www.swig.org). 3 * Version 3.0.8 4 * 5 * This file is not intended to be easily readable and contains a number of 6 * coding conventions designed to improve portability and efficiency. Do not make 7 * changes to this file unless you know what you are doing--modify the SWIG 8 * interface file instead. 9 * ----------------------------------------------------------------------------- */ 10 11 12 #ifndef SWIGJAVA 13 #define SWIGJAVA 14 #endif 15 16 #define SWIG_DIRECTORS 17 18 19 #ifdef __cplusplus 20 /* SwigValueWrapper is described in swig.swg */ 21 template<typename T> class SwigValueWrapper { 22 struct SwigMovePointer { 23 T *ptr; 24 SwigMovePointer(T *p) : ptr(p) { } 25 ~SwigMovePointer() { delete ptr; } 26 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } 27 } pointer; 28 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); 29 SwigValueWrapper(const SwigValueWrapper<T>& rhs); 30 public: 31 SwigValueWrapper() : pointer(0) { } 32 SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } 33 operator T&() const { return *pointer.ptr; } 34 T *operator&() { return pointer.ptr; } 35 }; 36 37 template <typename T> T SwigValueInit() { 38 return T(); 39 } 40 #endif 41 42 /* ----------------------------------------------------------------------------- 43 * This section contains generic SWIG labels for method/variable 44 * declarations/attributes, and other compiler dependent labels. 45 * ----------------------------------------------------------------------------- */ 46 47 /* template workaround for compilers that cannot correctly implement the C++ standard */ 48 #ifndef SWIGTEMPLATEDISAMBIGUATOR 49 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) 50 # define SWIGTEMPLATEDISAMBIGUATOR template 51 # elif defined(__HP_aCC) 52 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ 53 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ 54 # define SWIGTEMPLATEDISAMBIGUATOR template 55 # else 56 # define SWIGTEMPLATEDISAMBIGUATOR 57 # endif 58 #endif 59 60 /* inline attribute */ 61 #ifndef SWIGINLINE 62 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 63 # define SWIGINLINE inline 64 # else 65 # define SWIGINLINE 66 # endif 67 #endif 68 69 /* attribute recognised by some compilers to avoid 'unused' warnings */ 70 #ifndef SWIGUNUSED 71 # if defined(__GNUC__) 72 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) 73 # define SWIGUNUSED __attribute__ ((__unused__)) 74 # else 75 # define SWIGUNUSED 76 # endif 77 # elif defined(__ICC) 78 # define SWIGUNUSED __attribute__ ((__unused__)) 79 # else 80 # define SWIGUNUSED 81 # endif 82 #endif 83 84 #ifndef SWIG_MSC_UNSUPPRESS_4505 85 # if defined(_MSC_VER) 86 # pragma warning(disable : 4505) /* unreferenced local function has been removed */ 87 # endif 88 #endif 89 90 #ifndef SWIGUNUSEDPARM 91 # ifdef __cplusplus 92 # define SWIGUNUSEDPARM(p) 93 # else 94 # define SWIGUNUSEDPARM(p) p SWIGUNUSED 95 # endif 96 #endif 97 98 /* internal SWIG method */ 99 #ifndef SWIGINTERN 100 # define SWIGINTERN static SWIGUNUSED 101 #endif 102 103 /* internal inline SWIG method */ 104 #ifndef SWIGINTERNINLINE 105 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 106 #endif 107 108 /* exporting methods */ 109 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 110 # ifndef GCC_HASCLASSVISIBILITY 111 # define GCC_HASCLASSVISIBILITY 112 # endif 113 #endif 114 115 #ifndef SWIGEXPORT 116 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 117 # if defined(STATIC_LINKED) 118 # define SWIGEXPORT 119 # else 120 # define SWIGEXPORT __declspec(dllexport) 121 # endif 122 # else 123 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) 124 # define SWIGEXPORT __attribute__ ((visibility("default"))) 125 # else 126 # define SWIGEXPORT 127 # endif 128 # endif 129 #endif 130 131 /* calling conventions for Windows */ 132 #ifndef SWIGSTDCALL 133 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 134 # define SWIGSTDCALL __stdcall 135 # else 136 # define SWIGSTDCALL 137 # endif 138 #endif 139 140 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ 141 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) 142 # define _CRT_SECURE_NO_DEPRECATE 143 #endif 144 145 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ 146 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) 147 # define _SCL_SECURE_NO_DEPRECATE 148 #endif 149 150 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ 151 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) 152 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 153 #endif 154 155 /* Intel's compiler complains if a variable which was never initialised is 156 * cast to void, which is a common idiom which we use to indicate that we 157 * are aware a variable isn't used. So we just silence that warning. 158 * See: https://github.com/swig/swig/issues/192 for more discussion. 159 */ 160 #ifdef __INTEL_COMPILER 161 # pragma warning disable 592 162 #endif 163 164 165 /* Fix for jlong on some versions of gcc on Windows */ 166 #if defined(__GNUC__) && !defined(__INTEL_COMPILER) 167 typedef long long __int64; 168 #endif 169 170 /* Fix for jlong on 64-bit x86 Solaris */ 171 #if defined(__x86_64) 172 # ifdef _LP64 173 # undef _LP64 174 # endif 175 #endif 176 177 #include <jni.h> 178 #include <stdlib.h> 179 #include <string.h> 180 181 182 /* Support for throwing Java exceptions */ 183 typedef enum { 184 SWIG_JavaOutOfMemoryError = 1, 185 SWIG_JavaIOException, 186 SWIG_JavaRuntimeException, 187 SWIG_JavaIndexOutOfBoundsException, 188 SWIG_JavaArithmeticException, 189 SWIG_JavaIllegalArgumentException, 190 SWIG_JavaNullPointerException, 191 SWIG_JavaDirectorPureVirtual, 192 SWIG_JavaUnknownError 193 } SWIG_JavaExceptionCodes; 194 195 typedef struct { 196 SWIG_JavaExceptionCodes code; 197 const char *java_exception; 198 } SWIG_JavaExceptions_t; 199 200 201 static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) { 202 jclass excep; 203 static const SWIG_JavaExceptions_t java_exceptions[] = { 204 { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" }, 205 { SWIG_JavaIOException, "java/io/IOException" }, 206 { SWIG_JavaRuntimeException, "java/lang/RuntimeException" }, 207 { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" }, 208 { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" }, 209 { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" }, 210 { SWIG_JavaNullPointerException, "java/lang/NullPointerException" }, 211 { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" }, 212 { SWIG_JavaUnknownError, "java/lang/UnknownError" }, 213 { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } 214 }; 215 const SWIG_JavaExceptions_t *except_ptr = java_exceptions; 216 217 while (except_ptr->code != code && except_ptr->code) 218 except_ptr++; 219 220 jenv->ExceptionClear(); 221 excep = jenv->FindClass(except_ptr->java_exception); 222 if (excep) 223 jenv->ThrowNew(excep, msg); 224 } 225 226 227 /* Contract support */ 228 229 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else 230 231 /* ----------------------------------------------------------------------------- 232 * director_common.swg 233 * 234 * This file contains support for director classes which is common between 235 * languages. 236 * ----------------------------------------------------------------------------- */ 237 238 /* 239 Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the 240 'Swig' namespace. This could be useful for multi-modules projects. 241 */ 242 #ifdef SWIG_DIRECTOR_STATIC 243 /* Force anonymous (static) namespace */ 244 #define Swig 245 #endif 246 /* ----------------------------------------------------------------------------- 247 * director.swg 248 * 249 * This file contains support for director classes so that Java proxy 250 * methods can be called from C++. 251 * ----------------------------------------------------------------------------- */ 252 253 #if defined(DEBUG_DIRECTOR_OWNED) || defined(DEBUG_DIRECTOR_EXCEPTION) 254 #include <iostream> 255 #endif 256 257 #include <exception> 258 259 namespace Swig { 260 261 /* Java object wrapper */ 262 class JObjectWrapper { 263 public: 264 JObjectWrapper() : jthis_(NULL), weak_global_(true) { 265 } 266 267 ~JObjectWrapper() { 268 jthis_ = NULL; 269 weak_global_ = true; 270 } 271 272 bool set(JNIEnv *jenv, jobject jobj, bool mem_own, bool weak_global) { 273 if (!jthis_) { 274 weak_global_ = !mem_own; // hold as weak global if explicitly requested or not owned 275 if (jobj) 276 jthis_ = weak_global_ ? jenv->NewWeakGlobalRef(jobj) : jenv->NewGlobalRef(jobj); 277 #if defined(DEBUG_DIRECTOR_OWNED) 278 std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> " << jthis_ << std::endl; 279 #endif 280 return true; 281 } else { 282 #if defined(DEBUG_DIRECTOR_OWNED) 283 std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> already set" << std::endl; 284 #endif 285 return false; 286 } 287 } 288 289 jobject get(JNIEnv *jenv) const { 290 #if defined(DEBUG_DIRECTOR_OWNED) 291 std::cout << "JObjectWrapper::get("; 292 if (jthis_) 293 std::cout << jthis_; 294 else 295 std::cout << "null"; 296 std::cout << ") -> return new local ref" << std::endl; 297 #endif 298 return (jthis_ ? jenv->NewLocalRef(jthis_) : jthis_); 299 } 300 301 void release(JNIEnv *jenv) { 302 #if defined(DEBUG_DIRECTOR_OWNED) 303 std::cout << "JObjectWrapper::release(" << jthis_ << "): " << (weak_global_ ? "weak global ref" : "global ref") << std::endl; 304 #endif 305 if (jthis_) { 306 if (weak_global_) { 307 if (jenv->IsSameObject(jthis_, NULL) == JNI_FALSE) 308 jenv->DeleteWeakGlobalRef((jweak)jthis_); 309 } else 310 jenv->DeleteGlobalRef(jthis_); 311 } 312 313 jthis_ = NULL; 314 weak_global_ = true; 315 } 316 317 /* Only call peek if you know what you are doing wrt to weak/global references */ 318 jobject peek() { 319 return jthis_; 320 } 321 322 /* Java proxy releases ownership of C++ object, C++ object is now 323 responsible for destruction (creates NewGlobalRef to pin Java proxy) */ 324 void java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) { 325 if (take_or_release) { /* Java takes ownership of C++ object's lifetime. */ 326 if (!weak_global_) { 327 jenv->DeleteGlobalRef(jthis_); 328 jthis_ = jenv->NewWeakGlobalRef(jself); 329 weak_global_ = true; 330 } 331 } else { 332 /* Java releases ownership of C++ object's lifetime */ 333 if (weak_global_) { 334 jenv->DeleteWeakGlobalRef((jweak)jthis_); 335 jthis_ = jenv->NewGlobalRef(jself); 336 weak_global_ = false; 337 } 338 } 339 } 340 341 private: 342 /* pointer to Java object */ 343 jobject jthis_; 344 /* Local or global reference flag */ 345 bool weak_global_; 346 }; 347 348 /* Local JNI reference deleter */ 349 class LocalRefGuard { 350 JNIEnv *jenv_; 351 jobject jobj_; 352 353 // non-copyable 354 LocalRefGuard(const LocalRefGuard &); 355 LocalRefGuard &operator=(const LocalRefGuard &); 356 public: 357 LocalRefGuard(JNIEnv *jenv, jobject jobj): jenv_(jenv), jobj_(jobj) {} 358 ~LocalRefGuard() { 359 if (jobj_) 360 jenv_->DeleteLocalRef(jobj_); 361 } 362 }; 363 364 /* director base class */ 365 class Director { 366 /* pointer to Java virtual machine */ 367 JavaVM *swig_jvm_; 368 369 protected: 370 #if defined (_MSC_VER) && (_MSC_VER<1300) 371 class JNIEnvWrapper; 372 friend class JNIEnvWrapper; 373 #endif 374 /* Utility class for managing the JNI environment */ 375 class JNIEnvWrapper { 376 const Director *director_; 377 JNIEnv *jenv_; 378 int env_status; 379 public: 380 JNIEnvWrapper(const Director *director) : director_(director), jenv_(0), env_status(0) { 381 #if defined(__ANDROID__) 382 JNIEnv **jenv = &jenv_; 383 #else 384 void **jenv = (void **)&jenv_; 385 #endif 386 env_status = director_->swig_jvm_->GetEnv((void **)&jenv_, JNI_VERSION_1_2); 387 #if defined(SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON) 388 // Attach a daemon thread to the JVM. Useful when the JVM should not wait for 389 // the thread to exit upon shutdown. Only for jdk-1.4 and later. 390 director_->swig_jvm_->AttachCurrentThreadAsDaemon(jenv, NULL); 391 #else 392 director_->swig_jvm_->AttachCurrentThread(jenv, NULL); 393 #endif 394 } 395 ~JNIEnvWrapper() { 396 #if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD) 397 // Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call. 398 // However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak. 399 if (env_status == JNI_EDETACHED) 400 director_->swig_jvm_->DetachCurrentThread(); 401 #endif 402 } 403 JNIEnv *getJNIEnv() const { 404 return jenv_; 405 } 406 }; 407 408 /* Java object wrapper */ 409 JObjectWrapper swig_self_; 410 411 /* Disconnect director from Java object */ 412 void swig_disconnect_director_self(const char *disconn_method) { 413 JNIEnvWrapper jnienv(this) ; 414 JNIEnv *jenv = jnienv.getJNIEnv() ; 415 jobject jobj = swig_self_.get(jenv); 416 LocalRefGuard ref_deleter(jenv, jobj); 417 #if defined(DEBUG_DIRECTOR_OWNED) 418 std::cout << "Swig::Director::disconnect_director_self(" << jobj << ")" << std::endl; 419 #endif 420 if (jobj && jenv->IsSameObject(jobj, NULL) == JNI_FALSE) { 421 jmethodID disconn_meth = jenv->GetMethodID(jenv->GetObjectClass(jobj), disconn_method, "()V"); 422 if (disconn_meth) { 423 #if defined(DEBUG_DIRECTOR_OWNED) 424 std::cout << "Swig::Director::disconnect_director_self upcall to " << disconn_method << std::endl; 425 #endif 426 jenv->CallVoidMethod(jobj, disconn_meth); 427 } 428 } 429 } 430 431 public: 432 Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() { 433 /* Acquire the Java VM pointer */ 434 jenv->GetJavaVM(&swig_jvm_); 435 } 436 437 virtual ~Director() { 438 JNIEnvWrapper jnienv(this) ; 439 JNIEnv *jenv = jnienv.getJNIEnv() ; 440 swig_self_.release(jenv); 441 } 442 443 bool swig_set_self(JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) { 444 return swig_self_.set(jenv, jself, mem_own, weak_global); 445 } 446 447 jobject swig_get_self(JNIEnv *jenv) const { 448 return swig_self_.get(jenv); 449 } 450 451 // Change C++ object's ownership, relative to Java 452 void swig_java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) { 453 swig_self_.java_change_ownership(jenv, jself, take_or_release); 454 } 455 }; 456 457 // Zero initialized bool array 458 template<size_t N> class BoolArray { 459 bool array_[N]; 460 public: 461 BoolArray() { 462 memset(array_, 0, sizeof(array_)); 463 } 464 bool& operator[](size_t n) { 465 return array_[n]; 466 } 467 bool operator[](size_t n) const { 468 return array_[n]; 469 } 470 }; 471 472 // Utility classes and functions for exception handling. 473 474 // Simple holder for a Java string during exception handling, providing access to a c-style string 475 class JavaString { 476 public: 477 JavaString(JNIEnv *jenv, jstring jstr) : jenv_(jenv), jstr_(jstr), cstr_(0) { 478 if (jenv_ && jstr_) 479 cstr_ = (const char *) jenv_->GetStringUTFChars(jstr_, NULL); 480 } 481 482 ~JavaString() { 483 if (jenv_ && jstr_ && cstr_) 484 jenv_->ReleaseStringUTFChars(jstr_, cstr_); 485 } 486 487 const char *c_str(const char *null_string = "null JavaString") const { 488 return cstr_ ? cstr_ : null_string; 489 } 490 491 private: 492 // non-copyable 493 JavaString(const JavaString &); 494 JavaString &operator=(const JavaString &); 495 496 JNIEnv *jenv_; 497 jstring jstr_; 498 const char *cstr_; 499 }; 500 501 // Helper class to extract the exception message from a Java throwable 502 class JavaExceptionMessage { 503 public: 504 JavaExceptionMessage(JNIEnv *jenv, jthrowable throwable) : message_(jenv, exceptionMessageFromThrowable(jenv, throwable)) { 505 } 506 507 const char *message() const { 508 return message_.c_str("Could not get exception message in JavaExceptionMessage"); 509 } 510 511 private: 512 // non-copyable 513 JavaExceptionMessage(const JavaExceptionMessage &); 514 JavaExceptionMessage &operator=(const JavaExceptionMessage &); 515 516 // Get exception message by calling Java method Throwable.getMessage() 517 static jstring exceptionMessageFromThrowable(JNIEnv *jenv, jthrowable throwable) { 518 jstring jmsg = NULL; 519 if (jenv && throwable) { 520 jenv->ExceptionClear(); // Cannot invoke methods with any pending exceptions 521 jclass throwclz = jenv->GetObjectClass(throwable); 522 if (throwclz) { 523 // All Throwable classes have a getMessage() method, so call it to extract the exception message 524 jmethodID getMessageMethodID = jenv->GetMethodID(throwclz, "getMessage", "()Ljava/lang/String;"); 525 if (getMessageMethodID) 526 jmsg = (jstring)jenv->CallObjectMethod(throwable, getMessageMethodID); 527 } 528 if (jmsg == NULL && jenv->ExceptionCheck()) 529 jenv->ExceptionClear(); 530 } 531 return jmsg; 532 } 533 534 JavaString message_; 535 }; 536 537 // C++ Exception class for handling Java exceptions thrown during a director method Java upcall 538 class DirectorException : public std::exception { 539 public: 540 541 // Construct exception from a Java throwable 542 DirectorException(JNIEnv *jenv, jthrowable throwable) : classname_(0), msg_(0) { 543 544 // Call Java method Object.getClass().getName() to obtain the throwable's class name (delimited by '/') 545 if (throwable) { 546 jclass throwclz = jenv->GetObjectClass(throwable); 547 if (throwclz) { 548 jclass clzclz = jenv->GetObjectClass(throwclz); 549 if (clzclz) { 550 jmethodID getNameMethodID = jenv->GetMethodID(clzclz, "getName", "()Ljava/lang/String;"); 551 if (getNameMethodID) { 552 jstring jstr_classname = (jstring)(jenv->CallObjectMethod(throwclz, getNameMethodID)); 553 // Copy strings, since there is no guarantee that jenv will be active when handled 554 if (jstr_classname) { 555 JavaString jsclassname(jenv, jstr_classname); 556 const char *classname = jsclassname.c_str(0); 557 if (classname) 558 classname_ = copypath(classname); 559 } 560 } 561 } 562 } 563 } 564 565 JavaExceptionMessage exceptionmsg(jenv, throwable); 566 msg_ = copystr(exceptionmsg.message()); 567 } 568 569 // More general constructor for handling as a java.lang.RuntimeException 570 DirectorException(const char *msg) : classname_(0), msg_(copystr(msg ? msg : "Unspecified DirectorException message")) { 571 } 572 573 ~DirectorException() throw() { 574 delete[] classname_; 575 delete[] msg_; 576 } 577 578 const char *what() const throw() { 579 return msg_; 580 } 581 582 // Reconstruct and raise/throw the Java Exception that caused the DirectorException 583 // Note that any error in the JNI exception handling results in a Java RuntimeException 584 void raiseJavaException(JNIEnv *jenv) const { 585 if (jenv) { 586 jenv->ExceptionClear(); 587 588 jmethodID ctorMethodID = 0; 589 jclass throwableclass = 0; 590 if (classname_) { 591 throwableclass = jenv->FindClass(classname_); 592 if (throwableclass) 593 ctorMethodID = jenv->GetMethodID(throwableclass, "<init>", "(Ljava/lang/String;)V"); 594 } 595 596 if (ctorMethodID) { 597 jenv->ThrowNew(throwableclass, what()); 598 } else { 599 SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, what()); 600 } 601 } 602 } 603 604 private: 605 static char *copypath(const char *srcmsg) { 606 char *target = copystr(srcmsg); 607 for (char *c=target; *c; ++c) { 608 if ('.' == *c) 609 *c = '/'; 610 } 611 return target; 612 } 613 614 static char *copystr(const char *srcmsg) { 615 char *target = 0; 616 if (srcmsg) { 617 size_t msglen = strlen(srcmsg) + 1; 618 target = new char[msglen]; 619 strncpy(target, srcmsg, msglen); 620 } 621 return target; 622 } 623 624 const char *classname_; 625 const char *msg_; 626 }; 627 628 // Helper method to determine if a Java throwable matches a particular Java class type 629 SWIGINTERN inline bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) { 630 bool matches = false; 631 632 if (throwable && jenv && classname) { 633 // Exceptions need to be cleared for correct behavior. 634 // The caller of ExceptionMatches should restore pending exceptions if desired - 635 // the caller already has the throwable. 636 jenv->ExceptionClear(); 637 638 jclass clz = jenv->FindClass(classname); 639 if (clz) { 640 jclass classclz = jenv->GetObjectClass(clz); 641 jmethodID isInstanceMethodID = jenv->GetMethodID(classclz, "isInstance", "(Ljava/lang/Object;)Z"); 642 if (isInstanceMethodID) { 643 matches = jenv->CallBooleanMethod(clz, isInstanceMethodID, throwable) != 0; 644 } 645 } 646 647 #if defined(DEBUG_DIRECTOR_EXCEPTION) 648 if (jenv->ExceptionCheck()) { 649 // Typically occurs when an invalid classname argument is passed resulting in a ClassNotFoundException 650 JavaExceptionMessage exc(jenv, jenv->ExceptionOccurred()); 651 std::cout << "Error: ExceptionMatches: class '" << classname << "' : " << exc.message() << std::endl; 652 } 653 #endif 654 } 655 return matches; 656 } 657 } 658 659 namespace Swig { 660 namespace { 661 jclass jclass_DynamicsJNI = NULL; 662 jmethodID director_method_ids[3]; 663 } 664 } 665 666 #if defined(SWIG_NOINCLUDE) || defined(SWIG_NOARRAYS) 667 668 669 static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input); 670 static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input); 671 static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz); 672 673 674 static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input); 675 static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input); 676 static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz); 677 678 679 static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input); 680 static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input); 681 static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz); 682 683 684 static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input); 685 static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input); 686 static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz); 687 688 689 static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input); 690 static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input); 691 static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz); 692 693 694 static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input); 695 static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input); 696 static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz); 697 698 699 static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input); 700 static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input); 701 static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz); 702 703 704 static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input); 705 static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input); 706 static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz); 707 708 709 static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input); 710 static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input); 711 static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz); 712 713 714 static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input); 715 static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input); 716 static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz); 717 718 719 static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input); 720 static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input); 721 static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz); 722 723 724 static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input); 725 static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input); 726 static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz); 727 728 729 #else 730 731 732 /* bool[] support */ 733 static int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input) { 734 int i; 735 jsize sz; 736 if (!input) { 737 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 738 return 0; 739 } 740 sz = jenv->GetArrayLength(input); 741 *jarr = jenv->GetBooleanArrayElements(input, 0); 742 if (!*jarr) 743 return 0; 744 *carr = new bool[sz]; 745 if (!*carr) { 746 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 747 return 0; 748 } 749 for (i=0; i<sz; i++) 750 (*carr)[i] = ((*jarr)[i] != 0); 751 return 1; 752 } 753 754 static void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input) { 755 int i; 756 jsize sz = jenv->GetArrayLength(input); 757 for (i=0; i<sz; i++) 758 jarr[i] = (jboolean)carr[i]; 759 jenv->ReleaseBooleanArrayElements(input, jarr, 0); 760 } 761 762 static jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz) { 763 jboolean *arr; 764 int i; 765 jbooleanArray jresult = jenv->NewBooleanArray(sz); 766 if (!jresult) 767 return NULL; 768 arr = jenv->GetBooleanArrayElements(jresult, 0); 769 if (!arr) 770 return NULL; 771 for (i=0; i<sz; i++) 772 arr[i] = (jboolean)result[i]; 773 jenv->ReleaseBooleanArrayElements(jresult, arr, 0); 774 return jresult; 775 } 776 777 778 /* signed char[] support */ 779 static int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input) { 780 int i; 781 jsize sz; 782 if (!input) { 783 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 784 return 0; 785 } 786 sz = jenv->GetArrayLength(input); 787 *jarr = jenv->GetByteArrayElements(input, 0); 788 if (!*jarr) 789 return 0; 790 *carr = new signed char[sz]; 791 if (!*carr) { 792 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 793 return 0; 794 } 795 for (i=0; i<sz; i++) 796 (*carr)[i] = (signed char)(*jarr)[i]; 797 return 1; 798 } 799 800 static void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input) { 801 int i; 802 jsize sz = jenv->GetArrayLength(input); 803 for (i=0; i<sz; i++) 804 jarr[i] = (jbyte)carr[i]; 805 jenv->ReleaseByteArrayElements(input, jarr, 0); 806 } 807 808 static jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz) { 809 jbyte *arr; 810 int i; 811 jbyteArray jresult = jenv->NewByteArray(sz); 812 if (!jresult) 813 return NULL; 814 arr = jenv->GetByteArrayElements(jresult, 0); 815 if (!arr) 816 return NULL; 817 for (i=0; i<sz; i++) 818 arr[i] = (jbyte)result[i]; 819 jenv->ReleaseByteArrayElements(jresult, arr, 0); 820 return jresult; 821 } 822 823 824 /* unsigned char[] support */ 825 static int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input) { 826 int i; 827 jsize sz; 828 if (!input) { 829 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 830 return 0; 831 } 832 sz = jenv->GetArrayLength(input); 833 *jarr = jenv->GetShortArrayElements(input, 0); 834 if (!*jarr) 835 return 0; 836 *carr = new unsigned char[sz]; 837 if (!*carr) { 838 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 839 return 0; 840 } 841 for (i=0; i<sz; i++) 842 (*carr)[i] = (unsigned char)(*jarr)[i]; 843 return 1; 844 } 845 846 static void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input) { 847 int i; 848 jsize sz = jenv->GetArrayLength(input); 849 for (i=0; i<sz; i++) 850 jarr[i] = (jshort)carr[i]; 851 jenv->ReleaseShortArrayElements(input, jarr, 0); 852 } 853 854 static jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz) { 855 jshort *arr; 856 int i; 857 jshortArray jresult = jenv->NewShortArray(sz); 858 if (!jresult) 859 return NULL; 860 arr = jenv->GetShortArrayElements(jresult, 0); 861 if (!arr) 862 return NULL; 863 for (i=0; i<sz; i++) 864 arr[i] = (jshort)result[i]; 865 jenv->ReleaseShortArrayElements(jresult, arr, 0); 866 return jresult; 867 } 868 869 870 /* short[] support */ 871 static int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input) { 872 int i; 873 jsize sz; 874 if (!input) { 875 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 876 return 0; 877 } 878 sz = jenv->GetArrayLength(input); 879 *jarr = jenv->GetShortArrayElements(input, 0); 880 if (!*jarr) 881 return 0; 882 *carr = new short[sz]; 883 if (!*carr) { 884 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 885 return 0; 886 } 887 for (i=0; i<sz; i++) 888 (*carr)[i] = (short)(*jarr)[i]; 889 return 1; 890 } 891 892 static void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input) { 893 int i; 894 jsize sz = jenv->GetArrayLength(input); 895 for (i=0; i<sz; i++) 896 jarr[i] = (jshort)carr[i]; 897 jenv->ReleaseShortArrayElements(input, jarr, 0); 898 } 899 900 static jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz) { 901 jshort *arr; 902 int i; 903 jshortArray jresult = jenv->NewShortArray(sz); 904 if (!jresult) 905 return NULL; 906 arr = jenv->GetShortArrayElements(jresult, 0); 907 if (!arr) 908 return NULL; 909 for (i=0; i<sz; i++) 910 arr[i] = (jshort)result[i]; 911 jenv->ReleaseShortArrayElements(jresult, arr, 0); 912 return jresult; 913 } 914 915 916 /* unsigned short[] support */ 917 static int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input) { 918 int i; 919 jsize sz; 920 if (!input) { 921 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 922 return 0; 923 } 924 sz = jenv->GetArrayLength(input); 925 *jarr = jenv->GetIntArrayElements(input, 0); 926 if (!*jarr) 927 return 0; 928 *carr = new unsigned short[sz]; 929 if (!*carr) { 930 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 931 return 0; 932 } 933 for (i=0; i<sz; i++) 934 (*carr)[i] = (unsigned short)(*jarr)[i]; 935 return 1; 936 } 937 938 static void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input) { 939 int i; 940 jsize sz = jenv->GetArrayLength(input); 941 for (i=0; i<sz; i++) 942 jarr[i] = (jint)carr[i]; 943 jenv->ReleaseIntArrayElements(input, jarr, 0); 944 } 945 946 static jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz) { 947 jint *arr; 948 int i; 949 jintArray jresult = jenv->NewIntArray(sz); 950 if (!jresult) 951 return NULL; 952 arr = jenv->GetIntArrayElements(jresult, 0); 953 if (!arr) 954 return NULL; 955 for (i=0; i<sz; i++) 956 arr[i] = (jint)result[i]; 957 jenv->ReleaseIntArrayElements(jresult, arr, 0); 958 return jresult; 959 } 960 961 962 /* int[] support */ 963 static int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input) { 964 int i; 965 jsize sz; 966 if (!input) { 967 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 968 return 0; 969 } 970 sz = jenv->GetArrayLength(input); 971 *jarr = jenv->GetIntArrayElements(input, 0); 972 if (!*jarr) 973 return 0; 974 *carr = new int[sz]; 975 if (!*carr) { 976 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 977 return 0; 978 } 979 for (i=0; i<sz; i++) 980 (*carr)[i] = (int)(*jarr)[i]; 981 return 1; 982 } 983 984 static void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input) { 985 int i; 986 jsize sz = jenv->GetArrayLength(input); 987 for (i=0; i<sz; i++) 988 jarr[i] = (jint)carr[i]; 989 jenv->ReleaseIntArrayElements(input, jarr, 0); 990 } 991 992 static jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz) { 993 jint *arr; 994 int i; 995 jintArray jresult = jenv->NewIntArray(sz); 996 if (!jresult) 997 return NULL; 998 arr = jenv->GetIntArrayElements(jresult, 0); 999 if (!arr) 1000 return NULL; 1001 for (i=0; i<sz; i++) 1002 arr[i] = (jint)result[i]; 1003 jenv->ReleaseIntArrayElements(jresult, arr, 0); 1004 return jresult; 1005 } 1006 1007 1008 /* unsigned int[] support */ 1009 static int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input) { 1010 int i; 1011 jsize sz; 1012 if (!input) { 1013 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 1014 return 0; 1015 } 1016 sz = jenv->GetArrayLength(input); 1017 *jarr = jenv->GetLongArrayElements(input, 0); 1018 if (!*jarr) 1019 return 0; 1020 *carr = new unsigned int[sz]; 1021 if (!*carr) { 1022 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 1023 return 0; 1024 } 1025 for (i=0; i<sz; i++) 1026 (*carr)[i] = (unsigned int)(*jarr)[i]; 1027 return 1; 1028 } 1029 1030 static void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input) { 1031 int i; 1032 jsize sz = jenv->GetArrayLength(input); 1033 for (i=0; i<sz; i++) 1034 jarr[i] = (jlong)carr[i]; 1035 jenv->ReleaseLongArrayElements(input, jarr, 0); 1036 } 1037 1038 static jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz) { 1039 jlong *arr; 1040 int i; 1041 jlongArray jresult = jenv->NewLongArray(sz); 1042 if (!jresult) 1043 return NULL; 1044 arr = jenv->GetLongArrayElements(jresult, 0); 1045 if (!arr) 1046 return NULL; 1047 for (i=0; i<sz; i++) 1048 arr[i] = (jlong)result[i]; 1049 jenv->ReleaseLongArrayElements(jresult, arr, 0); 1050 return jresult; 1051 } 1052 1053 1054 /* long[] support */ 1055 static int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input) { 1056 int i; 1057 jsize sz; 1058 if (!input) { 1059 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 1060 return 0; 1061 } 1062 sz = jenv->GetArrayLength(input); 1063 *jarr = jenv->GetIntArrayElements(input, 0); 1064 if (!*jarr) 1065 return 0; 1066 *carr = new long[sz]; 1067 if (!*carr) { 1068 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 1069 return 0; 1070 } 1071 for (i=0; i<sz; i++) 1072 (*carr)[i] = (long)(*jarr)[i]; 1073 return 1; 1074 } 1075 1076 static void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input) { 1077 int i; 1078 jsize sz = jenv->GetArrayLength(input); 1079 for (i=0; i<sz; i++) 1080 jarr[i] = (jint)carr[i]; 1081 jenv->ReleaseIntArrayElements(input, jarr, 0); 1082 } 1083 1084 static jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz) { 1085 jint *arr; 1086 int i; 1087 jintArray jresult = jenv->NewIntArray(sz); 1088 if (!jresult) 1089 return NULL; 1090 arr = jenv->GetIntArrayElements(jresult, 0); 1091 if (!arr) 1092 return NULL; 1093 for (i=0; i<sz; i++) 1094 arr[i] = (jint)result[i]; 1095 jenv->ReleaseIntArrayElements(jresult, arr, 0); 1096 return jresult; 1097 } 1098 1099 1100 /* unsigned long[] support */ 1101 static int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input) { 1102 int i; 1103 jsize sz; 1104 if (!input) { 1105 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 1106 return 0; 1107 } 1108 sz = jenv->GetArrayLength(input); 1109 *jarr = jenv->GetLongArrayElements(input, 0); 1110 if (!*jarr) 1111 return 0; 1112 *carr = new unsigned long[sz]; 1113 if (!*carr) { 1114 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 1115 return 0; 1116 } 1117 for (i=0; i<sz; i++) 1118 (*carr)[i] = (unsigned long)(*jarr)[i]; 1119 return 1; 1120 } 1121 1122 static void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input) { 1123 int i; 1124 jsize sz = jenv->GetArrayLength(input); 1125 for (i=0; i<sz; i++) 1126 jarr[i] = (jlong)carr[i]; 1127 jenv->ReleaseLongArrayElements(input, jarr, 0); 1128 } 1129 1130 static jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz) { 1131 jlong *arr; 1132 int i; 1133 jlongArray jresult = jenv->NewLongArray(sz); 1134 if (!jresult) 1135 return NULL; 1136 arr = jenv->GetLongArrayElements(jresult, 0); 1137 if (!arr) 1138 return NULL; 1139 for (i=0; i<sz; i++) 1140 arr[i] = (jlong)result[i]; 1141 jenv->ReleaseLongArrayElements(jresult, arr, 0); 1142 return jresult; 1143 } 1144 1145 1146 /* jlong[] support */ 1147 static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input) { 1148 int i; 1149 jsize sz; 1150 if (!input) { 1151 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 1152 return 0; 1153 } 1154 sz = jenv->GetArrayLength(input); 1155 *jarr = jenv->GetLongArrayElements(input, 0); 1156 if (!*jarr) 1157 return 0; 1158 *carr = new jlong[sz]; 1159 if (!*carr) { 1160 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 1161 return 0; 1162 } 1163 for (i=0; i<sz; i++) 1164 (*carr)[i] = (jlong)(*jarr)[i]; 1165 return 1; 1166 } 1167 1168 static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input) { 1169 int i; 1170 jsize sz = jenv->GetArrayLength(input); 1171 for (i=0; i<sz; i++) 1172 jarr[i] = (jlong)carr[i]; 1173 jenv->ReleaseLongArrayElements(input, jarr, 0); 1174 } 1175 1176 static jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz) { 1177 jlong *arr; 1178 int i; 1179 jlongArray jresult = jenv->NewLongArray(sz); 1180 if (!jresult) 1181 return NULL; 1182 arr = jenv->GetLongArrayElements(jresult, 0); 1183 if (!arr) 1184 return NULL; 1185 for (i=0; i<sz; i++) 1186 arr[i] = (jlong)result[i]; 1187 jenv->ReleaseLongArrayElements(jresult, arr, 0); 1188 return jresult; 1189 } 1190 1191 1192 /* float[] support */ 1193 static int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input) { 1194 int i; 1195 jsize sz; 1196 if (!input) { 1197 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 1198 return 0; 1199 } 1200 sz = jenv->GetArrayLength(input); 1201 *jarr = jenv->GetFloatArrayElements(input, 0); 1202 if (!*jarr) 1203 return 0; 1204 *carr = new float[sz]; 1205 if (!*carr) { 1206 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 1207 return 0; 1208 } 1209 for (i=0; i<sz; i++) 1210 (*carr)[i] = (float)(*jarr)[i]; 1211 return 1; 1212 } 1213 1214 static void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input) { 1215 int i; 1216 jsize sz = jenv->GetArrayLength(input); 1217 for (i=0; i<sz; i++) 1218 jarr[i] = (jfloat)carr[i]; 1219 jenv->ReleaseFloatArrayElements(input, jarr, 0); 1220 } 1221 1222 static jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz) { 1223 jfloat *arr; 1224 int i; 1225 jfloatArray jresult = jenv->NewFloatArray(sz); 1226 if (!jresult) 1227 return NULL; 1228 arr = jenv->GetFloatArrayElements(jresult, 0); 1229 if (!arr) 1230 return NULL; 1231 for (i=0; i<sz; i++) 1232 arr[i] = (jfloat)result[i]; 1233 jenv->ReleaseFloatArrayElements(jresult, arr, 0); 1234 return jresult; 1235 } 1236 1237 1238 /* double[] support */ 1239 static int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input) { 1240 int i; 1241 jsize sz; 1242 if (!input) { 1243 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array"); 1244 return 0; 1245 } 1246 sz = jenv->GetArrayLength(input); 1247 *jarr = jenv->GetDoubleArrayElements(input, 0); 1248 if (!*jarr) 1249 return 0; 1250 *carr = new double[sz]; 1251 if (!*carr) { 1252 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed"); 1253 return 0; 1254 } 1255 for (i=0; i<sz; i++) 1256 (*carr)[i] = (double)(*jarr)[i]; 1257 return 1; 1258 } 1259 1260 static void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input) { 1261 int i; 1262 jsize sz = jenv->GetArrayLength(input); 1263 for (i=0; i<sz; i++) 1264 jarr[i] = (jdouble)carr[i]; 1265 jenv->ReleaseDoubleArrayElements(input, jarr, 0); 1266 } 1267 1268 static jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz) { 1269 jdouble *arr; 1270 int i; 1271 jdoubleArray jresult = jenv->NewDoubleArray(sz); 1272 if (!jresult) 1273 return NULL; 1274 arr = jenv->GetDoubleArrayElements(jresult, 0); 1275 if (!arr) 1276 return NULL; 1277 for (i=0; i<sz; i++) 1278 arr[i] = (jdouble)result[i]; 1279 jenv->ReleaseDoubleArrayElements(jresult, arr, 0); 1280 return jresult; 1281 } 1282 1283 1284 #endif 1285 1286 1287 #include <gdx/common/jniHelpers.h> 1288 1289 1290 #include <stdint.h> 1291 1292 1293 #include <gdx/linearmath/mathtypes.h> 1294 #include <LinearMath/btVector3.h> 1295 #include <LinearMath/btQuaternion.h> 1296 #include <LinearMath/btMatrix3x3.h> 1297 #include <LinearMath/btTransform.h> 1298 1299 1300 #include <BulletDynamics/Dynamics/btRigidBody.h> 1301 1302 1303 1304 /* Gets a global ref to the temp class. Do not release this. */ 1305 SWIGINTERN inline jclass gdx_getTempClassVector3(JNIEnv * jenv) { 1306 static jclass cls = NULL; 1307 if (cls == NULL) { 1308 cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath")); 1309 } 1310 return cls; 1311 } 1312 1313 SWIGINTERN inline jobject gdx_takePoolObjectVector3(JNIEnv * jenv, const char * poolName) { 1314 jclass tempClass = gdx_getTempClassVector3(jenv); 1315 1316 static jfieldID poolField = NULL; 1317 if (poolField == NULL) { 1318 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1319 } 1320 1321 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1322 jclass poolClass = jenv->GetObjectClass(poolObject); 1323 1324 static jmethodID obtainMethod = NULL; 1325 if (obtainMethod == NULL) { 1326 obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;"); 1327 } 1328 1329 jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod); 1330 1331 jenv->DeleteLocalRef(poolObject); 1332 jenv->DeleteLocalRef(poolClass); 1333 1334 return ret; 1335 } 1336 1337 SWIGINTERN inline void gdx_releasePoolObjectVector3(JNIEnv * jenv, const char * poolName, jobject obj) { 1338 jclass tempClass = gdx_getTempClassVector3(jenv); 1339 1340 static jfieldID poolField = NULL; 1341 if (poolField == NULL) { 1342 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1343 } 1344 1345 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1346 jclass poolClass = jenv->GetObjectClass(poolObject); 1347 1348 static jmethodID freeMethod = NULL; 1349 if (freeMethod == NULL) { 1350 freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V"); 1351 } 1352 1353 jenv->CallVoidMethod(poolObject, freeMethod, obj); 1354 1355 jenv->DeleteLocalRef(poolObject); 1356 jenv->DeleteLocalRef(poolClass); 1357 jenv->DeleteLocalRef(obj); 1358 } 1359 1360 /* 1361 * A simple RAII wrapper to release jobjects we obtain from pools in 1362 * directorin typemaps. SWIG doesn't have hooks to release them after 1363 * they're used. 1364 */ 1365 class gdxPoolAutoReleaseVector3 { 1366 private: 1367 JNIEnv * jenv; 1368 const char * poolName; 1369 jobject obj; 1370 public: 1371 gdxPoolAutoReleaseVector3(JNIEnv * jenv, const char * poolName, jobject obj) : 1372 jenv(jenv), poolName(poolName), obj(obj) { }; 1373 virtual ~gdxPoolAutoReleaseVector3() { 1374 gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->obj); 1375 }; 1376 }; 1377 1378 1379 1380 // Workaround for some strange swig behaviour 1381 1382 1383 /* Gets a global ref to the temp class's Return Vector3. Do not release this. */ 1384 SWIGINTERN inline jobject gdx_getReturnVector3(JNIEnv * jenv) { 1385 static jobject ret = NULL; 1386 if (ret == NULL) { 1387 jclass tempClass = gdx_getTempClassVector3(jenv); 1388 jfieldID field = jenv->GetStaticFieldID(tempClass, "staticVector3", "Lcom/badlogic/gdx/math/Vector3;"); 1389 ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field)); 1390 } 1391 return ret; 1392 } 1393 1394 /* Sets the data in the Bullet type from the Gdx type. */ 1395 SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 & target, jobject source) { 1396 Vector3_to_btVector3(jenv, target, source); 1397 } 1398 1399 SWIGINTERN inline void gdx_setbtVector3FromVector3(JNIEnv * jenv, btVector3 * target, jobject source) { 1400 gdx_setbtVector3FromVector3(jenv, *target, source); 1401 } 1402 1403 /* Sets the data in the Gdx type from the Bullet type. */ 1404 SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 & source) { 1405 btVector3_to_Vector3(jenv, target, source); 1406 } 1407 1408 SWIGINTERN inline void gdx_setVector3FrombtVector3(JNIEnv * jenv, jobject target, const btVector3 * source) { 1409 gdx_setVector3FrombtVector3(jenv, target, *source); 1410 } 1411 1412 /* 1413 * RAII wrapper to commit changes made to a local btVector3 back to Vector3 1414 */ 1415 class gdxAutoCommitVector3 { 1416 private: 1417 JNIEnv * jenv; 1418 jobject jVector3; 1419 btVector3 & cbtVector3; 1420 public: 1421 gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3) : 1422 jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3) { }; 1423 gdxAutoCommitVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3) : 1424 jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3) { }; 1425 virtual ~gdxAutoCommitVector3() { 1426 gdx_setVector3FrombtVector3(this->jenv, this->jVector3, this->cbtVector3); 1427 }; 1428 }; 1429 1430 class gdxAutoCommitbtVector3AndReleaseVector3 { 1431 private: 1432 JNIEnv * jenv; 1433 jobject jVector3; 1434 btVector3 & cbtVector3; 1435 const char * poolName; 1436 public: 1437 gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 & cbtVector3, const char *poolName) : 1438 jenv(jenv), jVector3(jVector3), cbtVector3(cbtVector3), poolName(poolName) { }; 1439 gdxAutoCommitbtVector3AndReleaseVector3(JNIEnv * jenv, jobject jVector3, btVector3 * cbtVector3, const char *poolName) : 1440 jenv(jenv), jVector3(jVector3), cbtVector3(*cbtVector3), poolName(poolName) { }; 1441 virtual ~gdxAutoCommitbtVector3AndReleaseVector3() { 1442 gdx_setbtVector3FromVector3(this->jenv, this->cbtVector3, this->jVector3); 1443 gdx_releasePoolObjectVector3(this->jenv, this->poolName, this->jVector3); 1444 }; 1445 }; 1446 1447 SWIGINTERN btRigidBody::btRigidBodyConstructionInfo *new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(bool dummy,btScalar mass,btMotionState *motionState,btCollisionShape *collisionShape,btVector3 const &localInertia=btVector3(0,0,0)){ 1448 return new btRigidBody::btRigidBodyConstructionInfo(mass, motionState, collisionShape, localInertia); 1449 } 1450 1451 1452 /* Gets a global ref to the temp class. Do not release this. */ 1453 SWIGINTERN inline jclass gdx_getTempClassMatrix4(JNIEnv * jenv) { 1454 static jclass cls = NULL; 1455 if (cls == NULL) { 1456 cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath")); 1457 } 1458 return cls; 1459 } 1460 1461 SWIGINTERN inline jobject gdx_takePoolObjectMatrix4(JNIEnv * jenv, const char * poolName) { 1462 jclass tempClass = gdx_getTempClassMatrix4(jenv); 1463 1464 static jfieldID poolField = NULL; 1465 if (poolField == NULL) { 1466 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1467 } 1468 1469 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1470 jclass poolClass = jenv->GetObjectClass(poolObject); 1471 1472 static jmethodID obtainMethod = NULL; 1473 if (obtainMethod == NULL) { 1474 obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;"); 1475 } 1476 1477 jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod); 1478 1479 jenv->DeleteLocalRef(poolObject); 1480 jenv->DeleteLocalRef(poolClass); 1481 1482 return ret; 1483 } 1484 1485 SWIGINTERN inline void gdx_releasePoolObjectMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) { 1486 jclass tempClass = gdx_getTempClassMatrix4(jenv); 1487 1488 static jfieldID poolField = NULL; 1489 if (poolField == NULL) { 1490 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1491 } 1492 1493 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1494 jclass poolClass = jenv->GetObjectClass(poolObject); 1495 1496 static jmethodID freeMethod = NULL; 1497 if (freeMethod == NULL) { 1498 freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V"); 1499 } 1500 1501 jenv->CallVoidMethod(poolObject, freeMethod, obj); 1502 1503 jenv->DeleteLocalRef(poolObject); 1504 jenv->DeleteLocalRef(poolClass); 1505 jenv->DeleteLocalRef(obj); 1506 } 1507 1508 /* 1509 * A simple RAII wrapper to release jobjects we obtain from pools in 1510 * directorin typemaps. SWIG doesn't have hooks to release them after 1511 * they're used. 1512 */ 1513 class gdxPoolAutoReleaseMatrix4 { 1514 private: 1515 JNIEnv * jenv; 1516 const char * poolName; 1517 jobject obj; 1518 public: 1519 gdxPoolAutoReleaseMatrix4(JNIEnv * jenv, const char * poolName, jobject obj) : 1520 jenv(jenv), poolName(poolName), obj(obj) { }; 1521 virtual ~gdxPoolAutoReleaseMatrix4() { 1522 gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->obj); 1523 }; 1524 }; 1525 1526 1527 1528 // Workaround for some strange swig behaviour 1529 1530 1531 /* Gets a global ref to the temp class's Return Matrix4. Do not release this. */ 1532 SWIGINTERN inline jobject gdx_getReturnMatrix4(JNIEnv * jenv) { 1533 static jobject ret = NULL; 1534 if (ret == NULL) { 1535 jclass tempClass = gdx_getTempClassMatrix4(jenv); 1536 jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix4", "Lcom/badlogic/gdx/math/Matrix4;"); 1537 ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field)); 1538 } 1539 return ret; 1540 } 1541 1542 /* Sets the data in the Bullet type from the Gdx type. */ 1543 SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform & target, jobject source) { 1544 Matrix4_to_btTransform(jenv, target, source); 1545 } 1546 1547 SWIGINTERN inline void gdx_setbtTransformFromMatrix4(JNIEnv * jenv, btTransform * target, jobject source) { 1548 gdx_setbtTransformFromMatrix4(jenv, *target, source); 1549 } 1550 1551 /* Sets the data in the Gdx type from the Bullet type. */ 1552 SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform & source) { 1553 btTransform_to_Matrix4(jenv, target, source); 1554 } 1555 1556 SWIGINTERN inline void gdx_setMatrix4FrombtTransform(JNIEnv * jenv, jobject target, const btTransform * source) { 1557 gdx_setMatrix4FrombtTransform(jenv, target, *source); 1558 } 1559 1560 /* 1561 * RAII wrapper to commit changes made to a local btTransform back to Matrix4 1562 */ 1563 class gdxAutoCommitMatrix4 { 1564 private: 1565 JNIEnv * jenv; 1566 jobject jMatrix4; 1567 btTransform & cbtTransform; 1568 public: 1569 gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform) : 1570 jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform) { }; 1571 gdxAutoCommitMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform) : 1572 jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform) { }; 1573 virtual ~gdxAutoCommitMatrix4() { 1574 gdx_setMatrix4FrombtTransform(this->jenv, this->jMatrix4, this->cbtTransform); 1575 }; 1576 }; 1577 1578 class gdxAutoCommitbtTransformAndReleaseMatrix4 { 1579 private: 1580 JNIEnv * jenv; 1581 jobject jMatrix4; 1582 btTransform & cbtTransform; 1583 const char * poolName; 1584 public: 1585 gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform & cbtTransform, const char *poolName) : 1586 jenv(jenv), jMatrix4(jMatrix4), cbtTransform(cbtTransform), poolName(poolName) { }; 1587 gdxAutoCommitbtTransformAndReleaseMatrix4(JNIEnv * jenv, jobject jMatrix4, btTransform * cbtTransform, const char *poolName) : 1588 jenv(jenv), jMatrix4(jMatrix4), cbtTransform(*cbtTransform), poolName(poolName) { }; 1589 virtual ~gdxAutoCommitbtTransformAndReleaseMatrix4() { 1590 gdx_setbtTransformFromMatrix4(this->jenv, this->cbtTransform, this->jMatrix4); 1591 gdx_releasePoolObjectMatrix4(this->jenv, this->poolName, this->jMatrix4); 1592 }; 1593 }; 1594 1595 1596 1597 /* Gets a global ref to the temp class. Do not release this. */ 1598 SWIGINTERN inline jclass gdx_getTempClassMatrix3(JNIEnv * jenv) { 1599 static jclass cls = NULL; 1600 if (cls == NULL) { 1601 cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath")); 1602 } 1603 return cls; 1604 } 1605 1606 SWIGINTERN inline jobject gdx_takePoolObjectMatrix3(JNIEnv * jenv, const char * poolName) { 1607 jclass tempClass = gdx_getTempClassMatrix3(jenv); 1608 1609 static jfieldID poolField = NULL; 1610 if (poolField == NULL) { 1611 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1612 } 1613 1614 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1615 jclass poolClass = jenv->GetObjectClass(poolObject); 1616 1617 static jmethodID obtainMethod = NULL; 1618 if (obtainMethod == NULL) { 1619 obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;"); 1620 } 1621 1622 jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod); 1623 1624 jenv->DeleteLocalRef(poolObject); 1625 jenv->DeleteLocalRef(poolClass); 1626 1627 return ret; 1628 } 1629 1630 SWIGINTERN inline void gdx_releasePoolObjectMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) { 1631 jclass tempClass = gdx_getTempClassMatrix3(jenv); 1632 1633 static jfieldID poolField = NULL; 1634 if (poolField == NULL) { 1635 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1636 } 1637 1638 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1639 jclass poolClass = jenv->GetObjectClass(poolObject); 1640 1641 static jmethodID freeMethod = NULL; 1642 if (freeMethod == NULL) { 1643 freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V"); 1644 } 1645 1646 jenv->CallVoidMethod(poolObject, freeMethod, obj); 1647 1648 jenv->DeleteLocalRef(poolObject); 1649 jenv->DeleteLocalRef(poolClass); 1650 jenv->DeleteLocalRef(obj); 1651 } 1652 1653 /* 1654 * A simple RAII wrapper to release jobjects we obtain from pools in 1655 * directorin typemaps. SWIG doesn't have hooks to release them after 1656 * they're used. 1657 */ 1658 class gdxPoolAutoReleaseMatrix3 { 1659 private: 1660 JNIEnv * jenv; 1661 const char * poolName; 1662 jobject obj; 1663 public: 1664 gdxPoolAutoReleaseMatrix3(JNIEnv * jenv, const char * poolName, jobject obj) : 1665 jenv(jenv), poolName(poolName), obj(obj) { }; 1666 virtual ~gdxPoolAutoReleaseMatrix3() { 1667 gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->obj); 1668 }; 1669 }; 1670 1671 1672 1673 // Workaround for some strange swig behaviour 1674 1675 1676 /* Gets a global ref to the temp class's Return Matrix3. Do not release this. */ 1677 SWIGINTERN inline jobject gdx_getReturnMatrix3(JNIEnv * jenv) { 1678 static jobject ret = NULL; 1679 if (ret == NULL) { 1680 jclass tempClass = gdx_getTempClassMatrix3(jenv); 1681 jfieldID field = jenv->GetStaticFieldID(tempClass, "staticMatrix3", "Lcom/badlogic/gdx/math/Matrix3;"); 1682 ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field)); 1683 } 1684 return ret; 1685 } 1686 1687 /* Sets the data in the Bullet type from the Gdx type. */ 1688 SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 & target, jobject source) { 1689 Matrix3_to_btMatrix3(jenv, target, source); 1690 } 1691 1692 SWIGINTERN inline void gdx_setbtMatrix3x3FromMatrix3(JNIEnv * jenv, btMatrix3x3 * target, jobject source) { 1693 gdx_setbtMatrix3x3FromMatrix3(jenv, *target, source); 1694 } 1695 1696 /* Sets the data in the Gdx type from the Bullet type. */ 1697 SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 & source) { 1698 btMatrix3_to_Matrix3(jenv, target, source); 1699 } 1700 1701 SWIGINTERN inline void gdx_setMatrix3FrombtMatrix3x3(JNIEnv * jenv, jobject target, const btMatrix3x3 * source) { 1702 gdx_setMatrix3FrombtMatrix3x3(jenv, target, *source); 1703 } 1704 1705 /* 1706 * RAII wrapper to commit changes made to a local btMatrix3x3 back to Matrix3 1707 */ 1708 class gdxAutoCommitMatrix3 { 1709 private: 1710 JNIEnv * jenv; 1711 jobject jMatrix3; 1712 btMatrix3x3 & cbtMatrix3x3; 1713 public: 1714 gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3) : 1715 jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3) { }; 1716 gdxAutoCommitMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3) : 1717 jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3) { }; 1718 virtual ~gdxAutoCommitMatrix3() { 1719 gdx_setMatrix3FrombtMatrix3x3(this->jenv, this->jMatrix3, this->cbtMatrix3x3); 1720 }; 1721 }; 1722 1723 class gdxAutoCommitbtMatrix3x3AndReleaseMatrix3 { 1724 private: 1725 JNIEnv * jenv; 1726 jobject jMatrix3; 1727 btMatrix3x3 & cbtMatrix3x3; 1728 const char * poolName; 1729 public: 1730 gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 & cbtMatrix3x3, const char *poolName) : 1731 jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(cbtMatrix3x3), poolName(poolName) { }; 1732 gdxAutoCommitbtMatrix3x3AndReleaseMatrix3(JNIEnv * jenv, jobject jMatrix3, btMatrix3x3 * cbtMatrix3x3, const char *poolName) : 1733 jenv(jenv), jMatrix3(jMatrix3), cbtMatrix3x3(*cbtMatrix3x3), poolName(poolName) { }; 1734 virtual ~gdxAutoCommitbtMatrix3x3AndReleaseMatrix3() { 1735 gdx_setbtMatrix3x3FromMatrix3(this->jenv, this->cbtMatrix3x3, this->jMatrix3); 1736 gdx_releasePoolObjectMatrix3(this->jenv, this->poolName, this->jMatrix3); 1737 }; 1738 }; 1739 1740 1741 1742 /* Gets a global ref to the temp class. Do not release this. */ 1743 SWIGINTERN inline jclass gdx_getTempClassQuaternion(JNIEnv * jenv) { 1744 static jclass cls = NULL; 1745 if (cls == NULL) { 1746 cls = (jclass) jenv->NewGlobalRef(jenv->FindClass("com/badlogic/gdx/physics/bullet/linearmath/LinearMath")); 1747 } 1748 return cls; 1749 } 1750 1751 SWIGINTERN inline jobject gdx_takePoolObjectQuaternion(JNIEnv * jenv, const char * poolName) { 1752 jclass tempClass = gdx_getTempClassQuaternion(jenv); 1753 1754 static jfieldID poolField = NULL; 1755 if (poolField == NULL) { 1756 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1757 } 1758 1759 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1760 jclass poolClass = jenv->GetObjectClass(poolObject); 1761 1762 static jmethodID obtainMethod = NULL; 1763 if (obtainMethod == NULL) { 1764 obtainMethod = (jmethodID) jenv->GetMethodID(poolClass, "obtain", "()Ljava/lang/Object;"); 1765 } 1766 1767 jobject ret = jenv->CallObjectMethod(poolObject, obtainMethod); 1768 1769 jenv->DeleteLocalRef(poolObject); 1770 jenv->DeleteLocalRef(poolClass); 1771 1772 return ret; 1773 } 1774 1775 SWIGINTERN inline void gdx_releasePoolObjectQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) { 1776 jclass tempClass = gdx_getTempClassQuaternion(jenv); 1777 1778 static jfieldID poolField = NULL; 1779 if (poolField == NULL) { 1780 poolField = jenv->GetStaticFieldID(tempClass, poolName, "Lcom/badlogic/gdx/utils/Pool;"); 1781 } 1782 1783 jobject poolObject = jenv->GetStaticObjectField(tempClass, poolField); 1784 jclass poolClass = jenv->GetObjectClass(poolObject); 1785 1786 static jmethodID freeMethod = NULL; 1787 if (freeMethod == NULL) { 1788 freeMethod = (jmethodID) jenv->GetMethodID(poolClass, "free", "(Ljava/lang/Object;)V"); 1789 } 1790 1791 jenv->CallVoidMethod(poolObject, freeMethod, obj); 1792 1793 jenv->DeleteLocalRef(poolObject); 1794 jenv->DeleteLocalRef(poolClass); 1795 jenv->DeleteLocalRef(obj); 1796 } 1797 1798 /* 1799 * A simple RAII wrapper to release jobjects we obtain from pools in 1800 * directorin typemaps. SWIG doesn't have hooks to release them after 1801 * they're used. 1802 */ 1803 class gdxPoolAutoReleaseQuaternion { 1804 private: 1805 JNIEnv * jenv; 1806 const char * poolName; 1807 jobject obj; 1808 public: 1809 gdxPoolAutoReleaseQuaternion(JNIEnv * jenv, const char * poolName, jobject obj) : 1810 jenv(jenv), poolName(poolName), obj(obj) { }; 1811 virtual ~gdxPoolAutoReleaseQuaternion() { 1812 gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->obj); 1813 }; 1814 }; 1815 1816 1817 1818 // Workaround for some strange swig behaviour 1819 1820 1821 /* Gets a global ref to the temp class's Return Quaternion. Do not release this. */ 1822 SWIGINTERN inline jobject gdx_getReturnQuaternion(JNIEnv * jenv) { 1823 static jobject ret = NULL; 1824 if (ret == NULL) { 1825 jclass tempClass = gdx_getTempClassQuaternion(jenv); 1826 jfieldID field = jenv->GetStaticFieldID(tempClass, "staticQuaternion", "Lcom/badlogic/gdx/math/Quaternion;"); 1827 ret = jenv->NewGlobalRef(jenv->GetStaticObjectField(tempClass, field)); 1828 } 1829 return ret; 1830 } 1831 1832 /* Sets the data in the Bullet type from the Gdx type. */ 1833 SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion & target, jobject source) { 1834 Quaternion_to_btQuaternion(jenv, target, source); 1835 } 1836 1837 SWIGINTERN inline void gdx_setbtQuaternionFromQuaternion(JNIEnv * jenv, btQuaternion * target, jobject source) { 1838 gdx_setbtQuaternionFromQuaternion(jenv, *target, source); 1839 } 1840 1841 /* Sets the data in the Gdx type from the Bullet type. */ 1842 SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion & source) { 1843 btQuaternion_to_Quaternion(jenv, target, source); 1844 } 1845 1846 SWIGINTERN inline void gdx_setQuaternionFrombtQuaternion(JNIEnv * jenv, jobject target, const btQuaternion * source) { 1847 gdx_setQuaternionFrombtQuaternion(jenv, target, *source); 1848 } 1849 1850 /* 1851 * RAII wrapper to commit changes made to a local btQuaternion back to Quaternion 1852 */ 1853 class gdxAutoCommitQuaternion { 1854 private: 1855 JNIEnv * jenv; 1856 jobject jQuaternion; 1857 btQuaternion & cbtQuaternion; 1858 public: 1859 gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion) : 1860 jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion) { }; 1861 gdxAutoCommitQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion) : 1862 jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion) { }; 1863 virtual ~gdxAutoCommitQuaternion() { 1864 gdx_setQuaternionFrombtQuaternion(this->jenv, this->jQuaternion, this->cbtQuaternion); 1865 }; 1866 }; 1867 1868 class gdxAutoCommitbtQuaternionAndReleaseQuaternion { 1869 private: 1870 JNIEnv * jenv; 1871 jobject jQuaternion; 1872 btQuaternion & cbtQuaternion; 1873 const char * poolName; 1874 public: 1875 gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion & cbtQuaternion, const char *poolName) : 1876 jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(cbtQuaternion), poolName(poolName) { }; 1877 gdxAutoCommitbtQuaternionAndReleaseQuaternion(JNIEnv * jenv, jobject jQuaternion, btQuaternion * cbtQuaternion, const char *poolName) : 1878 jenv(jenv), jQuaternion(jQuaternion), cbtQuaternion(*cbtQuaternion), poolName(poolName) { }; 1879 virtual ~gdxAutoCommitbtQuaternionAndReleaseQuaternion() { 1880 gdx_setbtQuaternionFromQuaternion(this->jenv, this->cbtQuaternion, this->jQuaternion); 1881 gdx_releasePoolObjectQuaternion(this->jenv, this->poolName, this->jQuaternion); 1882 }; 1883 }; 1884 1885 SWIGINTERN btRigidBody *new_btRigidBody__SWIG_0(bool dummy,btRigidBody::btRigidBodyConstructionInfo const &constructionInfo){ 1886 return new btRigidBody(constructionInfo); 1887 } 1888 SWIGINTERN btRigidBody *new_btRigidBody__SWIG_1(bool dummy,btScalar mass,btMotionState *motionState,btCollisionShape *collisionShape,btVector3 const &localInertia=btVector3(0,0,0)){ 1889 return new btRigidBody(mass, motionState, collisionShape, localInertia); 1890 } 1891 1892 #include <BulletDynamics/ConstraintSolver/btTypedConstraint.h> 1893 1894 1895 #include <BulletDynamics/Dynamics/btDynamicsWorld.h> 1896 1897 1898 #include <gdx/dynamics/InternalTickCallback.h> 1899 1900 1901 #include <BulletDynamics/Dynamics/btSimpleDynamicsWorld.h> 1902 1903 1904 #include <BulletDynamics/Dynamics/btActionInterface.h> 1905 1906 1907 #include <gdx/dynamics/CustomActionInterface.h> 1908 1909 1910 #include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h> 1911 1912 1913 #include <BulletDynamics/Character/btCharacterControllerInterface.h> 1914 1915 1916 #include <BulletDynamics/Character/btKinematicCharacterController.h> 1917 1918 1919 #include <BulletDynamics/ConstraintSolver/btContactSolverInfo.h> 1920 1921 1922 #include <BulletDynamics/ConstraintSolver/btConstraintSolver.h> 1923 1924 1925 #include <BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h> 1926 1927 1928 #include <BulletDynamics/ConstraintSolver/btSolverBody.h> 1929 1930 1931 #include <BulletDynamics/ConstraintSolver/btSliderConstraint.h> 1932 1933 1934 #include <BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h> 1935 1936 1937 #include <BulletDynamics/ConstraintSolver/btJacobianEntry.h> 1938 1939 1940 #include <BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h> 1941 1942 1943 #include <BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h> 1944 1945 1946 #include <BulletDynamics/ConstraintSolver/btUniversalConstraint.h> 1947 1948 1949 #include <BulletDynamics/ConstraintSolver/btContactConstraint.h> 1950 1951 1952 #include <BulletDynamics/ConstraintSolver/btConeTwistConstraint.h> 1953 1954 1955 #include <BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h> 1956 1957 1958 #include <BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h> 1959 1960 1961 #include <BulletDynamics/ConstraintSolver/btHingeConstraint.h> 1962 1963 1964 #include <BulletDynamics/ConstraintSolver/btSolverConstraint.h> 1965 1966 1967 #include <BulletDynamics/ConstraintSolver/btHinge2Constraint.h> 1968 1969 1970 #include <BulletDynamics/ConstraintSolver/btFixedConstraint.h> 1971 1972 1973 #include <BulletDynamics/Vehicle/btVehicleRaycaster.h> 1974 1975 1976 #include <BulletDynamics/Vehicle/btWheelInfo.h> 1977 1978 1979 #include <BulletDynamics/Vehicle/btRaycastVehicle.h> 1980 1981 1982 1983 /* --------------------------------------------------- 1984 * C++ director class methods 1985 * --------------------------------------------------- */ 1986 1987 #include "dynamics_wrap.h" 1988 1989 SwigDirector_InternalTickCallback::SwigDirector_InternalTickCallback(JNIEnv *jenv, btDynamicsWorld *dynamicsWorld, bool isPreTick) : InternalTickCallback(dynamicsWorld, isPreTick), Swig::Director(jenv) { 1990 } 1991 1992 void SwigDirector_InternalTickCallback::onInternalTick(btDynamicsWorld *dynamicsWorld, btScalar timeStep) { 1993 JNIEnvWrapper swigjnienv(this) ; 1994 JNIEnv * jenv = swigjnienv.getJNIEnv() ; 1995 jobject swigjobj = (jobject) NULL ; 1996 jlong jdynamicsWorld = 0 ; 1997 jfloat jtimeStep ; 1998 1999 if (!swig_override[0]) { 2000 InternalTickCallback::onInternalTick(dynamicsWorld,timeStep); 2001 return; 2002 } 2003 swigjobj = swig_get_self(jenv); 2004 if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) { 2005 *((btDynamicsWorld **)&jdynamicsWorld) = (btDynamicsWorld *) dynamicsWorld; 2006 jtimeStep = (jfloat) timeStep; 2007 jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[0], swigjobj, jdynamicsWorld, jtimeStep); 2008 jthrowable swigerror = jenv->ExceptionOccurred(); 2009 if (swigerror) { 2010 jenv->ExceptionClear(); 2011 throw Swig::DirectorException(jenv, swigerror); 2012 } 2013 2014 } else { 2015 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in InternalTickCallback::onInternalTick "); 2016 } 2017 if (swigjobj) jenv->DeleteLocalRef(swigjobj); 2018 } 2019 2020 void SwigDirector_InternalTickCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) { 2021 static struct { 2022 const char *mname; 2023 const char *mdesc; 2024 jmethodID base_methid; 2025 } methods[] = { 2026 { 2027 "onInternalTick", "(Lcom/badlogic/gdx/physics/bullet/dynamics/btDynamicsWorld;F)V", NULL 2028 } 2029 }; 2030 2031 static jclass baseclass = 0 ; 2032 2033 if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) { 2034 if (!baseclass) { 2035 baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/dynamics/InternalTickCallback"); 2036 if (!baseclass) return; 2037 baseclass = (jclass) jenv->NewGlobalRef(baseclass); 2038 } 2039 bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true); 2040 for (int i = 0; i < 1; ++i) { 2041 if (!methods[i].base_methid) { 2042 methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc); 2043 if (!methods[i].base_methid) return; 2044 } 2045 swig_override[i] = false; 2046 if (derived) { 2047 jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc); 2048 swig_override[i] = (methid != methods[i].base_methid); 2049 jenv->ExceptionClear(); 2050 } 2051 } 2052 } 2053 } 2054 2055 2056 SwigDirector_CustomActionInterface::SwigDirector_CustomActionInterface(JNIEnv *jenv) : CustomActionInterface(), Swig::Director(jenv) { 2057 } 2058 2059 SwigDirector_CustomActionInterface::~SwigDirector_CustomActionInterface() { 2060 swig_disconnect_director_self("swigDirectorDisconnect"); 2061 } 2062 2063 2064 void SwigDirector_CustomActionInterface::updateAction(btCollisionWorld *collisionWorld, btScalar timeStep) { 2065 CustomActionInterface::updateAction(collisionWorld,timeStep); 2066 } 2067 2068 void SwigDirector_CustomActionInterface::debugDraw(btIDebugDraw *debugDrawer) { 2069 CustomActionInterface::debugDraw(debugDrawer); 2070 } 2071 2072 void SwigDirector_CustomActionInterface::updateAction(btScalar timeStep) { 2073 JNIEnvWrapper swigjnienv(this) ; 2074 JNIEnv * jenv = swigjnienv.getJNIEnv() ; 2075 jobject swigjobj = (jobject) NULL ; 2076 jfloat jtimeStep ; 2077 2078 if (!swig_override[0]) { 2079 SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method CustomActionInterface::updateAction."); 2080 return; 2081 } 2082 swigjobj = swig_get_self(jenv); 2083 if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) { 2084 jtimeStep = (jfloat) timeStep; 2085 jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[1], swigjobj, jtimeStep); 2086 jthrowable swigerror = jenv->ExceptionOccurred(); 2087 if (swigerror) { 2088 jenv->ExceptionClear(); 2089 throw Swig::DirectorException(jenv, swigerror); 2090 } 2091 2092 } else { 2093 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomActionInterface::updateAction "); 2094 } 2095 if (swigjobj) jenv->DeleteLocalRef(swigjobj); 2096 } 2097 2098 void SwigDirector_CustomActionInterface::debugDraw() { 2099 JNIEnvWrapper swigjnienv(this) ; 2100 JNIEnv * jenv = swigjnienv.getJNIEnv() ; 2101 jobject swigjobj = (jobject) NULL ; 2102 2103 if (!swig_override[1]) { 2104 SWIG_JavaThrowException(JNIEnvWrapper(this).getJNIEnv(), SWIG_JavaDirectorPureVirtual, "Attempted to invoke pure virtual method CustomActionInterface::debugDraw."); 2105 return; 2106 } 2107 swigjobj = swig_get_self(jenv); 2108 if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) { 2109 jenv->CallStaticVoidMethod(Swig::jclass_DynamicsJNI, Swig::director_method_ids[2], swigjobj); 2110 jthrowable swigerror = jenv->ExceptionOccurred(); 2111 if (swigerror) { 2112 jenv->ExceptionClear(); 2113 throw Swig::DirectorException(jenv, swigerror); 2114 } 2115 2116 } else { 2117 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object in CustomActionInterface::debugDraw "); 2118 } 2119 if (swigjobj) jenv->DeleteLocalRef(swigjobj); 2120 } 2121 2122 void SwigDirector_CustomActionInterface::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) { 2123 static struct { 2124 const char *mname; 2125 const char *mdesc; 2126 jmethodID base_methid; 2127 } methods[] = { 2128 { 2129 "updateAction", "(F)V", NULL 2130 }, 2131 { 2132 "debugDraw", "()V", NULL 2133 } 2134 }; 2135 2136 static jclass baseclass = 0 ; 2137 2138 if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) { 2139 if (!baseclass) { 2140 baseclass = jenv->FindClass("com/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface"); 2141 if (!baseclass) return; 2142 baseclass = (jclass) jenv->NewGlobalRef(baseclass); 2143 } 2144 bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true); 2145 for (int i = 0; i < 2; ++i) { 2146 if (!methods[i].base_methid) { 2147 methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc); 2148 if (!methods[i].base_methid) return; 2149 } 2150 swig_override[i] = false; 2151 if (derived) { 2152 jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc); 2153 swig_override[i] = (methid != methods[i].base_methid); 2154 jenv->ExceptionClear(); 2155 } 2156 } 2157 } 2158 } 2159 2160 2161 2162 #ifdef __cplusplus 2163 extern "C" { 2164 #endif 2165 2166 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDeactivationTime_1set(JNIEnv *jenv, jclass jcls, jfloat jarg1) { 2167 btScalar arg1 ; 2168 2169 (void)jenv; 2170 (void)jcls; 2171 arg1 = (btScalar)jarg1; 2172 gDeactivationTime = arg1; 2173 } 2174 2175 2176 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDeactivationTime_1get(JNIEnv *jenv, jclass jcls) { 2177 jfloat jresult = 0 ; 2178 btScalar result; 2179 2180 (void)jenv; 2181 (void)jcls; 2182 result = (btScalar)gDeactivationTime; 2183 jresult = (jfloat)result; 2184 return jresult; 2185 } 2186 2187 2188 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDisableDeactivation_1set(JNIEnv *jenv, jclass jcls, jboolean jarg1) { 2189 bool arg1 ; 2190 2191 (void)jenv; 2192 (void)jcls; 2193 arg1 = jarg1 ? true : false; 2194 gDisableDeactivation = arg1; 2195 } 2196 2197 2198 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_gDisableDeactivation_1get(JNIEnv *jenv, jclass jcls) { 2199 jboolean jresult = 0 ; 2200 bool result; 2201 2202 (void)jenv; 2203 (void)jcls; 2204 result = (bool)gDisableDeactivation; 2205 jresult = (jboolean)result; 2206 return jresult; 2207 } 2208 2209 2210 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1mass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2211 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2212 btScalar arg2 ; 2213 2214 (void)jenv; 2215 (void)jcls; 2216 (void)jarg1_; 2217 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2218 arg2 = (btScalar)jarg2; 2219 if (arg1) (arg1)->m_mass = arg2; 2220 } 2221 2222 2223 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1mass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2224 jfloat jresult = 0 ; 2225 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2226 btScalar result; 2227 2228 (void)jenv; 2229 (void)jcls; 2230 (void)jarg1_; 2231 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2232 result = (btScalar) ((arg1)->m_mass); 2233 jresult = (jfloat)result; 2234 return jresult; 2235 } 2236 2237 2238 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1motionState_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 2239 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2240 btMotionState *arg2 = (btMotionState *) 0 ; 2241 2242 (void)jenv; 2243 (void)jcls; 2244 (void)jarg1_; 2245 (void)jarg2_; 2246 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2247 arg2 = *(btMotionState **)&jarg2; 2248 if (arg1) (arg1)->m_motionState = arg2; 2249 } 2250 2251 2252 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1motionState_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2253 jlong jresult = 0 ; 2254 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2255 btMotionState *result = 0 ; 2256 2257 (void)jenv; 2258 (void)jcls; 2259 (void)jarg1_; 2260 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2261 result = (btMotionState *) ((arg1)->m_motionState); 2262 *(btMotionState **)&jresult = result; 2263 return jresult; 2264 } 2265 2266 2267 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1startWorldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 2268 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2269 btTransform *arg2 = (btTransform *) 0 ; 2270 2271 (void)jenv; 2272 (void)jcls; 2273 (void)jarg1_; 2274 (void)jarg2_; 2275 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2276 arg2 = *(btTransform **)&jarg2; 2277 if (arg1) (arg1)->m_startWorldTransform = *arg2; 2278 } 2279 2280 2281 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1startWorldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2282 jlong jresult = 0 ; 2283 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2284 btTransform *result = 0 ; 2285 2286 (void)jenv; 2287 (void)jcls; 2288 (void)jarg1_; 2289 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2290 result = (btTransform *)& ((arg1)->m_startWorldTransform); 2291 *(btTransform **)&jresult = result; 2292 return jresult; 2293 } 2294 2295 2296 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1collisionShape_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 2297 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2298 btCollisionShape *arg2 = (btCollisionShape *) 0 ; 2299 2300 (void)jenv; 2301 (void)jcls; 2302 (void)jarg1_; 2303 (void)jarg2_; 2304 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2305 arg2 = *(btCollisionShape **)&jarg2; 2306 if (arg1) (arg1)->m_collisionShape = arg2; 2307 } 2308 2309 2310 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1i_1collisionShape_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2311 jlong jresult = 0 ; 2312 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2313 btCollisionShape *result = 0 ; 2314 2315 (void)jenv; 2316 (void)jcls; 2317 (void)jarg1_; 2318 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2319 result = (btCollisionShape *) ((arg1)->m_collisionShape); 2320 *(btCollisionShape **)&jresult = result; 2321 return jresult; 2322 } 2323 2324 2325 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1localInertia_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 2326 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2327 btVector3 *arg2 = (btVector3 *) 0 ; 2328 2329 (void)jenv; 2330 (void)jcls; 2331 (void)jarg1_; 2332 (void)jarg2_; 2333 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2334 arg2 = *(btVector3 **)&jarg2; 2335 if (arg1) (arg1)->m_localInertia = *arg2; 2336 } 2337 2338 2339 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1localInertia_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2340 jlong jresult = 0 ; 2341 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2342 btVector3 *result = 0 ; 2343 2344 (void)jenv; 2345 (void)jcls; 2346 (void)jarg1_; 2347 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2348 result = (btVector3 *)& ((arg1)->m_localInertia); 2349 *(btVector3 **)&jresult = result; 2350 return jresult; 2351 } 2352 2353 2354 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2355 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2356 btScalar arg2 ; 2357 2358 (void)jenv; 2359 (void)jcls; 2360 (void)jarg1_; 2361 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2362 arg2 = (btScalar)jarg2; 2363 if (arg1) (arg1)->m_linearDamping = arg2; 2364 } 2365 2366 2367 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2368 jfloat jresult = 0 ; 2369 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2370 btScalar result; 2371 2372 (void)jenv; 2373 (void)jcls; 2374 (void)jarg1_; 2375 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2376 result = (btScalar) ((arg1)->m_linearDamping); 2377 jresult = (jfloat)result; 2378 return jresult; 2379 } 2380 2381 2382 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2383 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2384 btScalar arg2 ; 2385 2386 (void)jenv; 2387 (void)jcls; 2388 (void)jarg1_; 2389 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2390 arg2 = (btScalar)jarg2; 2391 if (arg1) (arg1)->m_angularDamping = arg2; 2392 } 2393 2394 2395 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2396 jfloat jresult = 0 ; 2397 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2398 btScalar result; 2399 2400 (void)jenv; 2401 (void)jcls; 2402 (void)jarg1_; 2403 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2404 result = (btScalar) ((arg1)->m_angularDamping); 2405 jresult = (jfloat)result; 2406 return jresult; 2407 } 2408 2409 2410 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2411 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2412 btScalar arg2 ; 2413 2414 (void)jenv; 2415 (void)jcls; 2416 (void)jarg1_; 2417 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2418 arg2 = (btScalar)jarg2; 2419 if (arg1) (arg1)->m_friction = arg2; 2420 } 2421 2422 2423 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2424 jfloat jresult = 0 ; 2425 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2426 btScalar result; 2427 2428 (void)jenv; 2429 (void)jcls; 2430 (void)jarg1_; 2431 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2432 result = (btScalar) ((arg1)->m_friction); 2433 jresult = (jfloat)result; 2434 return jresult; 2435 } 2436 2437 2438 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1rollingFriction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2439 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2440 btScalar arg2 ; 2441 2442 (void)jenv; 2443 (void)jcls; 2444 (void)jarg1_; 2445 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2446 arg2 = (btScalar)jarg2; 2447 if (arg1) (arg1)->m_rollingFriction = arg2; 2448 } 2449 2450 2451 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1rollingFriction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2452 jfloat jresult = 0 ; 2453 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2454 btScalar result; 2455 2456 (void)jenv; 2457 (void)jcls; 2458 (void)jarg1_; 2459 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2460 result = (btScalar) ((arg1)->m_rollingFriction); 2461 jresult = (jfloat)result; 2462 return jresult; 2463 } 2464 2465 2466 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2467 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2468 btScalar arg2 ; 2469 2470 (void)jenv; 2471 (void)jcls; 2472 (void)jarg1_; 2473 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2474 arg2 = (btScalar)jarg2; 2475 if (arg1) (arg1)->m_restitution = arg2; 2476 } 2477 2478 2479 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2480 jfloat jresult = 0 ; 2481 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2482 btScalar result; 2483 2484 (void)jenv; 2485 (void)jcls; 2486 (void)jarg1_; 2487 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2488 result = (btScalar) ((arg1)->m_restitution); 2489 jresult = (jfloat)result; 2490 return jresult; 2491 } 2492 2493 2494 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2495 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2496 btScalar arg2 ; 2497 2498 (void)jenv; 2499 (void)jcls; 2500 (void)jarg1_; 2501 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2502 arg2 = (btScalar)jarg2; 2503 if (arg1) (arg1)->m_linearSleepingThreshold = arg2; 2504 } 2505 2506 2507 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2508 jfloat jresult = 0 ; 2509 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2510 btScalar result; 2511 2512 (void)jenv; 2513 (void)jcls; 2514 (void)jarg1_; 2515 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2516 result = (btScalar) ((arg1)->m_linearSleepingThreshold); 2517 jresult = (jfloat)result; 2518 return jresult; 2519 } 2520 2521 2522 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2523 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2524 btScalar arg2 ; 2525 2526 (void)jenv; 2527 (void)jcls; 2528 (void)jarg1_; 2529 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2530 arg2 = (btScalar)jarg2; 2531 if (arg1) (arg1)->m_angularSleepingThreshold = arg2; 2532 } 2533 2534 2535 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2536 jfloat jresult = 0 ; 2537 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2538 btScalar result; 2539 2540 (void)jenv; 2541 (void)jcls; 2542 (void)jarg1_; 2543 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2544 result = (btScalar) ((arg1)->m_angularSleepingThreshold); 2545 jresult = (jfloat)result; 2546 return jresult; 2547 } 2548 2549 2550 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 2551 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2552 bool arg2 ; 2553 2554 (void)jenv; 2555 (void)jcls; 2556 (void)jarg1_; 2557 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2558 arg2 = jarg2 ? true : false; 2559 if (arg1) (arg1)->m_additionalDamping = arg2; 2560 } 2561 2562 2563 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2564 jboolean jresult = 0 ; 2565 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2566 bool result; 2567 2568 (void)jenv; 2569 (void)jcls; 2570 (void)jarg1_; 2571 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2572 result = (bool) ((arg1)->m_additionalDamping); 2573 jresult = (jboolean)result; 2574 return jresult; 2575 } 2576 2577 2578 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2579 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2580 btScalar arg2 ; 2581 2582 (void)jenv; 2583 (void)jcls; 2584 (void)jarg1_; 2585 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2586 arg2 = (btScalar)jarg2; 2587 if (arg1) (arg1)->m_additionalDampingFactor = arg2; 2588 } 2589 2590 2591 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2592 jfloat jresult = 0 ; 2593 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2594 btScalar result; 2595 2596 (void)jenv; 2597 (void)jcls; 2598 (void)jarg1_; 2599 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2600 result = (btScalar) ((arg1)->m_additionalDampingFactor); 2601 jresult = (jfloat)result; 2602 return jresult; 2603 } 2604 2605 2606 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2607 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2608 btScalar arg2 ; 2609 2610 (void)jenv; 2611 (void)jcls; 2612 (void)jarg1_; 2613 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2614 arg2 = (btScalar)jarg2; 2615 if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2; 2616 } 2617 2618 2619 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2620 jfloat jresult = 0 ; 2621 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2622 btScalar result; 2623 2624 (void)jenv; 2625 (void)jcls; 2626 (void)jarg1_; 2627 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2628 result = (btScalar) ((arg1)->m_additionalLinearDampingThresholdSqr); 2629 jresult = (jfloat)result; 2630 return jresult; 2631 } 2632 2633 2634 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2635 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2636 btScalar arg2 ; 2637 2638 (void)jenv; 2639 (void)jcls; 2640 (void)jarg1_; 2641 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2642 arg2 = (btScalar)jarg2; 2643 if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2; 2644 } 2645 2646 2647 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2648 jfloat jresult = 0 ; 2649 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2650 btScalar result; 2651 2652 (void)jenv; 2653 (void)jcls; 2654 (void)jarg1_; 2655 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2656 result = (btScalar) ((arg1)->m_additionalAngularDampingThresholdSqr); 2657 jresult = (jfloat)result; 2658 return jresult; 2659 } 2660 2661 2662 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2663 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2664 btScalar arg2 ; 2665 2666 (void)jenv; 2667 (void)jcls; 2668 (void)jarg1_; 2669 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2670 arg2 = (btScalar)jarg2; 2671 if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2; 2672 } 2673 2674 2675 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1btRigidBodyConstructionInfo_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2676 jfloat jresult = 0 ; 2677 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2678 btScalar result; 2679 2680 (void)jenv; 2681 (void)jcls; 2682 (void)jarg1_; 2683 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2684 result = (btScalar) ((arg1)->m_additionalAngularDampingFactor); 2685 jresult = (jfloat)result; 2686 return jresult; 2687 } 2688 2689 2690 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1btRigidBodyConstructionInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5) { 2691 jlong jresult = 0 ; 2692 bool arg1 ; 2693 btScalar arg2 ; 2694 btMotionState *arg3 = (btMotionState *) 0 ; 2695 btCollisionShape *arg4 = (btCollisionShape *) 0 ; 2696 btVector3 *arg5 = 0 ; 2697 btRigidBody::btRigidBodyConstructionInfo *result = 0 ; 2698 2699 (void)jenv; 2700 (void)jcls; 2701 (void)jarg3_; 2702 (void)jarg4_; 2703 arg1 = jarg1 ? true : false; 2704 arg2 = (btScalar)jarg2; 2705 arg3 = *(btMotionState **)&jarg3; 2706 arg4 = *(btCollisionShape **)&jarg4; 2707 btVector3 local_arg5; 2708 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 2709 arg5 = &local_arg5; 2710 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 2711 result = (btRigidBody::btRigidBodyConstructionInfo *)new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5); 2712 *(btRigidBody::btRigidBodyConstructionInfo **)&jresult = result; 2713 return jresult; 2714 } 2715 2716 2717 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1btRigidBodyConstructionInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) { 2718 jlong jresult = 0 ; 2719 bool arg1 ; 2720 btScalar arg2 ; 2721 btMotionState *arg3 = (btMotionState *) 0 ; 2722 btCollisionShape *arg4 = (btCollisionShape *) 0 ; 2723 btRigidBody::btRigidBodyConstructionInfo *result = 0 ; 2724 2725 (void)jenv; 2726 (void)jcls; 2727 (void)jarg3_; 2728 (void)jarg4_; 2729 arg1 = jarg1 ? true : false; 2730 arg2 = (btScalar)jarg2; 2731 arg3 = *(btMotionState **)&jarg3; 2732 arg4 = *(btCollisionShape **)&jarg4; 2733 result = (btRigidBody::btRigidBodyConstructionInfo *)new_btRigidBody_btRigidBodyConstructionInfo__SWIG_0(arg1,arg2,arg3,arg4); 2734 *(btRigidBody::btRigidBodyConstructionInfo **)&jresult = result; 2735 return jresult; 2736 } 2737 2738 2739 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBody_1btRigidBodyConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) { 2740 btRigidBody::btRigidBodyConstructionInfo *arg1 = (btRigidBody::btRigidBodyConstructionInfo *) 0 ; 2741 2742 (void)jenv; 2743 (void)jcls; 2744 arg1 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg1; 2745 delete arg1; 2746 } 2747 2748 2749 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1) { 2750 btRigidBody *arg1 = (btRigidBody *) 0 ; 2751 2752 (void)jenv; 2753 (void)jcls; 2754 arg1 = *(btRigidBody **)&jarg1; 2755 delete arg1; 2756 } 2757 2758 2759 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1proceedToTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 2760 btRigidBody *arg1 = (btRigidBody *) 0 ; 2761 btTransform *arg2 = 0 ; 2762 2763 (void)jenv; 2764 (void)jcls; 2765 (void)jarg1_; 2766 arg1 = *(btRigidBody **)&jarg1; 2767 btTransform local_arg2; 2768 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 2769 arg2 = &local_arg2; 2770 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 2771 (arg1)->proceedToTransform((btTransform const &)*arg2); 2772 } 2773 2774 2775 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1predictIntegratedTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) { 2776 btRigidBody *arg1 = (btRigidBody *) 0 ; 2777 btScalar arg2 ; 2778 btTransform *arg3 = 0 ; 2779 2780 (void)jenv; 2781 (void)jcls; 2782 (void)jarg1_; 2783 arg1 = *(btRigidBody **)&jarg1; 2784 arg2 = (btScalar)jarg2; 2785 btTransform local_arg3; 2786 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 2787 arg3 = &local_arg3; 2788 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 2789 (arg1)->predictIntegratedTransform(arg2,*arg3); 2790 } 2791 2792 2793 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1saveKinematicState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2794 btRigidBody *arg1 = (btRigidBody *) 0 ; 2795 btScalar arg2 ; 2796 2797 (void)jenv; 2798 (void)jcls; 2799 (void)jarg1_; 2800 arg1 = *(btRigidBody **)&jarg1; 2801 arg2 = (btScalar)jarg2; 2802 (arg1)->saveKinematicState(arg2); 2803 } 2804 2805 2806 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2807 btRigidBody *arg1 = (btRigidBody *) 0 ; 2808 2809 (void)jenv; 2810 (void)jcls; 2811 (void)jarg1_; 2812 arg1 = *(btRigidBody **)&jarg1; 2813 (arg1)->applyGravity(); 2814 } 2815 2816 2817 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 2818 btRigidBody *arg1 = (btRigidBody *) 0 ; 2819 btVector3 *arg2 = 0 ; 2820 2821 (void)jenv; 2822 (void)jcls; 2823 (void)jarg1_; 2824 arg1 = *(btRigidBody **)&jarg1; 2825 btVector3 local_arg2; 2826 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 2827 arg2 = &local_arg2; 2828 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 2829 (arg1)->setGravity((btVector3 const &)*arg2); 2830 } 2831 2832 2833 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2834 jobject jresult = 0 ; 2835 btRigidBody *arg1 = (btRigidBody *) 0 ; 2836 btVector3 *result = 0 ; 2837 2838 (void)jenv; 2839 (void)jcls; 2840 (void)jarg1_; 2841 arg1 = *(btRigidBody **)&jarg1; 2842 result = (btVector3 *) &((btRigidBody const *)arg1)->getGravity(); 2843 jresult = gdx_getReturnVector3(jenv); 2844 gdx_setVector3FrombtVector3(jenv, jresult, result); 2845 return jresult; 2846 } 2847 2848 2849 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 2850 btRigidBody *arg1 = (btRigidBody *) 0 ; 2851 btScalar arg2 ; 2852 btScalar arg3 ; 2853 2854 (void)jenv; 2855 (void)jcls; 2856 (void)jarg1_; 2857 arg1 = *(btRigidBody **)&jarg1; 2858 arg2 = (btScalar)jarg2; 2859 arg3 = (btScalar)jarg3; 2860 (arg1)->setDamping(arg2,arg3); 2861 } 2862 2863 2864 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2865 jfloat jresult = 0 ; 2866 btRigidBody *arg1 = (btRigidBody *) 0 ; 2867 btScalar result; 2868 2869 (void)jenv; 2870 (void)jcls; 2871 (void)jarg1_; 2872 arg1 = *(btRigidBody **)&jarg1; 2873 result = (btScalar)((btRigidBody const *)arg1)->getLinearDamping(); 2874 jresult = (jfloat)result; 2875 return jresult; 2876 } 2877 2878 2879 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2880 jfloat jresult = 0 ; 2881 btRigidBody *arg1 = (btRigidBody *) 0 ; 2882 btScalar result; 2883 2884 (void)jenv; 2885 (void)jcls; 2886 (void)jarg1_; 2887 arg1 = *(btRigidBody **)&jarg1; 2888 result = (btScalar)((btRigidBody const *)arg1)->getAngularDamping(); 2889 jresult = (jfloat)result; 2890 return jresult; 2891 } 2892 2893 2894 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearSleepingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2895 jfloat jresult = 0 ; 2896 btRigidBody *arg1 = (btRigidBody *) 0 ; 2897 btScalar result; 2898 2899 (void)jenv; 2900 (void)jcls; 2901 (void)jarg1_; 2902 arg1 = *(btRigidBody **)&jarg1; 2903 result = (btScalar)((btRigidBody const *)arg1)->getLinearSleepingThreshold(); 2904 jresult = (jfloat)result; 2905 return jresult; 2906 } 2907 2908 2909 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularSleepingThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2910 jfloat jresult = 0 ; 2911 btRigidBody *arg1 = (btRigidBody *) 0 ; 2912 btScalar result; 2913 2914 (void)jenv; 2915 (void)jcls; 2916 (void)jarg1_; 2917 arg1 = *(btRigidBody **)&jarg1; 2918 result = (btScalar)((btRigidBody const *)arg1)->getAngularSleepingThreshold(); 2919 jresult = (jfloat)result; 2920 return jresult; 2921 } 2922 2923 2924 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 2925 btRigidBody *arg1 = (btRigidBody *) 0 ; 2926 btScalar arg2 ; 2927 2928 (void)jenv; 2929 (void)jcls; 2930 (void)jarg1_; 2931 arg1 = *(btRigidBody **)&jarg1; 2932 arg2 = (btScalar)jarg2; 2933 (arg1)->applyDamping(arg2); 2934 } 2935 2936 2937 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setMassProps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3) { 2938 btRigidBody *arg1 = (btRigidBody *) 0 ; 2939 btScalar arg2 ; 2940 btVector3 *arg3 = 0 ; 2941 2942 (void)jenv; 2943 (void)jcls; 2944 (void)jarg1_; 2945 arg1 = *(btRigidBody **)&jarg1; 2946 arg2 = (btScalar)jarg2; 2947 btVector3 local_arg3; 2948 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 2949 arg3 = &local_arg3; 2950 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 2951 (arg1)->setMassProps(arg2,(btVector3 const &)*arg3); 2952 } 2953 2954 2955 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2956 jobject jresult = 0 ; 2957 btRigidBody *arg1 = (btRigidBody *) 0 ; 2958 btVector3 *result = 0 ; 2959 2960 (void)jenv; 2961 (void)jcls; 2962 (void)jarg1_; 2963 arg1 = *(btRigidBody **)&jarg1; 2964 result = (btVector3 *) &((btRigidBody const *)arg1)->getLinearFactor(); 2965 jresult = gdx_getReturnVector3(jenv); 2966 gdx_setVector3FrombtVector3(jenv, jresult, result); 2967 return jresult; 2968 } 2969 2970 2971 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setLinearFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 2972 btRigidBody *arg1 = (btRigidBody *) 0 ; 2973 btVector3 *arg2 = 0 ; 2974 2975 (void)jenv; 2976 (void)jcls; 2977 (void)jarg1_; 2978 arg1 = *(btRigidBody **)&jarg1; 2979 btVector3 local_arg2; 2980 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 2981 arg2 = &local_arg2; 2982 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 2983 (arg1)->setLinearFactor((btVector3 const &)*arg2); 2984 } 2985 2986 2987 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 2988 jfloat jresult = 0 ; 2989 btRigidBody *arg1 = (btRigidBody *) 0 ; 2990 btScalar result; 2991 2992 (void)jenv; 2993 (void)jcls; 2994 (void)jarg1_; 2995 arg1 = *(btRigidBody **)&jarg1; 2996 result = (btScalar)((btRigidBody const *)arg1)->getInvMass(); 2997 jresult = (jfloat)result; 2998 return jresult; 2999 } 3000 3001 3002 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvInertiaTensorWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3003 jobject jresult = 0 ; 3004 btRigidBody *arg1 = (btRigidBody *) 0 ; 3005 btMatrix3x3 *result = 0 ; 3006 3007 (void)jenv; 3008 (void)jcls; 3009 (void)jarg1_; 3010 arg1 = *(btRigidBody **)&jarg1; 3011 result = (btMatrix3x3 *) &((btRigidBody const *)arg1)->getInvInertiaTensorWorld(); 3012 jresult = gdx_getReturnMatrix3(jenv); 3013 gdx_setMatrix3FrombtMatrix3x3(jenv, jresult, result); 3014 return jresult; 3015 } 3016 3017 3018 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1integrateVelocities(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 3019 btRigidBody *arg1 = (btRigidBody *) 0 ; 3020 btScalar arg2 ; 3021 3022 (void)jenv; 3023 (void)jcls; 3024 (void)jarg1_; 3025 arg1 = *(btRigidBody **)&jarg1; 3026 arg2 = (btScalar)jarg2; 3027 (arg1)->integrateVelocities(arg2); 3028 } 3029 3030 3031 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setCenterOfMassTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3032 btRigidBody *arg1 = (btRigidBody *) 0 ; 3033 btTransform *arg2 = 0 ; 3034 3035 (void)jenv; 3036 (void)jcls; 3037 (void)jarg1_; 3038 arg1 = *(btRigidBody **)&jarg1; 3039 btTransform local_arg2; 3040 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 3041 arg2 = &local_arg2; 3042 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 3043 (arg1)->setCenterOfMassTransform((btTransform const &)*arg2); 3044 } 3045 3046 3047 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyCentralForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3048 btRigidBody *arg1 = (btRigidBody *) 0 ; 3049 btVector3 *arg2 = 0 ; 3050 3051 (void)jenv; 3052 (void)jcls; 3053 (void)jarg1_; 3054 arg1 = *(btRigidBody **)&jarg1; 3055 btVector3 local_arg2; 3056 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3057 arg2 = &local_arg2; 3058 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3059 (arg1)->applyCentralForce((btVector3 const &)*arg2); 3060 } 3061 3062 3063 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getTotalForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3064 jobject jresult = 0 ; 3065 btRigidBody *arg1 = (btRigidBody *) 0 ; 3066 btVector3 *result = 0 ; 3067 3068 (void)jenv; 3069 (void)jcls; 3070 (void)jarg1_; 3071 arg1 = *(btRigidBody **)&jarg1; 3072 result = (btVector3 *) &((btRigidBody const *)arg1)->getTotalForce(); 3073 jresult = gdx_getReturnVector3(jenv); 3074 gdx_setVector3FrombtVector3(jenv, jresult, result); 3075 return jresult; 3076 } 3077 3078 3079 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getTotalTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3080 jobject jresult = 0 ; 3081 btRigidBody *arg1 = (btRigidBody *) 0 ; 3082 btVector3 *result = 0 ; 3083 3084 (void)jenv; 3085 (void)jcls; 3086 (void)jarg1_; 3087 arg1 = *(btRigidBody **)&jarg1; 3088 result = (btVector3 *) &((btRigidBody const *)arg1)->getTotalTorque(); 3089 jresult = gdx_getReturnVector3(jenv); 3090 gdx_setVector3FrombtVector3(jenv, jresult, result); 3091 return jresult; 3092 } 3093 3094 3095 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvInertiaDiagLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3096 jobject jresult = 0 ; 3097 btRigidBody *arg1 = (btRigidBody *) 0 ; 3098 btVector3 *result = 0 ; 3099 3100 (void)jenv; 3101 (void)jcls; 3102 (void)jarg1_; 3103 arg1 = *(btRigidBody **)&jarg1; 3104 result = (btVector3 *) &((btRigidBody const *)arg1)->getInvInertiaDiagLocal(); 3105 jresult = gdx_getReturnVector3(jenv); 3106 gdx_setVector3FrombtVector3(jenv, jresult, result); 3107 return jresult; 3108 } 3109 3110 3111 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setInvInertiaDiagLocal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3112 btRigidBody *arg1 = (btRigidBody *) 0 ; 3113 btVector3 *arg2 = 0 ; 3114 3115 (void)jenv; 3116 (void)jcls; 3117 (void)jarg1_; 3118 arg1 = *(btRigidBody **)&jarg1; 3119 btVector3 local_arg2; 3120 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3121 arg2 = &local_arg2; 3122 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3123 (arg1)->setInvInertiaDiagLocal((btVector3 const &)*arg2); 3124 } 3125 3126 3127 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setSleepingThresholds(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 3128 btRigidBody *arg1 = (btRigidBody *) 0 ; 3129 btScalar arg2 ; 3130 btScalar arg3 ; 3131 3132 (void)jenv; 3133 (void)jcls; 3134 (void)jarg1_; 3135 arg1 = *(btRigidBody **)&jarg1; 3136 arg2 = (btScalar)jarg2; 3137 arg3 = (btScalar)jarg3; 3138 (arg1)->setSleepingThresholds(arg2,arg3); 3139 } 3140 3141 3142 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyTorque(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3143 btRigidBody *arg1 = (btRigidBody *) 0 ; 3144 btVector3 *arg2 = 0 ; 3145 3146 (void)jenv; 3147 (void)jcls; 3148 (void)jarg1_; 3149 arg1 = *(btRigidBody **)&jarg1; 3150 btVector3 local_arg2; 3151 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3152 arg2 = &local_arg2; 3153 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3154 (arg1)->applyTorque((btVector3 const &)*arg2); 3155 } 3156 3157 3158 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 3159 btRigidBody *arg1 = (btRigidBody *) 0 ; 3160 btVector3 *arg2 = 0 ; 3161 btVector3 *arg3 = 0 ; 3162 3163 (void)jenv; 3164 (void)jcls; 3165 (void)jarg1_; 3166 arg1 = *(btRigidBody **)&jarg1; 3167 btVector3 local_arg2; 3168 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3169 arg2 = &local_arg2; 3170 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3171 btVector3 local_arg3; 3172 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 3173 arg3 = &local_arg3; 3174 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 3175 (arg1)->applyForce((btVector3 const &)*arg2,(btVector3 const &)*arg3); 3176 } 3177 3178 3179 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyCentralImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3180 btRigidBody *arg1 = (btRigidBody *) 0 ; 3181 btVector3 *arg2 = 0 ; 3182 3183 (void)jenv; 3184 (void)jcls; 3185 (void)jarg1_; 3186 arg1 = *(btRigidBody **)&jarg1; 3187 btVector3 local_arg2; 3188 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3189 arg2 = &local_arg2; 3190 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3191 (arg1)->applyCentralImpulse((btVector3 const &)*arg2); 3192 } 3193 3194 3195 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyTorqueImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3196 btRigidBody *arg1 = (btRigidBody *) 0 ; 3197 btVector3 *arg2 = 0 ; 3198 3199 (void)jenv; 3200 (void)jcls; 3201 (void)jarg1_; 3202 arg1 = *(btRigidBody **)&jarg1; 3203 btVector3 local_arg2; 3204 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3205 arg2 = &local_arg2; 3206 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3207 (arg1)->applyTorqueImpulse((btVector3 const &)*arg2); 3208 } 3209 3210 3211 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 3212 btRigidBody *arg1 = (btRigidBody *) 0 ; 3213 btVector3 *arg2 = 0 ; 3214 btVector3 *arg3 = 0 ; 3215 3216 (void)jenv; 3217 (void)jcls; 3218 (void)jarg1_; 3219 arg1 = *(btRigidBody **)&jarg1; 3220 btVector3 local_arg2; 3221 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3222 arg2 = &local_arg2; 3223 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3224 btVector3 local_arg3; 3225 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 3226 arg3 = &local_arg3; 3227 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 3228 (arg1)->applyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3); 3229 } 3230 3231 3232 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1clearForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3233 btRigidBody *arg1 = (btRigidBody *) 0 ; 3234 3235 (void)jenv; 3236 (void)jcls; 3237 (void)jarg1_; 3238 arg1 = *(btRigidBody **)&jarg1; 3239 (arg1)->clearForces(); 3240 } 3241 3242 3243 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1updateInertiaTensor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3244 btRigidBody *arg1 = (btRigidBody *) 0 ; 3245 3246 (void)jenv; 3247 (void)jcls; 3248 (void)jarg1_; 3249 arg1 = *(btRigidBody **)&jarg1; 3250 (arg1)->updateInertiaTensor(); 3251 } 3252 3253 3254 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getCenterOfMassPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3255 jobject jresult = 0 ; 3256 btRigidBody *arg1 = (btRigidBody *) 0 ; 3257 btVector3 *result = 0 ; 3258 3259 (void)jenv; 3260 (void)jcls; 3261 (void)jarg1_; 3262 arg1 = *(btRigidBody **)&jarg1; 3263 result = (btVector3 *) &((btRigidBody const *)arg1)->getCenterOfMassPosition(); 3264 jresult = gdx_getReturnVector3(jenv); 3265 gdx_setVector3FrombtVector3(jenv, jresult, result); 3266 return jresult; 3267 } 3268 3269 3270 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getOrientation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3271 jobject jresult = 0 ; 3272 btRigidBody *arg1 = (btRigidBody *) 0 ; 3273 btQuaternion result; 3274 3275 (void)jenv; 3276 (void)jcls; 3277 (void)jarg1_; 3278 arg1 = *(btRigidBody **)&jarg1; 3279 result = ((btRigidBody const *)arg1)->getOrientation(); 3280 jresult = gdx_getReturnQuaternion(jenv); 3281 gdx_setQuaternionFrombtQuaternion(jenv, jresult, result); 3282 return jresult; 3283 } 3284 3285 3286 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getCenterOfMassTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3287 jobject jresult = 0 ; 3288 btRigidBody *arg1 = (btRigidBody *) 0 ; 3289 btTransform *result = 0 ; 3290 3291 (void)jenv; 3292 (void)jcls; 3293 (void)jarg1_; 3294 arg1 = *(btRigidBody **)&jarg1; 3295 result = (btTransform *) &((btRigidBody const *)arg1)->getCenterOfMassTransform(); 3296 jresult = gdx_getReturnMatrix4(jenv); 3297 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 3298 return jresult; 3299 } 3300 3301 3302 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3303 jobject jresult = 0 ; 3304 btRigidBody *arg1 = (btRigidBody *) 0 ; 3305 btVector3 *result = 0 ; 3306 3307 (void)jenv; 3308 (void)jcls; 3309 (void)jarg1_; 3310 arg1 = *(btRigidBody **)&jarg1; 3311 result = (btVector3 *) &((btRigidBody const *)arg1)->getLinearVelocity(); 3312 jresult = gdx_getReturnVector3(jenv); 3313 gdx_setVector3FrombtVector3(jenv, jresult, result); 3314 return jresult; 3315 } 3316 3317 3318 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3319 jobject jresult = 0 ; 3320 btRigidBody *arg1 = (btRigidBody *) 0 ; 3321 btVector3 *result = 0 ; 3322 3323 (void)jenv; 3324 (void)jcls; 3325 (void)jarg1_; 3326 arg1 = *(btRigidBody **)&jarg1; 3327 result = (btVector3 *) &((btRigidBody const *)arg1)->getAngularVelocity(); 3328 jresult = gdx_getReturnVector3(jenv); 3329 gdx_setVector3FrombtVector3(jenv, jresult, result); 3330 return jresult; 3331 } 3332 3333 3334 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3335 btRigidBody *arg1 = (btRigidBody *) 0 ; 3336 btVector3 *arg2 = 0 ; 3337 3338 (void)jenv; 3339 (void)jcls; 3340 (void)jarg1_; 3341 arg1 = *(btRigidBody **)&jarg1; 3342 btVector3 local_arg2; 3343 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3344 arg2 = &local_arg2; 3345 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3346 (arg1)->setLinearVelocity((btVector3 const &)*arg2); 3347 } 3348 3349 3350 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3351 btRigidBody *arg1 = (btRigidBody *) 0 ; 3352 btVector3 *arg2 = 0 ; 3353 3354 (void)jenv; 3355 (void)jcls; 3356 (void)jarg1_; 3357 arg1 = *(btRigidBody **)&jarg1; 3358 btVector3 local_arg2; 3359 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3360 arg2 = &local_arg2; 3361 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3362 (arg1)->setAngularVelocity((btVector3 const &)*arg2); 3363 } 3364 3365 3366 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getVelocityInLocalPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3367 jobject jresult = 0 ; 3368 btRigidBody *arg1 = (btRigidBody *) 0 ; 3369 btVector3 *arg2 = 0 ; 3370 btVector3 result; 3371 3372 (void)jenv; 3373 (void)jcls; 3374 (void)jarg1_; 3375 arg1 = *(btRigidBody **)&jarg1; 3376 btVector3 local_arg2; 3377 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3378 arg2 = &local_arg2; 3379 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3380 result = ((btRigidBody const *)arg1)->getVelocityInLocalPoint((btVector3 const &)*arg2); 3381 jresult = gdx_getReturnVector3(jenv); 3382 gdx_setVector3FrombtVector3(jenv, jresult, result); 3383 return jresult; 3384 } 3385 3386 3387 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1translate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3388 btRigidBody *arg1 = (btRigidBody *) 0 ; 3389 btVector3 *arg2 = 0 ; 3390 3391 (void)jenv; 3392 (void)jcls; 3393 (void)jarg1_; 3394 arg1 = *(btRigidBody **)&jarg1; 3395 btVector3 local_arg2; 3396 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3397 arg2 = &local_arg2; 3398 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3399 (arg1)->translate((btVector3 const &)*arg2); 3400 } 3401 3402 3403 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAabb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 3404 btRigidBody *arg1 = (btRigidBody *) 0 ; 3405 btVector3 *arg2 = 0 ; 3406 btVector3 *arg3 = 0 ; 3407 3408 (void)jenv; 3409 (void)jcls; 3410 (void)jarg1_; 3411 arg1 = *(btRigidBody **)&jarg1; 3412 btVector3 local_arg2; 3413 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3414 arg2 = &local_arg2; 3415 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3416 btVector3 local_arg3; 3417 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 3418 arg3 = &local_arg3; 3419 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 3420 ((btRigidBody const *)arg1)->getAabb(*arg2,*arg3); 3421 } 3422 3423 3424 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeImpulseDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 3425 jfloat jresult = 0 ; 3426 btRigidBody *arg1 = (btRigidBody *) 0 ; 3427 btVector3 *arg2 = 0 ; 3428 btVector3 *arg3 = 0 ; 3429 btScalar result; 3430 3431 (void)jenv; 3432 (void)jcls; 3433 (void)jarg1_; 3434 arg1 = *(btRigidBody **)&jarg1; 3435 btVector3 local_arg2; 3436 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3437 arg2 = &local_arg2; 3438 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3439 btVector3 local_arg3; 3440 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 3441 arg3 = &local_arg3; 3442 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 3443 result = (btScalar)((btRigidBody const *)arg1)->computeImpulseDenominator((btVector3 const &)*arg2,(btVector3 const &)*arg3); 3444 jresult = (jfloat)result; 3445 return jresult; 3446 } 3447 3448 3449 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeAngularImpulseDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3450 jfloat jresult = 0 ; 3451 btRigidBody *arg1 = (btRigidBody *) 0 ; 3452 btVector3 *arg2 = 0 ; 3453 btScalar result; 3454 3455 (void)jenv; 3456 (void)jcls; 3457 (void)jarg1_; 3458 arg1 = *(btRigidBody **)&jarg1; 3459 btVector3 local_arg2; 3460 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3461 arg2 = &local_arg2; 3462 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3463 result = (btScalar)((btRigidBody const *)arg1)->computeAngularImpulseDenominator((btVector3 const &)*arg2); 3464 jresult = (jfloat)result; 3465 return jresult; 3466 } 3467 3468 3469 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1updateDeactivation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 3470 btRigidBody *arg1 = (btRigidBody *) 0 ; 3471 btScalar arg2 ; 3472 3473 (void)jenv; 3474 (void)jcls; 3475 (void)jarg1_; 3476 arg1 = *(btRigidBody **)&jarg1; 3477 arg2 = (btScalar)jarg2; 3478 (arg1)->updateDeactivation(arg2); 3479 } 3480 3481 3482 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1wantsSleeping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3483 jboolean jresult = 0 ; 3484 btRigidBody *arg1 = (btRigidBody *) 0 ; 3485 bool result; 3486 3487 (void)jenv; 3488 (void)jcls; 3489 (void)jarg1_; 3490 arg1 = *(btRigidBody **)&jarg1; 3491 result = (bool)(arg1)->wantsSleeping(); 3492 jresult = (jboolean)result; 3493 return jresult; 3494 } 3495 3496 3497 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getBroadphaseProxy_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3498 jlong jresult = 0 ; 3499 btRigidBody *arg1 = (btRigidBody *) 0 ; 3500 btBroadphaseProxy *result = 0 ; 3501 3502 (void)jenv; 3503 (void)jcls; 3504 (void)jarg1_; 3505 arg1 = *(btRigidBody **)&jarg1; 3506 result = (btBroadphaseProxy *)((btRigidBody const *)arg1)->getBroadphaseProxy(); 3507 *(btBroadphaseProxy **)&jresult = result; 3508 return jresult; 3509 } 3510 3511 3512 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setNewBroadphaseProxy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3513 btRigidBody *arg1 = (btRigidBody *) 0 ; 3514 btBroadphaseProxy *arg2 = (btBroadphaseProxy *) 0 ; 3515 3516 (void)jenv; 3517 (void)jcls; 3518 (void)jarg1_; 3519 (void)jarg2_; 3520 arg1 = *(btRigidBody **)&jarg1; 3521 arg2 = *(btBroadphaseProxy **)&jarg2; 3522 (arg1)->setNewBroadphaseProxy(arg2); 3523 } 3524 3525 3526 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1internalGetMotionState_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3527 jlong jresult = 0 ; 3528 btRigidBody *arg1 = (btRigidBody *) 0 ; 3529 btMotionState *result = 0 ; 3530 3531 (void)jenv; 3532 (void)jcls; 3533 (void)jarg1_; 3534 arg1 = *(btRigidBody **)&jarg1; 3535 result = (btMotionState *)(arg1)->getMotionState(); 3536 *(btMotionState **)&jresult = result; 3537 return jresult; 3538 } 3539 3540 3541 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1internalSetMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3542 btRigidBody *arg1 = (btRigidBody *) 0 ; 3543 btMotionState *arg2 = (btMotionState *) 0 ; 3544 3545 (void)jenv; 3546 (void)jcls; 3547 (void)jarg1_; 3548 (void)jarg2_; 3549 arg1 = *(btRigidBody **)&jarg1; 3550 arg2 = *(btMotionState **)&jarg2; 3551 (arg1)->setMotionState(arg2); 3552 } 3553 3554 3555 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1contactSolverType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 3556 btRigidBody *arg1 = (btRigidBody *) 0 ; 3557 int arg2 ; 3558 3559 (void)jenv; 3560 (void)jcls; 3561 (void)jarg1_; 3562 arg1 = *(btRigidBody **)&jarg1; 3563 arg2 = (int)jarg2; 3564 if (arg1) (arg1)->m_contactSolverType = arg2; 3565 } 3566 3567 3568 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1contactSolverType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3569 jint jresult = 0 ; 3570 btRigidBody *arg1 = (btRigidBody *) 0 ; 3571 int result; 3572 3573 (void)jenv; 3574 (void)jcls; 3575 (void)jarg1_; 3576 arg1 = *(btRigidBody **)&jarg1; 3577 result = (int) ((arg1)->m_contactSolverType); 3578 jresult = (jint)result; 3579 return jresult; 3580 } 3581 3582 3583 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1frictionSolverType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 3584 btRigidBody *arg1 = (btRigidBody *) 0 ; 3585 int arg2 ; 3586 3587 (void)jenv; 3588 (void)jcls; 3589 (void)jarg1_; 3590 arg1 = *(btRigidBody **)&jarg1; 3591 arg2 = (int)jarg2; 3592 if (arg1) (arg1)->m_frictionSolverType = arg2; 3593 } 3594 3595 3596 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1frictionSolverType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3597 jint jresult = 0 ; 3598 btRigidBody *arg1 = (btRigidBody *) 0 ; 3599 int result; 3600 3601 (void)jenv; 3602 (void)jcls; 3603 (void)jarg1_; 3604 arg1 = *(btRigidBody **)&jarg1; 3605 result = (int) ((arg1)->m_frictionSolverType); 3606 jresult = (jint)result; 3607 return jresult; 3608 } 3609 3610 3611 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularFactor_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 3612 btRigidBody *arg1 = (btRigidBody *) 0 ; 3613 btVector3 *arg2 = 0 ; 3614 3615 (void)jenv; 3616 (void)jcls; 3617 (void)jarg1_; 3618 arg1 = *(btRigidBody **)&jarg1; 3619 btVector3 local_arg2; 3620 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 3621 arg2 = &local_arg2; 3622 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 3623 (arg1)->setAngularFactor((btVector3 const &)*arg2); 3624 } 3625 3626 3627 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setAngularFactor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 3628 btRigidBody *arg1 = (btRigidBody *) 0 ; 3629 btScalar arg2 ; 3630 3631 (void)jenv; 3632 (void)jcls; 3633 (void)jarg1_; 3634 arg1 = *(btRigidBody **)&jarg1; 3635 arg2 = (btScalar)jarg2; 3636 (arg1)->setAngularFactor(arg2); 3637 } 3638 3639 3640 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getAngularFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3641 jobject jresult = 0 ; 3642 btRigidBody *arg1 = (btRigidBody *) 0 ; 3643 btVector3 *result = 0 ; 3644 3645 (void)jenv; 3646 (void)jcls; 3647 (void)jarg1_; 3648 arg1 = *(btRigidBody **)&jarg1; 3649 result = (btVector3 *) &((btRigidBody const *)arg1)->getAngularFactor(); 3650 jresult = gdx_getReturnVector3(jenv); 3651 gdx_setVector3FrombtVector3(jenv, jresult, result); 3652 return jresult; 3653 } 3654 3655 3656 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1isInWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3657 jboolean jresult = 0 ; 3658 btRigidBody *arg1 = (btRigidBody *) 0 ; 3659 bool result; 3660 3661 (void)jenv; 3662 (void)jcls; 3663 (void)jarg1_; 3664 arg1 = *(btRigidBody **)&jarg1; 3665 result = (bool)((btRigidBody const *)arg1)->isInWorld(); 3666 jresult = (jboolean)result; 3667 return jresult; 3668 } 3669 3670 3671 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1addConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3672 btRigidBody *arg1 = (btRigidBody *) 0 ; 3673 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 3674 3675 (void)jenv; 3676 (void)jcls; 3677 (void)jarg1_; 3678 (void)jarg2_; 3679 arg1 = *(btRigidBody **)&jarg1; 3680 arg2 = *(btTypedConstraint **)&jarg2; 3681 (arg1)->addConstraintRef(arg2); 3682 } 3683 3684 3685 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1removeConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3686 btRigidBody *arg1 = (btRigidBody *) 0 ; 3687 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 3688 3689 (void)jenv; 3690 (void)jcls; 3691 (void)jarg1_; 3692 (void)jarg2_; 3693 arg1 = *(btRigidBody **)&jarg1; 3694 arg2 = *(btTypedConstraint **)&jarg2; 3695 (arg1)->removeConstraintRef(arg2); 3696 } 3697 3698 3699 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getConstraintRef(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 3700 jlong jresult = 0 ; 3701 btRigidBody *arg1 = (btRigidBody *) 0 ; 3702 int arg2 ; 3703 btTypedConstraint *result = 0 ; 3704 3705 (void)jenv; 3706 (void)jcls; 3707 (void)jarg1_; 3708 arg1 = *(btRigidBody **)&jarg1; 3709 arg2 = (int)jarg2; 3710 result = (btTypedConstraint *)(arg1)->getConstraintRef(arg2); 3711 *(btTypedConstraint **)&jresult = result; 3712 return jresult; 3713 } 3714 3715 3716 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getNumConstraintRefs(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3717 jint jresult = 0 ; 3718 btRigidBody *arg1 = (btRigidBody *) 0 ; 3719 int result; 3720 3721 (void)jenv; 3722 (void)jcls; 3723 (void)jarg1_; 3724 arg1 = *(btRigidBody **)&jarg1; 3725 result = (int)((btRigidBody const *)arg1)->getNumConstraintRefs(); 3726 jresult = (jint)result; 3727 return jresult; 3728 } 3729 3730 3731 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1setFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 3732 btRigidBody *arg1 = (btRigidBody *) 0 ; 3733 int arg2 ; 3734 3735 (void)jenv; 3736 (void)jcls; 3737 (void)jarg1_; 3738 arg1 = *(btRigidBody **)&jarg1; 3739 arg2 = (int)jarg2; 3740 (arg1)->setFlags(arg2); 3741 } 3742 3743 3744 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3745 jint jresult = 0 ; 3746 btRigidBody *arg1 = (btRigidBody *) 0 ; 3747 int result; 3748 3749 (void)jenv; 3750 (void)jcls; 3751 (void)jarg1_; 3752 arg1 = *(btRigidBody **)&jarg1; 3753 result = (int)((btRigidBody const *)arg1)->getFlags(); 3754 jresult = (jint)result; 3755 return jresult; 3756 } 3757 3758 3759 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicImpulseImplicit_1World(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 3760 jobject jresult = 0 ; 3761 btRigidBody *arg1 = (btRigidBody *) 0 ; 3762 btScalar arg2 ; 3763 btVector3 result; 3764 3765 (void)jenv; 3766 (void)jcls; 3767 (void)jarg1_; 3768 arg1 = *(btRigidBody **)&jarg1; 3769 arg2 = (btScalar)jarg2; 3770 result = ((btRigidBody const *)arg1)->computeGyroscopicImpulseImplicit_World(arg2); 3771 jresult = gdx_getReturnVector3(jenv); 3772 gdx_setVector3FrombtVector3(jenv, jresult, result); 3773 return jresult; 3774 } 3775 3776 3777 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicImpulseImplicit_1Body(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 3778 jobject jresult = 0 ; 3779 btRigidBody *arg1 = (btRigidBody *) 0 ; 3780 btScalar arg2 ; 3781 btVector3 result; 3782 3783 (void)jenv; 3784 (void)jcls; 3785 (void)jarg1_; 3786 arg1 = *(btRigidBody **)&jarg1; 3787 arg2 = (btScalar)jarg2; 3788 result = ((btRigidBody const *)arg1)->computeGyroscopicImpulseImplicit_Body(arg2); 3789 jresult = gdx_getReturnVector3(jenv); 3790 gdx_setVector3FrombtVector3(jenv, jresult, result); 3791 return jresult; 3792 } 3793 3794 3795 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1computeGyroscopicForceExplicit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 3796 jobject jresult = 0 ; 3797 btRigidBody *arg1 = (btRigidBody *) 0 ; 3798 btScalar arg2 ; 3799 btVector3 result; 3800 3801 (void)jenv; 3802 (void)jcls; 3803 (void)jarg1_; 3804 arg1 = *(btRigidBody **)&jarg1; 3805 arg2 = (btScalar)jarg2; 3806 result = ((btRigidBody const *)arg1)->computeGyroscopicForceExplicit(arg2); 3807 jresult = gdx_getReturnVector3(jenv); 3808 gdx_setVector3FrombtVector3(jenv, jresult, result); 3809 return jresult; 3810 } 3811 3812 3813 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getLocalInertia(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3814 jobject jresult = 0 ; 3815 btRigidBody *arg1 = (btRigidBody *) 0 ; 3816 btVector3 result; 3817 3818 (void)jenv; 3819 (void)jcls; 3820 (void)jarg1_; 3821 arg1 = *(btRigidBody **)&jarg1; 3822 result = ((btRigidBody const *)arg1)->getLocalInertia(); 3823 jresult = gdx_getReturnVector3(jenv); 3824 gdx_setVector3FrombtVector3(jenv, jresult, result); 3825 return jresult; 3826 } 3827 3828 3829 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jboolean jarg1, jlong jarg2, jobject jarg2_) { 3830 jlong jresult = 0 ; 3831 bool arg1 ; 3832 btRigidBody::btRigidBodyConstructionInfo *arg2 = 0 ; 3833 btRigidBody *result = 0 ; 3834 3835 (void)jenv; 3836 (void)jcls; 3837 (void)jarg2_; 3838 arg1 = jarg1 ? true : false; 3839 arg2 = *(btRigidBody::btRigidBodyConstructionInfo **)&jarg2; 3840 if (!arg2) { 3841 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody::btRigidBodyConstructionInfo const & reference is null"); 3842 return 0; 3843 } 3844 result = (btRigidBody *)new_btRigidBody__SWIG_0(arg1,(btRigidBody::btRigidBodyConstructionInfo const &)*arg2); 3845 *(btRigidBody **)&jresult = result; 3846 return jresult; 3847 } 3848 3849 3850 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jobject jarg5) { 3851 jlong jresult = 0 ; 3852 bool arg1 ; 3853 btScalar arg2 ; 3854 btMotionState *arg3 = (btMotionState *) 0 ; 3855 btCollisionShape *arg4 = (btCollisionShape *) 0 ; 3856 btVector3 *arg5 = 0 ; 3857 btRigidBody *result = 0 ; 3858 3859 (void)jenv; 3860 (void)jcls; 3861 (void)jarg3_; 3862 (void)jarg4_; 3863 arg1 = jarg1 ? true : false; 3864 arg2 = (btScalar)jarg2; 3865 arg3 = *(btMotionState **)&jarg3; 3866 arg4 = *(btCollisionShape **)&jarg4; 3867 btVector3 local_arg5; 3868 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 3869 arg5 = &local_arg5; 3870 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 3871 result = (btRigidBody *)new_btRigidBody__SWIG_1(arg1,arg2,arg3,arg4,(btVector3 const &)*arg5); 3872 *(btRigidBody **)&jresult = result; 3873 return jresult; 3874 } 3875 3876 3877 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBody_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jboolean jarg1, jfloat jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) { 3878 jlong jresult = 0 ; 3879 bool arg1 ; 3880 btScalar arg2 ; 3881 btMotionState *arg3 = (btMotionState *) 0 ; 3882 btCollisionShape *arg4 = (btCollisionShape *) 0 ; 3883 btRigidBody *result = 0 ; 3884 3885 (void)jenv; 3886 (void)jcls; 3887 (void)jarg3_; 3888 (void)jarg4_; 3889 arg1 = jarg1 ? true : false; 3890 arg2 = (btScalar)jarg2; 3891 arg3 = *(btMotionState **)&jarg3; 3892 arg4 = *(btCollisionShape **)&jarg4; 3893 result = (btRigidBody *)new_btRigidBody__SWIG_1(arg1,arg2,arg3,arg4); 3894 *(btRigidBody **)&jresult = result; 3895 return jresult; 3896 } 3897 3898 3899 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1collisionObjectData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3900 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3901 btCollisionObjectFloatData *arg2 = (btCollisionObjectFloatData *) 0 ; 3902 3903 (void)jenv; 3904 (void)jcls; 3905 (void)jarg1_; 3906 (void)jarg2_; 3907 arg1 = *(btRigidBodyFloatData **)&jarg1; 3908 arg2 = *(btCollisionObjectFloatData **)&jarg2; 3909 if (arg1) (arg1)->m_collisionObjectData = *arg2; 3910 } 3911 3912 3913 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1collisionObjectData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3914 jlong jresult = 0 ; 3915 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3916 btCollisionObjectFloatData *result = 0 ; 3917 3918 (void)jenv; 3919 (void)jcls; 3920 (void)jarg1_; 3921 arg1 = *(btRigidBodyFloatData **)&jarg1; 3922 result = (btCollisionObjectFloatData *)& ((arg1)->m_collisionObjectData); 3923 *(btCollisionObjectFloatData **)&jresult = result; 3924 return jresult; 3925 } 3926 3927 3928 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaTensorWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 3929 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3930 btMatrix3x3FloatData arg2 ; 3931 btMatrix3x3FloatData *argp2 ; 3932 3933 (void)jenv; 3934 (void)jcls; 3935 (void)jarg1_; 3936 arg1 = *(btRigidBodyFloatData **)&jarg1; 3937 argp2 = *(btMatrix3x3FloatData **)&jarg2; 3938 if (!argp2) { 3939 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null btMatrix3x3FloatData"); 3940 return ; 3941 } 3942 arg2 = *argp2; 3943 if (arg1) (arg1)->m_invInertiaTensorWorld = arg2; 3944 } 3945 3946 3947 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaTensorWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3948 jlong jresult = 0 ; 3949 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3950 btMatrix3x3FloatData result; 3951 3952 (void)jenv; 3953 (void)jcls; 3954 (void)jarg1_; 3955 arg1 = *(btRigidBodyFloatData **)&jarg1; 3956 result = ((arg1)->m_invInertiaTensorWorld); 3957 *(btMatrix3x3FloatData **)&jresult = new btMatrix3x3FloatData((const btMatrix3x3FloatData &)result); 3958 return jresult; 3959 } 3960 3961 3962 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3963 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3964 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 3965 3966 (void)jenv; 3967 (void)jcls; 3968 (void)jarg1_; 3969 (void)jarg2_; 3970 arg1 = *(btRigidBodyFloatData **)&jarg1; 3971 arg2 = *(btVector3FloatData **)&jarg2; 3972 if (arg1) (arg1)->m_linearVelocity = *arg2; 3973 } 3974 3975 3976 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 3977 jlong jresult = 0 ; 3978 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3979 btVector3FloatData *result = 0 ; 3980 3981 (void)jenv; 3982 (void)jcls; 3983 (void)jarg1_; 3984 arg1 = *(btRigidBodyFloatData **)&jarg1; 3985 result = (btVector3FloatData *)& ((arg1)->m_linearVelocity); 3986 *(btVector3FloatData **)&jresult = result; 3987 return jresult; 3988 } 3989 3990 3991 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 3992 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 3993 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 3994 3995 (void)jenv; 3996 (void)jcls; 3997 (void)jarg1_; 3998 (void)jarg2_; 3999 arg1 = *(btRigidBodyFloatData **)&jarg1; 4000 arg2 = *(btVector3FloatData **)&jarg2; 4001 if (arg1) (arg1)->m_angularVelocity = *arg2; 4002 } 4003 4004 4005 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4006 jlong jresult = 0 ; 4007 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4008 btVector3FloatData *result = 0 ; 4009 4010 (void)jenv; 4011 (void)jcls; 4012 (void)jarg1_; 4013 arg1 = *(btRigidBodyFloatData **)&jarg1; 4014 result = (btVector3FloatData *)& ((arg1)->m_angularVelocity); 4015 *(btVector3FloatData **)&jresult = result; 4016 return jresult; 4017 } 4018 4019 4020 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4021 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4022 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4023 4024 (void)jenv; 4025 (void)jcls; 4026 (void)jarg1_; 4027 (void)jarg2_; 4028 arg1 = *(btRigidBodyFloatData **)&jarg1; 4029 arg2 = *(btVector3FloatData **)&jarg2; 4030 if (arg1) (arg1)->m_angularFactor = *arg2; 4031 } 4032 4033 4034 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4035 jlong jresult = 0 ; 4036 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4037 btVector3FloatData *result = 0 ; 4038 4039 (void)jenv; 4040 (void)jcls; 4041 (void)jarg1_; 4042 arg1 = *(btRigidBodyFloatData **)&jarg1; 4043 result = (btVector3FloatData *)& ((arg1)->m_angularFactor); 4044 *(btVector3FloatData **)&jresult = result; 4045 return jresult; 4046 } 4047 4048 4049 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4050 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4051 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4052 4053 (void)jenv; 4054 (void)jcls; 4055 (void)jarg1_; 4056 (void)jarg2_; 4057 arg1 = *(btRigidBodyFloatData **)&jarg1; 4058 arg2 = *(btVector3FloatData **)&jarg2; 4059 if (arg1) (arg1)->m_linearFactor = *arg2; 4060 } 4061 4062 4063 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4064 jlong jresult = 0 ; 4065 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4066 btVector3FloatData *result = 0 ; 4067 4068 (void)jenv; 4069 (void)jcls; 4070 (void)jarg1_; 4071 arg1 = *(btRigidBodyFloatData **)&jarg1; 4072 result = (btVector3FloatData *)& ((arg1)->m_linearFactor); 4073 *(btVector3FloatData **)&jresult = result; 4074 return jresult; 4075 } 4076 4077 4078 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4079 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4080 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4081 4082 (void)jenv; 4083 (void)jcls; 4084 (void)jarg1_; 4085 (void)jarg2_; 4086 arg1 = *(btRigidBodyFloatData **)&jarg1; 4087 arg2 = *(btVector3FloatData **)&jarg2; 4088 if (arg1) (arg1)->m_gravity = *arg2; 4089 } 4090 4091 4092 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4093 jlong jresult = 0 ; 4094 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4095 btVector3FloatData *result = 0 ; 4096 4097 (void)jenv; 4098 (void)jcls; 4099 (void)jarg1_; 4100 arg1 = *(btRigidBodyFloatData **)&jarg1; 4101 result = (btVector3FloatData *)& ((arg1)->m_gravity); 4102 *(btVector3FloatData **)&jresult = result; 4103 return jresult; 4104 } 4105 4106 4107 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1acceleration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4108 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4109 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4110 4111 (void)jenv; 4112 (void)jcls; 4113 (void)jarg1_; 4114 (void)jarg2_; 4115 arg1 = *(btRigidBodyFloatData **)&jarg1; 4116 arg2 = *(btVector3FloatData **)&jarg2; 4117 if (arg1) (arg1)->m_gravity_acceleration = *arg2; 4118 } 4119 4120 4121 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1acceleration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4122 jlong jresult = 0 ; 4123 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4124 btVector3FloatData *result = 0 ; 4125 4126 (void)jenv; 4127 (void)jcls; 4128 (void)jarg1_; 4129 arg1 = *(btRigidBodyFloatData **)&jarg1; 4130 result = (btVector3FloatData *)& ((arg1)->m_gravity_acceleration); 4131 *(btVector3FloatData **)&jresult = result; 4132 return jresult; 4133 } 4134 4135 4136 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4137 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4138 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4139 4140 (void)jenv; 4141 (void)jcls; 4142 (void)jarg1_; 4143 (void)jarg2_; 4144 arg1 = *(btRigidBodyFloatData **)&jarg1; 4145 arg2 = *(btVector3FloatData **)&jarg2; 4146 if (arg1) (arg1)->m_invInertiaLocal = *arg2; 4147 } 4148 4149 4150 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1invInertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4151 jlong jresult = 0 ; 4152 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4153 btVector3FloatData *result = 0 ; 4154 4155 (void)jenv; 4156 (void)jcls; 4157 (void)jarg1_; 4158 arg1 = *(btRigidBodyFloatData **)&jarg1; 4159 result = (btVector3FloatData *)& ((arg1)->m_invInertiaLocal); 4160 *(btVector3FloatData **)&jresult = result; 4161 return jresult; 4162 } 4163 4164 4165 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4166 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4167 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4168 4169 (void)jenv; 4170 (void)jcls; 4171 (void)jarg1_; 4172 (void)jarg2_; 4173 arg1 = *(btRigidBodyFloatData **)&jarg1; 4174 arg2 = *(btVector3FloatData **)&jarg2; 4175 if (arg1) (arg1)->m_totalForce = *arg2; 4176 } 4177 4178 4179 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4180 jlong jresult = 0 ; 4181 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4182 btVector3FloatData *result = 0 ; 4183 4184 (void)jenv; 4185 (void)jcls; 4186 (void)jarg1_; 4187 arg1 = *(btRigidBodyFloatData **)&jarg1; 4188 result = (btVector3FloatData *)& ((arg1)->m_totalForce); 4189 *(btVector3FloatData **)&jresult = result; 4190 return jresult; 4191 } 4192 4193 4194 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4195 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4196 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 4197 4198 (void)jenv; 4199 (void)jcls; 4200 (void)jarg1_; 4201 (void)jarg2_; 4202 arg1 = *(btRigidBodyFloatData **)&jarg1; 4203 arg2 = *(btVector3FloatData **)&jarg2; 4204 if (arg1) (arg1)->m_totalTorque = *arg2; 4205 } 4206 4207 4208 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1totalTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4209 jlong jresult = 0 ; 4210 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4211 btVector3FloatData *result = 0 ; 4212 4213 (void)jenv; 4214 (void)jcls; 4215 (void)jarg1_; 4216 arg1 = *(btRigidBodyFloatData **)&jarg1; 4217 result = (btVector3FloatData *)& ((arg1)->m_totalTorque); 4218 *(btVector3FloatData **)&jresult = result; 4219 return jresult; 4220 } 4221 4222 4223 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1inverseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4224 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4225 float arg2 ; 4226 4227 (void)jenv; 4228 (void)jcls; 4229 (void)jarg1_; 4230 arg1 = *(btRigidBodyFloatData **)&jarg1; 4231 arg2 = (float)jarg2; 4232 if (arg1) (arg1)->m_inverseMass = arg2; 4233 } 4234 4235 4236 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1inverseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4237 jfloat jresult = 0 ; 4238 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4239 float result; 4240 4241 (void)jenv; 4242 (void)jcls; 4243 (void)jarg1_; 4244 arg1 = *(btRigidBodyFloatData **)&jarg1; 4245 result = (float) ((arg1)->m_inverseMass); 4246 jresult = (jfloat)result; 4247 return jresult; 4248 } 4249 4250 4251 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4252 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4253 float arg2 ; 4254 4255 (void)jenv; 4256 (void)jcls; 4257 (void)jarg1_; 4258 arg1 = *(btRigidBodyFloatData **)&jarg1; 4259 arg2 = (float)jarg2; 4260 if (arg1) (arg1)->m_linearDamping = arg2; 4261 } 4262 4263 4264 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4265 jfloat jresult = 0 ; 4266 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4267 float result; 4268 4269 (void)jenv; 4270 (void)jcls; 4271 (void)jarg1_; 4272 arg1 = *(btRigidBodyFloatData **)&jarg1; 4273 result = (float) ((arg1)->m_linearDamping); 4274 jresult = (jfloat)result; 4275 return jresult; 4276 } 4277 4278 4279 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4280 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4281 float arg2 ; 4282 4283 (void)jenv; 4284 (void)jcls; 4285 (void)jarg1_; 4286 arg1 = *(btRigidBodyFloatData **)&jarg1; 4287 arg2 = (float)jarg2; 4288 if (arg1) (arg1)->m_angularDamping = arg2; 4289 } 4290 4291 4292 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4293 jfloat jresult = 0 ; 4294 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4295 float result; 4296 4297 (void)jenv; 4298 (void)jcls; 4299 (void)jarg1_; 4300 arg1 = *(btRigidBodyFloatData **)&jarg1; 4301 result = (float) ((arg1)->m_angularDamping); 4302 jresult = (jfloat)result; 4303 return jresult; 4304 } 4305 4306 4307 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4308 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4309 float arg2 ; 4310 4311 (void)jenv; 4312 (void)jcls; 4313 (void)jarg1_; 4314 arg1 = *(btRigidBodyFloatData **)&jarg1; 4315 arg2 = (float)jarg2; 4316 if (arg1) (arg1)->m_additionalDampingFactor = arg2; 4317 } 4318 4319 4320 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4321 jfloat jresult = 0 ; 4322 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4323 float result; 4324 4325 (void)jenv; 4326 (void)jcls; 4327 (void)jarg1_; 4328 arg1 = *(btRigidBodyFloatData **)&jarg1; 4329 result = (float) ((arg1)->m_additionalDampingFactor); 4330 jresult = (jfloat)result; 4331 return jresult; 4332 } 4333 4334 4335 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4336 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4337 float arg2 ; 4338 4339 (void)jenv; 4340 (void)jcls; 4341 (void)jarg1_; 4342 arg1 = *(btRigidBodyFloatData **)&jarg1; 4343 arg2 = (float)jarg2; 4344 if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2; 4345 } 4346 4347 4348 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4349 jfloat jresult = 0 ; 4350 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4351 float result; 4352 4353 (void)jenv; 4354 (void)jcls; 4355 (void)jarg1_; 4356 arg1 = *(btRigidBodyFloatData **)&jarg1; 4357 result = (float) ((arg1)->m_additionalLinearDampingThresholdSqr); 4358 jresult = (jfloat)result; 4359 return jresult; 4360 } 4361 4362 4363 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4364 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4365 float arg2 ; 4366 4367 (void)jenv; 4368 (void)jcls; 4369 (void)jarg1_; 4370 arg1 = *(btRigidBodyFloatData **)&jarg1; 4371 arg2 = (float)jarg2; 4372 if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2; 4373 } 4374 4375 4376 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4377 jfloat jresult = 0 ; 4378 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4379 float result; 4380 4381 (void)jenv; 4382 (void)jcls; 4383 (void)jarg1_; 4384 arg1 = *(btRigidBodyFloatData **)&jarg1; 4385 result = (float) ((arg1)->m_additionalAngularDampingThresholdSqr); 4386 jresult = (jfloat)result; 4387 return jresult; 4388 } 4389 4390 4391 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4392 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4393 float arg2 ; 4394 4395 (void)jenv; 4396 (void)jcls; 4397 (void)jarg1_; 4398 arg1 = *(btRigidBodyFloatData **)&jarg1; 4399 arg2 = (float)jarg2; 4400 if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2; 4401 } 4402 4403 4404 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4405 jfloat jresult = 0 ; 4406 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4407 float result; 4408 4409 (void)jenv; 4410 (void)jcls; 4411 (void)jarg1_; 4412 arg1 = *(btRigidBodyFloatData **)&jarg1; 4413 result = (float) ((arg1)->m_additionalAngularDampingFactor); 4414 jresult = (jfloat)result; 4415 return jresult; 4416 } 4417 4418 4419 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4420 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4421 float arg2 ; 4422 4423 (void)jenv; 4424 (void)jcls; 4425 (void)jarg1_; 4426 arg1 = *(btRigidBodyFloatData **)&jarg1; 4427 arg2 = (float)jarg2; 4428 if (arg1) (arg1)->m_linearSleepingThreshold = arg2; 4429 } 4430 4431 4432 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4433 jfloat jresult = 0 ; 4434 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4435 float result; 4436 4437 (void)jenv; 4438 (void)jcls; 4439 (void)jarg1_; 4440 arg1 = *(btRigidBodyFloatData **)&jarg1; 4441 result = (float) ((arg1)->m_linearSleepingThreshold); 4442 jresult = (jfloat)result; 4443 return jresult; 4444 } 4445 4446 4447 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 4448 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4449 float arg2 ; 4450 4451 (void)jenv; 4452 (void)jcls; 4453 (void)jarg1_; 4454 arg1 = *(btRigidBodyFloatData **)&jarg1; 4455 arg2 = (float)jarg2; 4456 if (arg1) (arg1)->m_angularSleepingThreshold = arg2; 4457 } 4458 4459 4460 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4461 jfloat jresult = 0 ; 4462 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4463 float result; 4464 4465 (void)jenv; 4466 (void)jcls; 4467 (void)jarg1_; 4468 arg1 = *(btRigidBodyFloatData **)&jarg1; 4469 result = (float) ((arg1)->m_angularSleepingThreshold); 4470 jresult = (jfloat)result; 4471 return jresult; 4472 } 4473 4474 4475 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 4476 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4477 int arg2 ; 4478 4479 (void)jenv; 4480 (void)jcls; 4481 (void)jarg1_; 4482 arg1 = *(btRigidBodyFloatData **)&jarg1; 4483 arg2 = (int)jarg2; 4484 if (arg1) (arg1)->m_additionalDamping = arg2; 4485 } 4486 4487 4488 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4489 jint jresult = 0 ; 4490 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4491 int result; 4492 4493 (void)jenv; 4494 (void)jcls; 4495 (void)jarg1_; 4496 arg1 = *(btRigidBodyFloatData **)&jarg1; 4497 result = (int) ((arg1)->m_additionalDamping); 4498 jresult = (jint)result; 4499 return jresult; 4500 } 4501 4502 4503 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBodyFloatData(JNIEnv *jenv, jclass jcls) { 4504 jlong jresult = 0 ; 4505 btRigidBodyFloatData *result = 0 ; 4506 4507 (void)jenv; 4508 (void)jcls; 4509 result = (btRigidBodyFloatData *)new btRigidBodyFloatData(); 4510 *(btRigidBodyFloatData **)&jresult = result; 4511 return jresult; 4512 } 4513 4514 4515 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBodyFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 4516 btRigidBodyFloatData *arg1 = (btRigidBodyFloatData *) 0 ; 4517 4518 (void)jenv; 4519 (void)jcls; 4520 arg1 = *(btRigidBodyFloatData **)&jarg1; 4521 delete arg1; 4522 } 4523 4524 4525 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1collisionObjectData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4526 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4527 btCollisionObjectDoubleData *arg2 = (btCollisionObjectDoubleData *) 0 ; 4528 4529 (void)jenv; 4530 (void)jcls; 4531 (void)jarg1_; 4532 (void)jarg2_; 4533 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4534 arg2 = *(btCollisionObjectDoubleData **)&jarg2; 4535 if (arg1) (arg1)->m_collisionObjectData = *arg2; 4536 } 4537 4538 4539 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1collisionObjectData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4540 jlong jresult = 0 ; 4541 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4542 btCollisionObjectDoubleData *result = 0 ; 4543 4544 (void)jenv; 4545 (void)jcls; 4546 (void)jarg1_; 4547 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4548 result = (btCollisionObjectDoubleData *)& ((arg1)->m_collisionObjectData); 4549 *(btCollisionObjectDoubleData **)&jresult = result; 4550 return jresult; 4551 } 4552 4553 4554 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaTensorWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 4555 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4556 btMatrix3x3DoubleData arg2 ; 4557 btMatrix3x3DoubleData *argp2 ; 4558 4559 (void)jenv; 4560 (void)jcls; 4561 (void)jarg1_; 4562 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4563 argp2 = *(btMatrix3x3DoubleData **)&jarg2; 4564 if (!argp2) { 4565 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null btMatrix3x3DoubleData"); 4566 return ; 4567 } 4568 arg2 = *argp2; 4569 if (arg1) (arg1)->m_invInertiaTensorWorld = arg2; 4570 } 4571 4572 4573 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaTensorWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4574 jlong jresult = 0 ; 4575 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4576 btMatrix3x3DoubleData result; 4577 4578 (void)jenv; 4579 (void)jcls; 4580 (void)jarg1_; 4581 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4582 result = ((arg1)->m_invInertiaTensorWorld); 4583 *(btMatrix3x3DoubleData **)&jresult = new btMatrix3x3DoubleData((const btMatrix3x3DoubleData &)result); 4584 return jresult; 4585 } 4586 4587 4588 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4589 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4590 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4591 4592 (void)jenv; 4593 (void)jcls; 4594 (void)jarg1_; 4595 (void)jarg2_; 4596 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4597 arg2 = *(btVector3DoubleData **)&jarg2; 4598 if (arg1) (arg1)->m_linearVelocity = *arg2; 4599 } 4600 4601 4602 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4603 jlong jresult = 0 ; 4604 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4605 btVector3DoubleData *result = 0 ; 4606 4607 (void)jenv; 4608 (void)jcls; 4609 (void)jarg1_; 4610 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4611 result = (btVector3DoubleData *)& ((arg1)->m_linearVelocity); 4612 *(btVector3DoubleData **)&jresult = result; 4613 return jresult; 4614 } 4615 4616 4617 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4618 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4619 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4620 4621 (void)jenv; 4622 (void)jcls; 4623 (void)jarg1_; 4624 (void)jarg2_; 4625 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4626 arg2 = *(btVector3DoubleData **)&jarg2; 4627 if (arg1) (arg1)->m_angularVelocity = *arg2; 4628 } 4629 4630 4631 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4632 jlong jresult = 0 ; 4633 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4634 btVector3DoubleData *result = 0 ; 4635 4636 (void)jenv; 4637 (void)jcls; 4638 (void)jarg1_; 4639 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4640 result = (btVector3DoubleData *)& ((arg1)->m_angularVelocity); 4641 *(btVector3DoubleData **)&jresult = result; 4642 return jresult; 4643 } 4644 4645 4646 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4647 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4648 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4649 4650 (void)jenv; 4651 (void)jcls; 4652 (void)jarg1_; 4653 (void)jarg2_; 4654 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4655 arg2 = *(btVector3DoubleData **)&jarg2; 4656 if (arg1) (arg1)->m_angularFactor = *arg2; 4657 } 4658 4659 4660 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4661 jlong jresult = 0 ; 4662 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4663 btVector3DoubleData *result = 0 ; 4664 4665 (void)jenv; 4666 (void)jcls; 4667 (void)jarg1_; 4668 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4669 result = (btVector3DoubleData *)& ((arg1)->m_angularFactor); 4670 *(btVector3DoubleData **)&jresult = result; 4671 return jresult; 4672 } 4673 4674 4675 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4676 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4677 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4678 4679 (void)jenv; 4680 (void)jcls; 4681 (void)jarg1_; 4682 (void)jarg2_; 4683 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4684 arg2 = *(btVector3DoubleData **)&jarg2; 4685 if (arg1) (arg1)->m_linearFactor = *arg2; 4686 } 4687 4688 4689 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4690 jlong jresult = 0 ; 4691 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4692 btVector3DoubleData *result = 0 ; 4693 4694 (void)jenv; 4695 (void)jcls; 4696 (void)jarg1_; 4697 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4698 result = (btVector3DoubleData *)& ((arg1)->m_linearFactor); 4699 *(btVector3DoubleData **)&jresult = result; 4700 return jresult; 4701 } 4702 4703 4704 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4705 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4706 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4707 4708 (void)jenv; 4709 (void)jcls; 4710 (void)jarg1_; 4711 (void)jarg2_; 4712 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4713 arg2 = *(btVector3DoubleData **)&jarg2; 4714 if (arg1) (arg1)->m_gravity = *arg2; 4715 } 4716 4717 4718 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4719 jlong jresult = 0 ; 4720 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4721 btVector3DoubleData *result = 0 ; 4722 4723 (void)jenv; 4724 (void)jcls; 4725 (void)jarg1_; 4726 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4727 result = (btVector3DoubleData *)& ((arg1)->m_gravity); 4728 *(btVector3DoubleData **)&jresult = result; 4729 return jresult; 4730 } 4731 4732 4733 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1acceleration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4734 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4735 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4736 4737 (void)jenv; 4738 (void)jcls; 4739 (void)jarg1_; 4740 (void)jarg2_; 4741 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4742 arg2 = *(btVector3DoubleData **)&jarg2; 4743 if (arg1) (arg1)->m_gravity_acceleration = *arg2; 4744 } 4745 4746 4747 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1acceleration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4748 jlong jresult = 0 ; 4749 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4750 btVector3DoubleData *result = 0 ; 4751 4752 (void)jenv; 4753 (void)jcls; 4754 (void)jarg1_; 4755 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4756 result = (btVector3DoubleData *)& ((arg1)->m_gravity_acceleration); 4757 *(btVector3DoubleData **)&jresult = result; 4758 return jresult; 4759 } 4760 4761 4762 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaLocal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4763 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4764 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4765 4766 (void)jenv; 4767 (void)jcls; 4768 (void)jarg1_; 4769 (void)jarg2_; 4770 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4771 arg2 = *(btVector3DoubleData **)&jarg2; 4772 if (arg1) (arg1)->m_invInertiaLocal = *arg2; 4773 } 4774 4775 4776 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1invInertiaLocal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4777 jlong jresult = 0 ; 4778 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4779 btVector3DoubleData *result = 0 ; 4780 4781 (void)jenv; 4782 (void)jcls; 4783 (void)jarg1_; 4784 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4785 result = (btVector3DoubleData *)& ((arg1)->m_invInertiaLocal); 4786 *(btVector3DoubleData **)&jresult = result; 4787 return jresult; 4788 } 4789 4790 4791 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4792 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4793 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4794 4795 (void)jenv; 4796 (void)jcls; 4797 (void)jarg1_; 4798 (void)jarg2_; 4799 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4800 arg2 = *(btVector3DoubleData **)&jarg2; 4801 if (arg1) (arg1)->m_totalForce = *arg2; 4802 } 4803 4804 4805 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4806 jlong jresult = 0 ; 4807 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4808 btVector3DoubleData *result = 0 ; 4809 4810 (void)jenv; 4811 (void)jcls; 4812 (void)jarg1_; 4813 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4814 result = (btVector3DoubleData *)& ((arg1)->m_totalForce); 4815 *(btVector3DoubleData **)&jresult = result; 4816 return jresult; 4817 } 4818 4819 4820 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalTorque_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 4821 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4822 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 4823 4824 (void)jenv; 4825 (void)jcls; 4826 (void)jarg1_; 4827 (void)jarg2_; 4828 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4829 arg2 = *(btVector3DoubleData **)&jarg2; 4830 if (arg1) (arg1)->m_totalTorque = *arg2; 4831 } 4832 4833 4834 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1totalTorque_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4835 jlong jresult = 0 ; 4836 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4837 btVector3DoubleData *result = 0 ; 4838 4839 (void)jenv; 4840 (void)jcls; 4841 (void)jarg1_; 4842 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4843 result = (btVector3DoubleData *)& ((arg1)->m_totalTorque); 4844 *(btVector3DoubleData **)&jresult = result; 4845 return jresult; 4846 } 4847 4848 4849 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1inverseMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 4850 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4851 double arg2 ; 4852 4853 (void)jenv; 4854 (void)jcls; 4855 (void)jarg1_; 4856 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4857 arg2 = (double)jarg2; 4858 if (arg1) (arg1)->m_inverseMass = arg2; 4859 } 4860 4861 4862 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1inverseMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4863 jdouble jresult = 0 ; 4864 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4865 double result; 4866 4867 (void)jenv; 4868 (void)jcls; 4869 (void)jarg1_; 4870 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4871 result = (double) ((arg1)->m_inverseMass); 4872 jresult = (jdouble)result; 4873 return jresult; 4874 } 4875 4876 4877 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 4878 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4879 double arg2 ; 4880 4881 (void)jenv; 4882 (void)jcls; 4883 (void)jarg1_; 4884 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4885 arg2 = (double)jarg2; 4886 if (arg1) (arg1)->m_linearDamping = arg2; 4887 } 4888 4889 4890 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4891 jdouble jresult = 0 ; 4892 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4893 double result; 4894 4895 (void)jenv; 4896 (void)jcls; 4897 (void)jarg1_; 4898 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4899 result = (double) ((arg1)->m_linearDamping); 4900 jresult = (jdouble)result; 4901 return jresult; 4902 } 4903 4904 4905 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 4906 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4907 double arg2 ; 4908 4909 (void)jenv; 4910 (void)jcls; 4911 (void)jarg1_; 4912 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4913 arg2 = (double)jarg2; 4914 if (arg1) (arg1)->m_angularDamping = arg2; 4915 } 4916 4917 4918 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4919 jdouble jresult = 0 ; 4920 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4921 double result; 4922 4923 (void)jenv; 4924 (void)jcls; 4925 (void)jarg1_; 4926 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4927 result = (double) ((arg1)->m_angularDamping); 4928 jresult = (jdouble)result; 4929 return jresult; 4930 } 4931 4932 4933 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 4934 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4935 double arg2 ; 4936 4937 (void)jenv; 4938 (void)jcls; 4939 (void)jarg1_; 4940 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4941 arg2 = (double)jarg2; 4942 if (arg1) (arg1)->m_additionalDampingFactor = arg2; 4943 } 4944 4945 4946 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4947 jdouble jresult = 0 ; 4948 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4949 double result; 4950 4951 (void)jenv; 4952 (void)jcls; 4953 (void)jarg1_; 4954 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4955 result = (double) ((arg1)->m_additionalDampingFactor); 4956 jresult = (jdouble)result; 4957 return jresult; 4958 } 4959 4960 4961 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalLinearDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 4962 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4963 double arg2 ; 4964 4965 (void)jenv; 4966 (void)jcls; 4967 (void)jarg1_; 4968 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4969 arg2 = (double)jarg2; 4970 if (arg1) (arg1)->m_additionalLinearDampingThresholdSqr = arg2; 4971 } 4972 4973 4974 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalLinearDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 4975 jdouble jresult = 0 ; 4976 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4977 double result; 4978 4979 (void)jenv; 4980 (void)jcls; 4981 (void)jarg1_; 4982 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4983 result = (double) ((arg1)->m_additionalLinearDampingThresholdSqr); 4984 jresult = (jdouble)result; 4985 return jresult; 4986 } 4987 4988 4989 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingThresholdSqr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 4990 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 4991 double arg2 ; 4992 4993 (void)jenv; 4994 (void)jcls; 4995 (void)jarg1_; 4996 arg1 = *(btRigidBodyDoubleData **)&jarg1; 4997 arg2 = (double)jarg2; 4998 if (arg1) (arg1)->m_additionalAngularDampingThresholdSqr = arg2; 4999 } 5000 5001 5002 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingThresholdSqr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5003 jdouble jresult = 0 ; 5004 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5005 double result; 5006 5007 (void)jenv; 5008 (void)jcls; 5009 (void)jarg1_; 5010 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5011 result = (double) ((arg1)->m_additionalAngularDampingThresholdSqr); 5012 jresult = (jdouble)result; 5013 return jresult; 5014 } 5015 5016 5017 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 5018 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5019 double arg2 ; 5020 5021 (void)jenv; 5022 (void)jcls; 5023 (void)jarg1_; 5024 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5025 arg2 = (double)jarg2; 5026 if (arg1) (arg1)->m_additionalAngularDampingFactor = arg2; 5027 } 5028 5029 5030 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalAngularDampingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5031 jdouble jresult = 0 ; 5032 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5033 double result; 5034 5035 (void)jenv; 5036 (void)jcls; 5037 (void)jarg1_; 5038 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5039 result = (double) ((arg1)->m_additionalAngularDampingFactor); 5040 jresult = (jdouble)result; 5041 return jresult; 5042 } 5043 5044 5045 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 5046 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5047 double arg2 ; 5048 5049 (void)jenv; 5050 (void)jcls; 5051 (void)jarg1_; 5052 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5053 arg2 = (double)jarg2; 5054 if (arg1) (arg1)->m_linearSleepingThreshold = arg2; 5055 } 5056 5057 5058 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1linearSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5059 jdouble jresult = 0 ; 5060 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5061 double result; 5062 5063 (void)jenv; 5064 (void)jcls; 5065 (void)jarg1_; 5066 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5067 result = (double) ((arg1)->m_linearSleepingThreshold); 5068 jresult = (jdouble)result; 5069 return jresult; 5070 } 5071 5072 5073 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularSleepingThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 5074 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5075 double arg2 ; 5076 5077 (void)jenv; 5078 (void)jcls; 5079 (void)jarg1_; 5080 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5081 arg2 = (double)jarg2; 5082 if (arg1) (arg1)->m_angularSleepingThreshold = arg2; 5083 } 5084 5085 5086 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1angularSleepingThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5087 jdouble jresult = 0 ; 5088 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5089 double result; 5090 5091 (void)jenv; 5092 (void)jcls; 5093 (void)jarg1_; 5094 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5095 result = (double) ((arg1)->m_angularSleepingThreshold); 5096 jresult = (jdouble)result; 5097 return jresult; 5098 } 5099 5100 5101 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 5102 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5103 int arg2 ; 5104 5105 (void)jenv; 5106 (void)jcls; 5107 (void)jarg1_; 5108 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5109 arg2 = (int)jarg2; 5110 if (arg1) (arg1)->m_additionalDamping = arg2; 5111 } 5112 5113 5114 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1additionalDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5115 jint jresult = 0 ; 5116 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5117 int result; 5118 5119 (void)jenv; 5120 (void)jcls; 5121 (void)jarg1_; 5122 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5123 result = (int) ((arg1)->m_additionalDamping); 5124 jresult = (jint)result; 5125 return jresult; 5126 } 5127 5128 5129 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 5130 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5131 char *arg2 ; 5132 5133 (void)jenv; 5134 (void)jcls; 5135 (void)jarg1_; 5136 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5137 arg2 = 0; 5138 if (jarg2) { 5139 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 5140 if (!arg2) return ; 5141 } 5142 { 5143 if(arg2) { 5144 strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1); 5145 arg1->m_padding[4-1] = 0; 5146 } else { 5147 arg1->m_padding[0] = 0; 5148 } 5149 } 5150 5151 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 5152 } 5153 5154 5155 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5156 jstring jresult = 0 ; 5157 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5158 char *result = 0 ; 5159 5160 (void)jenv; 5161 (void)jcls; 5162 (void)jarg1_; 5163 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5164 result = (char *)(char *) ((arg1)->m_padding); 5165 if (result) jresult = jenv->NewStringUTF((const char *)result); 5166 return jresult; 5167 } 5168 5169 5170 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRigidBodyDoubleData(JNIEnv *jenv, jclass jcls) { 5171 jlong jresult = 0 ; 5172 btRigidBodyDoubleData *result = 0 ; 5173 5174 (void)jenv; 5175 (void)jcls; 5176 result = (btRigidBodyDoubleData *)new btRigidBodyDoubleData(); 5177 *(btRigidBodyDoubleData **)&jresult = result; 5178 return jresult; 5179 } 5180 5181 5182 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRigidBodyDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 5183 btRigidBodyDoubleData *arg1 = (btRigidBodyDoubleData *) 0 ; 5184 5185 (void)jenv; 5186 (void)jcls; 5187 arg1 = *(btRigidBodyDoubleData **)&jarg1; 5188 delete arg1; 5189 } 5190 5191 5192 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 5193 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5194 btVector3 *arg2 = (btVector3 *) 0 ; 5195 5196 (void)jenv; 5197 (void)jcls; 5198 (void)jarg1_; 5199 (void)jarg2_; 5200 arg1 = *(btJointFeedback **)&jarg1; 5201 arg2 = *(btVector3 **)&jarg2; 5202 if (arg1) (arg1)->m_appliedForceBodyA = *arg2; 5203 } 5204 5205 5206 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5207 jlong jresult = 0 ; 5208 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5209 btVector3 *result = 0 ; 5210 5211 (void)jenv; 5212 (void)jcls; 5213 (void)jarg1_; 5214 arg1 = *(btJointFeedback **)&jarg1; 5215 result = (btVector3 *)& ((arg1)->m_appliedForceBodyA); 5216 *(btVector3 **)&jresult = result; 5217 return jresult; 5218 } 5219 5220 5221 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 5222 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5223 btVector3 *arg2 = (btVector3 *) 0 ; 5224 5225 (void)jenv; 5226 (void)jcls; 5227 (void)jarg1_; 5228 (void)jarg2_; 5229 arg1 = *(btJointFeedback **)&jarg1; 5230 arg2 = *(btVector3 **)&jarg2; 5231 if (arg1) (arg1)->m_appliedTorqueBodyA = *arg2; 5232 } 5233 5234 5235 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5236 jlong jresult = 0 ; 5237 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5238 btVector3 *result = 0 ; 5239 5240 (void)jenv; 5241 (void)jcls; 5242 (void)jarg1_; 5243 arg1 = *(btJointFeedback **)&jarg1; 5244 result = (btVector3 *)& ((arg1)->m_appliedTorqueBodyA); 5245 *(btVector3 **)&jresult = result; 5246 return jresult; 5247 } 5248 5249 5250 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 5251 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5252 btVector3 *arg2 = (btVector3 *) 0 ; 5253 5254 (void)jenv; 5255 (void)jcls; 5256 (void)jarg1_; 5257 (void)jarg2_; 5258 arg1 = *(btJointFeedback **)&jarg1; 5259 arg2 = *(btVector3 **)&jarg2; 5260 if (arg1) (arg1)->m_appliedForceBodyB = *arg2; 5261 } 5262 5263 5264 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedForceBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5265 jlong jresult = 0 ; 5266 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5267 btVector3 *result = 0 ; 5268 5269 (void)jenv; 5270 (void)jcls; 5271 (void)jarg1_; 5272 arg1 = *(btJointFeedback **)&jarg1; 5273 result = (btVector3 *)& ((arg1)->m_appliedForceBodyB); 5274 *(btVector3 **)&jresult = result; 5275 return jresult; 5276 } 5277 5278 5279 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 5280 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5281 btVector3 *arg2 = (btVector3 *) 0 ; 5282 5283 (void)jenv; 5284 (void)jcls; 5285 (void)jarg1_; 5286 (void)jarg2_; 5287 arg1 = *(btJointFeedback **)&jarg1; 5288 arg2 = *(btVector3 **)&jarg2; 5289 if (arg1) (arg1)->m_appliedTorqueBodyB = *arg2; 5290 } 5291 5292 5293 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJointFeedback_1appliedTorqueBodyB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5294 jlong jresult = 0 ; 5295 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5296 btVector3 *result = 0 ; 5297 5298 (void)jenv; 5299 (void)jcls; 5300 (void)jarg1_; 5301 arg1 = *(btJointFeedback **)&jarg1; 5302 result = (btVector3 *)& ((arg1)->m_appliedTorqueBodyB); 5303 *(btVector3 **)&jresult = result; 5304 return jresult; 5305 } 5306 5307 5308 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJointFeedback(JNIEnv *jenv, jclass jcls) { 5309 jlong jresult = 0 ; 5310 btJointFeedback *result = 0 ; 5311 5312 (void)jenv; 5313 (void)jcls; 5314 result = (btJointFeedback *)new btJointFeedback(); 5315 *(btJointFeedback **)&jresult = result; 5316 return jresult; 5317 } 5318 5319 5320 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1) { 5321 btJointFeedback *arg1 = (btJointFeedback *) 0 ; 5322 5323 (void)jenv; 5324 (void)jcls; 5325 arg1 = *(btJointFeedback **)&jarg1; 5326 delete arg1; 5327 } 5328 5329 5330 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 5331 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5332 5333 (void)jenv; 5334 (void)jcls; 5335 arg1 = *(btTypedConstraint **)&jarg1; 5336 delete arg1; 5337 } 5338 5339 5340 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1numConstraintRows_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 5341 btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 5342 int arg2 ; 5343 5344 (void)jenv; 5345 (void)jcls; 5346 (void)jarg1_; 5347 arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1; 5348 arg2 = (int)jarg2; 5349 if (arg1) (arg1)->m_numConstraintRows = arg2; 5350 } 5351 5352 5353 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1numConstraintRows_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5354 jint jresult = 0 ; 5355 btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 5356 int result; 5357 5358 (void)jenv; 5359 (void)jcls; 5360 (void)jarg1_; 5361 arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1; 5362 result = (int) ((arg1)->m_numConstraintRows); 5363 jresult = (jint)result; 5364 return jresult; 5365 } 5366 5367 5368 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1nub_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 5369 btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 5370 int arg2 ; 5371 5372 (void)jenv; 5373 (void)jcls; 5374 (void)jarg1_; 5375 arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1; 5376 arg2 = (int)jarg2; 5377 if (arg1) (arg1)->nub = arg2; 5378 } 5379 5380 5381 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo1_1nub_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5382 jint jresult = 0 ; 5383 btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 5384 int result; 5385 5386 (void)jenv; 5387 (void)jcls; 5388 (void)jarg1_; 5389 arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1; 5390 result = (int) ((arg1)->nub); 5391 jresult = (jint)result; 5392 return jresult; 5393 } 5394 5395 5396 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraint_1btConstraintInfo1(JNIEnv *jenv, jclass jcls) { 5397 jlong jresult = 0 ; 5398 btTypedConstraint::btConstraintInfo1 *result = 0 ; 5399 5400 (void)jenv; 5401 (void)jcls; 5402 result = (btTypedConstraint::btConstraintInfo1 *)new btTypedConstraint::btConstraintInfo1(); 5403 *(btTypedConstraint::btConstraintInfo1 **)&jresult = result; 5404 return jresult; 5405 } 5406 5407 5408 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint_1btConstraintInfo1(JNIEnv *jenv, jclass jcls, jlong jarg1) { 5409 btTypedConstraint::btConstraintInfo1 *arg1 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 5410 5411 (void)jenv; 5412 (void)jcls; 5413 arg1 = *(btTypedConstraint::btConstraintInfo1 **)&jarg1; 5414 delete arg1; 5415 } 5416 5417 5418 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getFixedBody(JNIEnv *jenv, jclass jcls) { 5419 jlong jresult = 0 ; 5420 btRigidBody *result = 0 ; 5421 5422 (void)jenv; 5423 (void)jcls; 5424 result = (btRigidBody *) &btTypedConstraint::getFixedBody(); 5425 *(btRigidBody **)&jresult = result; 5426 return jresult; 5427 } 5428 5429 5430 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1fps_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 5431 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5432 btScalar arg2 ; 5433 5434 (void)jenv; 5435 (void)jcls; 5436 (void)jarg1_; 5437 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5438 arg2 = (btScalar)jarg2; 5439 if (arg1) (arg1)->fps = arg2; 5440 } 5441 5442 5443 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1fps_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5444 jfloat jresult = 0 ; 5445 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5446 btScalar result; 5447 5448 (void)jenv; 5449 (void)jcls; 5450 (void)jarg1_; 5451 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5452 result = (btScalar) ((arg1)->fps); 5453 jresult = (jfloat)result; 5454 return jresult; 5455 } 5456 5457 5458 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 5459 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5460 btScalar arg2 ; 5461 5462 (void)jenv; 5463 (void)jcls; 5464 (void)jarg1_; 5465 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5466 arg2 = (btScalar)jarg2; 5467 if (arg1) (arg1)->erp = arg2; 5468 } 5469 5470 5471 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5472 jfloat jresult = 0 ; 5473 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5474 btScalar result; 5475 5476 (void)jenv; 5477 (void)jcls; 5478 (void)jarg1_; 5479 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5480 result = (btScalar) ((arg1)->erp); 5481 jresult = (jfloat)result; 5482 return jresult; 5483 } 5484 5485 5486 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1linearAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5487 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5488 btScalar *arg2 = (btScalar *) 0 ; 5489 5490 (void)jenv; 5491 (void)jcls; 5492 (void)jarg1_; 5493 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5494 arg2 = *(btScalar **)&jarg2; 5495 if (arg1) (arg1)->m_J1linearAxis = arg2; 5496 } 5497 5498 5499 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1linearAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5500 jlong jresult = 0 ; 5501 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5502 btScalar *result = 0 ; 5503 5504 (void)jenv; 5505 (void)jcls; 5506 (void)jarg1_; 5507 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5508 result = (btScalar *) ((arg1)->m_J1linearAxis); 5509 *(btScalar **)&jresult = result; 5510 return jresult; 5511 } 5512 5513 5514 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1angularAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5515 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5516 btScalar *arg2 = (btScalar *) 0 ; 5517 5518 (void)jenv; 5519 (void)jcls; 5520 (void)jarg1_; 5521 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5522 arg2 = *(btScalar **)&jarg2; 5523 if (arg1) (arg1)->m_J1angularAxis = arg2; 5524 } 5525 5526 5527 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J1angularAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5528 jlong jresult = 0 ; 5529 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5530 btScalar *result = 0 ; 5531 5532 (void)jenv; 5533 (void)jcls; 5534 (void)jarg1_; 5535 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5536 result = (btScalar *) ((arg1)->m_J1angularAxis); 5537 *(btScalar **)&jresult = result; 5538 return jresult; 5539 } 5540 5541 5542 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2linearAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5543 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5544 btScalar *arg2 = (btScalar *) 0 ; 5545 5546 (void)jenv; 5547 (void)jcls; 5548 (void)jarg1_; 5549 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5550 arg2 = *(btScalar **)&jarg2; 5551 if (arg1) (arg1)->m_J2linearAxis = arg2; 5552 } 5553 5554 5555 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2linearAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5556 jlong jresult = 0 ; 5557 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5558 btScalar *result = 0 ; 5559 5560 (void)jenv; 5561 (void)jcls; 5562 (void)jarg1_; 5563 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5564 result = (btScalar *) ((arg1)->m_J2linearAxis); 5565 *(btScalar **)&jresult = result; 5566 return jresult; 5567 } 5568 5569 5570 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2angularAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5571 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5572 btScalar *arg2 = (btScalar *) 0 ; 5573 5574 (void)jenv; 5575 (void)jcls; 5576 (void)jarg1_; 5577 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5578 arg2 = *(btScalar **)&jarg2; 5579 if (arg1) (arg1)->m_J2angularAxis = arg2; 5580 } 5581 5582 5583 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1J2angularAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5584 jlong jresult = 0 ; 5585 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5586 btScalar *result = 0 ; 5587 5588 (void)jenv; 5589 (void)jcls; 5590 (void)jarg1_; 5591 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5592 result = (btScalar *) ((arg1)->m_J2angularAxis); 5593 *(btScalar **)&jresult = result; 5594 return jresult; 5595 } 5596 5597 5598 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1rowskip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 5599 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5600 int arg2 ; 5601 5602 (void)jenv; 5603 (void)jcls; 5604 (void)jarg1_; 5605 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5606 arg2 = (int)jarg2; 5607 if (arg1) (arg1)->rowskip = arg2; 5608 } 5609 5610 5611 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1rowskip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5612 jint jresult = 0 ; 5613 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5614 int result; 5615 5616 (void)jenv; 5617 (void)jcls; 5618 (void)jarg1_; 5619 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5620 result = (int) ((arg1)->rowskip); 5621 jresult = (jint)result; 5622 return jresult; 5623 } 5624 5625 5626 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1constraintError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5627 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5628 btScalar *arg2 = (btScalar *) 0 ; 5629 5630 (void)jenv; 5631 (void)jcls; 5632 (void)jarg1_; 5633 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5634 arg2 = *(btScalar **)&jarg2; 5635 if (arg1) (arg1)->m_constraintError = arg2; 5636 } 5637 5638 5639 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1constraintError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5640 jlong jresult = 0 ; 5641 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5642 btScalar *result = 0 ; 5643 5644 (void)jenv; 5645 (void)jcls; 5646 (void)jarg1_; 5647 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5648 result = (btScalar *) ((arg1)->m_constraintError); 5649 *(btScalar **)&jresult = result; 5650 return jresult; 5651 } 5652 5653 5654 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5655 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5656 btScalar *arg2 = (btScalar *) 0 ; 5657 5658 (void)jenv; 5659 (void)jcls; 5660 (void)jarg1_; 5661 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5662 arg2 = *(btScalar **)&jarg2; 5663 if (arg1) (arg1)->cfm = arg2; 5664 } 5665 5666 5667 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5668 jlong jresult = 0 ; 5669 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5670 btScalar *result = 0 ; 5671 5672 (void)jenv; 5673 (void)jcls; 5674 (void)jarg1_; 5675 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5676 result = (btScalar *) ((arg1)->cfm); 5677 *(btScalar **)&jresult = result; 5678 return jresult; 5679 } 5680 5681 5682 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5683 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5684 btScalar *arg2 = (btScalar *) 0 ; 5685 5686 (void)jenv; 5687 (void)jcls; 5688 (void)jarg1_; 5689 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5690 arg2 = *(btScalar **)&jarg2; 5691 if (arg1) (arg1)->m_lowerLimit = arg2; 5692 } 5693 5694 5695 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5696 jlong jresult = 0 ; 5697 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5698 btScalar *result = 0 ; 5699 5700 (void)jenv; 5701 (void)jcls; 5702 (void)jarg1_; 5703 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5704 result = (btScalar *) ((arg1)->m_lowerLimit); 5705 *(btScalar **)&jresult = result; 5706 return jresult; 5707 } 5708 5709 5710 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5711 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5712 btScalar *arg2 = (btScalar *) 0 ; 5713 5714 (void)jenv; 5715 (void)jcls; 5716 (void)jarg1_; 5717 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5718 arg2 = *(btScalar **)&jarg2; 5719 if (arg1) (arg1)->m_upperLimit = arg2; 5720 } 5721 5722 5723 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5724 jlong jresult = 0 ; 5725 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5726 btScalar *result = 0 ; 5727 5728 (void)jenv; 5729 (void)jcls; 5730 (void)jarg1_; 5731 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5732 result = (btScalar *) ((arg1)->m_upperLimit); 5733 *(btScalar **)&jresult = result; 5734 return jresult; 5735 } 5736 5737 5738 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1findex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 5739 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5740 int *arg2 = (int *) 0 ; 5741 5742 (void)jenv; 5743 (void)jcls; 5744 (void)jarg1_; 5745 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5746 arg2 = *(int **)&jarg2; 5747 if (arg1) (arg1)->findex = arg2; 5748 } 5749 5750 5751 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1findex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5752 jlong jresult = 0 ; 5753 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5754 int *result = 0 ; 5755 5756 (void)jenv; 5757 (void)jcls; 5758 (void)jarg1_; 5759 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5760 result = (int *) ((arg1)->findex); 5761 *(int **)&jresult = result; 5762 return jresult; 5763 } 5764 5765 5766 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 5767 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5768 int arg2 ; 5769 5770 (void)jenv; 5771 (void)jcls; 5772 (void)jarg1_; 5773 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5774 arg2 = (int)jarg2; 5775 if (arg1) (arg1)->m_numIterations = arg2; 5776 } 5777 5778 5779 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5780 jint jresult = 0 ; 5781 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5782 int result; 5783 5784 (void)jenv; 5785 (void)jcls; 5786 (void)jarg1_; 5787 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5788 result = (int) ((arg1)->m_numIterations); 5789 jresult = (jint)result; 5790 return jresult; 5791 } 5792 5793 5794 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 5795 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5796 btScalar arg2 ; 5797 5798 (void)jenv; 5799 (void)jcls; 5800 (void)jarg1_; 5801 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5802 arg2 = (btScalar)jarg2; 5803 if (arg1) (arg1)->m_damping = arg2; 5804 } 5805 5806 5807 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1btConstraintInfo2_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5808 jfloat jresult = 0 ; 5809 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5810 btScalar result; 5811 5812 (void)jenv; 5813 (void)jcls; 5814 (void)jarg1_; 5815 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5816 result = (btScalar) ((arg1)->m_damping); 5817 jresult = (jfloat)result; 5818 return jresult; 5819 } 5820 5821 5822 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraint_1btConstraintInfo2(JNIEnv *jenv, jclass jcls) { 5823 jlong jresult = 0 ; 5824 btTypedConstraint::btConstraintInfo2 *result = 0 ; 5825 5826 (void)jenv; 5827 (void)jcls; 5828 result = (btTypedConstraint::btConstraintInfo2 *)new btTypedConstraint::btConstraintInfo2(); 5829 *(btTypedConstraint::btConstraintInfo2 **)&jresult = result; 5830 return jresult; 5831 } 5832 5833 5834 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraint_1btConstraintInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 5835 btTypedConstraint::btConstraintInfo2 *arg1 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5836 5837 (void)jenv; 5838 (void)jcls; 5839 arg1 = *(btTypedConstraint::btConstraintInfo2 **)&jarg1; 5840 delete arg1; 5841 } 5842 5843 5844 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getOverrideNumSolverIterations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5845 jint jresult = 0 ; 5846 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5847 int result; 5848 5849 (void)jenv; 5850 (void)jcls; 5851 (void)jarg1_; 5852 arg1 = *(btTypedConstraint **)&jarg1; 5853 result = (int)((btTypedConstraint const *)arg1)->getOverrideNumSolverIterations(); 5854 jresult = (jint)result; 5855 return jresult; 5856 } 5857 5858 5859 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setOverrideNumSolverIterations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 5860 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5861 int arg2 ; 5862 5863 (void)jenv; 5864 (void)jcls; 5865 (void)jarg1_; 5866 arg1 = *(btTypedConstraint **)&jarg1; 5867 arg2 = (int)jarg2; 5868 (arg1)->setOverrideNumSolverIterations(arg2); 5869 } 5870 5871 5872 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1buildJacobian(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5873 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5874 5875 (void)jenv; 5876 (void)jcls; 5877 (void)jarg1_; 5878 arg1 = *(btTypedConstraint **)&jarg1; 5879 (arg1)->buildJacobian(); 5880 } 5881 5882 5883 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setupSolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jint jarg4, jfloat jarg5) { 5884 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5885 btConstraintArray *arg2 = 0 ; 5886 int arg3 ; 5887 int arg4 ; 5888 btScalar arg5 ; 5889 5890 (void)jenv; 5891 (void)jcls; 5892 (void)jarg1_; 5893 arg1 = *(btTypedConstraint **)&jarg1; 5894 arg2 = *(btConstraintArray **)&jarg2; 5895 if (!arg2) { 5896 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btConstraintArray & reference is null"); 5897 return ; 5898 } 5899 arg3 = (int)jarg3; 5900 arg4 = (int)jarg4; 5901 arg5 = (btScalar)jarg5; 5902 (arg1)->setupSolverConstraint(*arg2,arg3,arg4,arg5); 5903 } 5904 5905 5906 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getInfo1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 5907 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5908 btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 5909 5910 (void)jenv; 5911 (void)jcls; 5912 (void)jarg1_; 5913 (void)jarg2_; 5914 arg1 = *(btTypedConstraint **)&jarg1; 5915 arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2; 5916 (arg1)->getInfo1(arg2); 5917 } 5918 5919 5920 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 5921 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5922 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 5923 5924 (void)jenv; 5925 (void)jcls; 5926 (void)jarg1_; 5927 (void)jarg2_; 5928 arg1 = *(btTypedConstraint **)&jarg1; 5929 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 5930 (arg1)->getInfo2(arg2); 5931 } 5932 5933 5934 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1internalSetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 5935 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5936 btScalar arg2 ; 5937 5938 (void)jenv; 5939 (void)jcls; 5940 (void)jarg1_; 5941 arg1 = *(btTypedConstraint **)&jarg1; 5942 arg2 = (btScalar)jarg2; 5943 (arg1)->internalSetAppliedImpulse(arg2); 5944 } 5945 5946 5947 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1internalGetAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5948 jfloat jresult = 0 ; 5949 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5950 btScalar result; 5951 5952 (void)jenv; 5953 (void)jcls; 5954 (void)jarg1_; 5955 arg1 = *(btTypedConstraint **)&jarg1; 5956 result = (btScalar)(arg1)->internalGetAppliedImpulse(); 5957 jresult = (jfloat)result; 5958 return jresult; 5959 } 5960 5961 5962 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getBreakingImpulseThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5963 jfloat jresult = 0 ; 5964 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5965 btScalar result; 5966 5967 (void)jenv; 5968 (void)jcls; 5969 (void)jarg1_; 5970 arg1 = *(btTypedConstraint **)&jarg1; 5971 result = (btScalar)((btTypedConstraint const *)arg1)->getBreakingImpulseThreshold(); 5972 jresult = (jfloat)result; 5973 return jresult; 5974 } 5975 5976 5977 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setBreakingImpulseThreshold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 5978 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5979 btScalar arg2 ; 5980 5981 (void)jenv; 5982 (void)jcls; 5983 (void)jarg1_; 5984 arg1 = *(btTypedConstraint **)&jarg1; 5985 arg2 = (btScalar)jarg2; 5986 (arg1)->setBreakingImpulseThreshold(arg2); 5987 } 5988 5989 5990 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1isEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 5991 jboolean jresult = 0 ; 5992 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 5993 bool result; 5994 5995 (void)jenv; 5996 (void)jcls; 5997 (void)jarg1_; 5998 arg1 = *(btTypedConstraint **)&jarg1; 5999 result = (bool)((btTypedConstraint const *)arg1)->isEnabled(); 6000 jresult = (jboolean)result; 6001 return jresult; 6002 } 6003 6004 6005 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setEnabled(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 6006 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6007 bool arg2 ; 6008 6009 (void)jenv; 6010 (void)jcls; 6011 (void)jarg1_; 6012 arg1 = *(btTypedConstraint **)&jarg1; 6013 arg2 = jarg2 ? true : false; 6014 (arg1)->setEnabled(arg2); 6015 } 6016 6017 6018 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1solveConstraintObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jfloat jarg4) { 6019 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6020 btSolverBody *arg2 = 0 ; 6021 btSolverBody *arg3 = 0 ; 6022 btScalar arg4 ; 6023 6024 (void)jenv; 6025 (void)jcls; 6026 (void)jarg1_; 6027 (void)jarg2_; 6028 (void)jarg3_; 6029 arg1 = *(btTypedConstraint **)&jarg1; 6030 arg2 = *(btSolverBody **)&jarg2; 6031 if (!arg2) { 6032 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSolverBody & reference is null"); 6033 return ; 6034 } 6035 arg3 = *(btSolverBody **)&jarg3; 6036 if (!arg3) { 6037 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btSolverBody & reference is null"); 6038 return ; 6039 } 6040 arg4 = (btScalar)jarg4; 6041 (arg1)->solveConstraintObsolete(*arg2,*arg3,arg4); 6042 } 6043 6044 6045 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyA_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6046 jlong jresult = 0 ; 6047 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6048 btRigidBody *result = 0 ; 6049 6050 (void)jenv; 6051 (void)jcls; 6052 (void)jarg1_; 6053 arg1 = *(btTypedConstraint **)&jarg1; 6054 result = (btRigidBody *) &((btTypedConstraint const *)arg1)->getRigidBodyA(); 6055 *(btRigidBody **)&jresult = result; 6056 return jresult; 6057 } 6058 6059 6060 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getRigidBodyB_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6061 jlong jresult = 0 ; 6062 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6063 btRigidBody *result = 0 ; 6064 6065 (void)jenv; 6066 (void)jcls; 6067 (void)jarg1_; 6068 arg1 = *(btTypedConstraint **)&jarg1; 6069 result = (btRigidBody *) &((btTypedConstraint const *)arg1)->getRigidBodyB(); 6070 *(btRigidBody **)&jresult = result; 6071 return jresult; 6072 } 6073 6074 6075 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6076 jint jresult = 0 ; 6077 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6078 int result; 6079 6080 (void)jenv; 6081 (void)jcls; 6082 (void)jarg1_; 6083 arg1 = *(btTypedConstraint **)&jarg1; 6084 result = (int)((btTypedConstraint const *)arg1)->getUserConstraintType(); 6085 jresult = (jint)result; 6086 return jresult; 6087 } 6088 6089 6090 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6091 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6092 int arg2 ; 6093 6094 (void)jenv; 6095 (void)jcls; 6096 (void)jarg1_; 6097 arg1 = *(btTypedConstraint **)&jarg1; 6098 arg2 = (int)jarg2; 6099 (arg1)->setUserConstraintType(arg2); 6100 } 6101 6102 6103 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6104 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6105 int arg2 ; 6106 6107 (void)jenv; 6108 (void)jcls; 6109 (void)jarg1_; 6110 arg1 = *(btTypedConstraint **)&jarg1; 6111 arg2 = (int)jarg2; 6112 (arg1)->setUserConstraintId(arg2); 6113 } 6114 6115 6116 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6117 jint jresult = 0 ; 6118 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6119 int result; 6120 6121 (void)jenv; 6122 (void)jcls; 6123 (void)jarg1_; 6124 arg1 = *(btTypedConstraint **)&jarg1; 6125 result = (int)((btTypedConstraint const *)arg1)->getUserConstraintId(); 6126 jresult = (jint)result; 6127 return jresult; 6128 } 6129 6130 6131 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setUserConstraintPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 6132 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6133 void *arg2 = (void *) 0 ; 6134 6135 (void)jenv; 6136 (void)jcls; 6137 (void)jarg1_; 6138 arg1 = *(btTypedConstraint **)&jarg1; 6139 arg2 = (void *)jarg2; 6140 (arg1)->setUserConstraintPtr(arg2); 6141 } 6142 6143 6144 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUserConstraintPtr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6145 jlong jresult = 0 ; 6146 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6147 void *result = 0 ; 6148 6149 (void)jenv; 6150 (void)jcls; 6151 (void)jarg1_; 6152 arg1 = *(btTypedConstraint **)&jarg1; 6153 result = (void *)(arg1)->getUserConstraintPtr(); 6154 jresult = (jlong)result; 6155 return jresult; 6156 } 6157 6158 6159 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setJointFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 6160 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6161 btJointFeedback *arg2 = (btJointFeedback *) 0 ; 6162 6163 (void)jenv; 6164 (void)jcls; 6165 (void)jarg1_; 6166 (void)jarg2_; 6167 arg1 = *(btTypedConstraint **)&jarg1; 6168 arg2 = *(btJointFeedback **)&jarg2; 6169 (arg1)->setJointFeedback(arg2); 6170 } 6171 6172 6173 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getJointFeedback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6174 jlong jresult = 0 ; 6175 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6176 btJointFeedback *result = 0 ; 6177 6178 (void)jenv; 6179 (void)jcls; 6180 (void)jarg1_; 6181 arg1 = *(btTypedConstraint **)&jarg1; 6182 result = (btJointFeedback *)((btTypedConstraint const *)arg1)->getJointFeedback(); 6183 *(btJointFeedback **)&jresult = result; 6184 return jresult; 6185 } 6186 6187 6188 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getUid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6189 jint jresult = 0 ; 6190 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6191 int result; 6192 6193 (void)jenv; 6194 (void)jcls; 6195 (void)jarg1_; 6196 arg1 = *(btTypedConstraint **)&jarg1; 6197 result = (int)((btTypedConstraint const *)arg1)->getUid(); 6198 jresult = (jint)result; 6199 return jresult; 6200 } 6201 6202 6203 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1needsFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6204 jboolean jresult = 0 ; 6205 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6206 bool result; 6207 6208 (void)jenv; 6209 (void)jcls; 6210 (void)jarg1_; 6211 arg1 = *(btTypedConstraint **)&jarg1; 6212 result = (bool)((btTypedConstraint const *)arg1)->needsFeedback(); 6213 jresult = (jboolean)result; 6214 return jresult; 6215 } 6216 6217 6218 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1enableFeedback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 6219 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6220 bool arg2 ; 6221 6222 (void)jenv; 6223 (void)jcls; 6224 (void)jarg1_; 6225 arg1 = *(btTypedConstraint **)&jarg1; 6226 arg2 = jarg2 ? true : false; 6227 (arg1)->enableFeedback(arg2); 6228 } 6229 6230 6231 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getAppliedImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6232 jfloat jresult = 0 ; 6233 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6234 btScalar result; 6235 6236 (void)jenv; 6237 (void)jcls; 6238 (void)jarg1_; 6239 arg1 = *(btTypedConstraint **)&jarg1; 6240 result = (btScalar)((btTypedConstraint const *)arg1)->getAppliedImpulse(); 6241 jresult = (jfloat)result; 6242 return jresult; 6243 } 6244 6245 6246 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6247 jint jresult = 0 ; 6248 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6249 btTypedConstraintType result; 6250 6251 (void)jenv; 6252 (void)jcls; 6253 (void)jarg1_; 6254 arg1 = *(btTypedConstraint **)&jarg1; 6255 result = (btTypedConstraintType)((btTypedConstraint const *)arg1)->getConstraintType(); 6256 jresult = (jint)result; 6257 return jresult; 6258 } 6259 6260 6261 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setDbgDrawSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 6262 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6263 btScalar arg2 ; 6264 6265 (void)jenv; 6266 (void)jcls; 6267 (void)jarg1_; 6268 arg1 = *(btTypedConstraint **)&jarg1; 6269 arg2 = (btScalar)jarg2; 6270 (arg1)->setDbgDrawSize(arg2); 6271 } 6272 6273 6274 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getDbgDrawSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6275 jfloat jresult = 0 ; 6276 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6277 btScalar result; 6278 6279 (void)jenv; 6280 (void)jcls; 6281 (void)jarg1_; 6282 arg1 = *(btTypedConstraint **)&jarg1; 6283 result = (btScalar)(arg1)->getDbgDrawSize(); 6284 jresult = (jfloat)result; 6285 return jresult; 6286 } 6287 6288 6289 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 6290 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6291 int arg2 ; 6292 btScalar arg3 ; 6293 int arg4 ; 6294 6295 (void)jenv; 6296 (void)jcls; 6297 (void)jarg1_; 6298 arg1 = *(btTypedConstraint **)&jarg1; 6299 arg2 = (int)jarg2; 6300 arg3 = (btScalar)jarg3; 6301 arg4 = (int)jarg4; 6302 (arg1)->setParam(arg2,arg3,arg4); 6303 } 6304 6305 6306 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 6307 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6308 int arg2 ; 6309 btScalar arg3 ; 6310 6311 (void)jenv; 6312 (void)jcls; 6313 (void)jarg1_; 6314 arg1 = *(btTypedConstraint **)&jarg1; 6315 arg2 = (int)jarg2; 6316 arg3 = (btScalar)jarg3; 6317 (arg1)->setParam(arg2,arg3); 6318 } 6319 6320 6321 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 6322 jfloat jresult = 0 ; 6323 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6324 int arg2 ; 6325 int arg3 ; 6326 btScalar result; 6327 6328 (void)jenv; 6329 (void)jcls; 6330 (void)jarg1_; 6331 arg1 = *(btTypedConstraint **)&jarg1; 6332 arg2 = (int)jarg2; 6333 arg3 = (int)jarg3; 6334 result = (btScalar)((btTypedConstraint const *)arg1)->getParam(arg2,arg3); 6335 jresult = (jfloat)result; 6336 return jresult; 6337 } 6338 6339 6340 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6341 jfloat jresult = 0 ; 6342 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6343 int arg2 ; 6344 btScalar result; 6345 6346 (void)jenv; 6347 (void)jcls; 6348 (void)jarg1_; 6349 arg1 = *(btTypedConstraint **)&jarg1; 6350 arg2 = (int)jarg2; 6351 result = (btScalar)((btTypedConstraint const *)arg1)->getParam(arg2); 6352 jresult = (jfloat)result; 6353 return jresult; 6354 } 6355 6356 6357 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1calculateSerializeBufferSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6358 jint jresult = 0 ; 6359 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6360 int result; 6361 6362 (void)jenv; 6363 (void)jcls; 6364 (void)jarg1_; 6365 arg1 = *(btTypedConstraint **)&jarg1; 6366 result = (int)((btTypedConstraint const *)arg1)->calculateSerializeBufferSize(); 6367 jresult = (jint)result; 6368 return jresult; 6369 } 6370 6371 6372 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) { 6373 jstring jresult = 0 ; 6374 btTypedConstraint *arg1 = (btTypedConstraint *) 0 ; 6375 void *arg2 = (void *) 0 ; 6376 btSerializer *arg3 = (btSerializer *) 0 ; 6377 char *result = 0 ; 6378 6379 (void)jenv; 6380 (void)jcls; 6381 (void)jarg1_; 6382 arg1 = *(btTypedConstraint **)&jarg1; 6383 arg2 = (void *)jarg2; 6384 arg3 = *(btSerializer **)&jarg3; 6385 result = (char *)((btTypedConstraint const *)arg1)->serialize(arg2,arg3); 6386 if (result) jresult = jenv->NewStringUTF((const char *)result); 6387 return jresult; 6388 } 6389 6390 6391 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAdjustAngleToLimits(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2, jfloat jarg3) { 6392 jfloat jresult = 0 ; 6393 btScalar arg1 ; 6394 btScalar arg2 ; 6395 btScalar arg3 ; 6396 btScalar result; 6397 6398 (void)jenv; 6399 (void)jcls; 6400 arg1 = (btScalar)jarg1; 6401 arg2 = (btScalar)jarg2; 6402 arg3 = (btScalar)jarg3; 6403 result = (btScalar)btAdjustAngleToLimits(arg1,arg2,arg3); 6404 jresult = (jfloat)result; 6405 return jresult; 6406 } 6407 6408 6409 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 6410 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6411 btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ; 6412 6413 (void)jenv; 6414 (void)jcls; 6415 (void)jarg1_; 6416 (void)jarg2_; 6417 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6418 arg2 = *(btRigidBodyFloatData **)&jarg2; 6419 if (arg1) (arg1)->m_rbA = arg2; 6420 } 6421 6422 6423 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6424 jlong jresult = 0 ; 6425 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6426 btRigidBodyFloatData *result = 0 ; 6427 6428 (void)jenv; 6429 (void)jcls; 6430 (void)jarg1_; 6431 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6432 result = (btRigidBodyFloatData *) ((arg1)->m_rbA); 6433 *(btRigidBodyFloatData **)&jresult = result; 6434 return jresult; 6435 } 6436 6437 6438 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 6439 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6440 btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ; 6441 6442 (void)jenv; 6443 (void)jcls; 6444 (void)jarg1_; 6445 (void)jarg2_; 6446 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6447 arg2 = *(btRigidBodyFloatData **)&jarg2; 6448 if (arg1) (arg1)->m_rbB = arg2; 6449 } 6450 6451 6452 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6453 jlong jresult = 0 ; 6454 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6455 btRigidBodyFloatData *result = 0 ; 6456 6457 (void)jenv; 6458 (void)jcls; 6459 (void)jarg1_; 6460 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6461 result = (btRigidBodyFloatData *) ((arg1)->m_rbB); 6462 *(btRigidBodyFloatData **)&jresult = result; 6463 return jresult; 6464 } 6465 6466 6467 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 6468 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6469 char *arg2 = (char *) 0 ; 6470 6471 (void)jenv; 6472 (void)jcls; 6473 (void)jarg1_; 6474 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6475 arg2 = 0; 6476 if (jarg2) { 6477 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 6478 if (!arg2) return ; 6479 } 6480 { 6481 delete [] arg1->m_name; 6482 if (arg2) { 6483 arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]); 6484 strcpy((char *)arg1->m_name, (const char *)arg2); 6485 } else { 6486 arg1->m_name = 0; 6487 } 6488 } 6489 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 6490 } 6491 6492 6493 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6494 jstring jresult = 0 ; 6495 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6496 char *result = 0 ; 6497 6498 (void)jenv; 6499 (void)jcls; 6500 (void)jarg1_; 6501 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6502 result = (char *) ((arg1)->m_name); 6503 if (result) jresult = jenv->NewStringUTF((const char *)result); 6504 return jresult; 6505 } 6506 6507 6508 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6509 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6510 int arg2 ; 6511 6512 (void)jenv; 6513 (void)jcls; 6514 (void)jarg1_; 6515 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6516 arg2 = (int)jarg2; 6517 if (arg1) (arg1)->m_objectType = arg2; 6518 } 6519 6520 6521 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6522 jint jresult = 0 ; 6523 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6524 int result; 6525 6526 (void)jenv; 6527 (void)jcls; 6528 (void)jarg1_; 6529 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6530 result = (int) ((arg1)->m_objectType); 6531 jresult = (jint)result; 6532 return jresult; 6533 } 6534 6535 6536 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6537 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6538 int arg2 ; 6539 6540 (void)jenv; 6541 (void)jcls; 6542 (void)jarg1_; 6543 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6544 arg2 = (int)jarg2; 6545 if (arg1) (arg1)->m_userConstraintType = arg2; 6546 } 6547 6548 6549 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6550 jint jresult = 0 ; 6551 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6552 int result; 6553 6554 (void)jenv; 6555 (void)jcls; 6556 (void)jarg1_; 6557 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6558 result = (int) ((arg1)->m_userConstraintType); 6559 jresult = (jint)result; 6560 return jresult; 6561 } 6562 6563 6564 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6565 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6566 int arg2 ; 6567 6568 (void)jenv; 6569 (void)jcls; 6570 (void)jarg1_; 6571 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6572 arg2 = (int)jarg2; 6573 if (arg1) (arg1)->m_userConstraintId = arg2; 6574 } 6575 6576 6577 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6578 jint jresult = 0 ; 6579 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6580 int result; 6581 6582 (void)jenv; 6583 (void)jcls; 6584 (void)jarg1_; 6585 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6586 result = (int) ((arg1)->m_userConstraintId); 6587 jresult = (jint)result; 6588 return jresult; 6589 } 6590 6591 6592 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6593 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6594 int arg2 ; 6595 6596 (void)jenv; 6597 (void)jcls; 6598 (void)jarg1_; 6599 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6600 arg2 = (int)jarg2; 6601 if (arg1) (arg1)->m_needsFeedback = arg2; 6602 } 6603 6604 6605 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6606 jint jresult = 0 ; 6607 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6608 int result; 6609 6610 (void)jenv; 6611 (void)jcls; 6612 (void)jarg1_; 6613 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6614 result = (int) ((arg1)->m_needsFeedback); 6615 jresult = (jint)result; 6616 return jresult; 6617 } 6618 6619 6620 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 6621 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6622 float arg2 ; 6623 6624 (void)jenv; 6625 (void)jcls; 6626 (void)jarg1_; 6627 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6628 arg2 = (float)jarg2; 6629 if (arg1) (arg1)->m_appliedImpulse = arg2; 6630 } 6631 6632 6633 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6634 jfloat jresult = 0 ; 6635 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6636 float result; 6637 6638 (void)jenv; 6639 (void)jcls; 6640 (void)jarg1_; 6641 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6642 result = (float) ((arg1)->m_appliedImpulse); 6643 jresult = (jfloat)result; 6644 return jresult; 6645 } 6646 6647 6648 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 6649 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6650 float arg2 ; 6651 6652 (void)jenv; 6653 (void)jcls; 6654 (void)jarg1_; 6655 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6656 arg2 = (float)jarg2; 6657 if (arg1) (arg1)->m_dbgDrawSize = arg2; 6658 } 6659 6660 6661 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6662 jfloat jresult = 0 ; 6663 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6664 float result; 6665 6666 (void)jenv; 6667 (void)jcls; 6668 (void)jarg1_; 6669 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6670 result = (float) ((arg1)->m_dbgDrawSize); 6671 jresult = (jfloat)result; 6672 return jresult; 6673 } 6674 6675 6676 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6677 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6678 int arg2 ; 6679 6680 (void)jenv; 6681 (void)jcls; 6682 (void)jarg1_; 6683 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6684 arg2 = (int)jarg2; 6685 if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2; 6686 } 6687 6688 6689 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6690 jint jresult = 0 ; 6691 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6692 int result; 6693 6694 (void)jenv; 6695 (void)jcls; 6696 (void)jarg1_; 6697 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6698 result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies); 6699 jresult = (jint)result; 6700 return jresult; 6701 } 6702 6703 6704 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6705 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6706 int arg2 ; 6707 6708 (void)jenv; 6709 (void)jcls; 6710 (void)jarg1_; 6711 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6712 arg2 = (int)jarg2; 6713 if (arg1) (arg1)->m_overrideNumSolverIterations = arg2; 6714 } 6715 6716 6717 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6718 jint jresult = 0 ; 6719 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6720 int result; 6721 6722 (void)jenv; 6723 (void)jcls; 6724 (void)jarg1_; 6725 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6726 result = (int) ((arg1)->m_overrideNumSolverIterations); 6727 jresult = (jint)result; 6728 return jresult; 6729 } 6730 6731 6732 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 6733 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6734 float arg2 ; 6735 6736 (void)jenv; 6737 (void)jcls; 6738 (void)jarg1_; 6739 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6740 arg2 = (float)jarg2; 6741 if (arg1) (arg1)->m_breakingImpulseThreshold = arg2; 6742 } 6743 6744 6745 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6746 jfloat jresult = 0 ; 6747 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6748 float result; 6749 6750 (void)jenv; 6751 (void)jcls; 6752 (void)jarg1_; 6753 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6754 result = (float) ((arg1)->m_breakingImpulseThreshold); 6755 jresult = (jfloat)result; 6756 return jresult; 6757 } 6758 6759 6760 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6761 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6762 int arg2 ; 6763 6764 (void)jenv; 6765 (void)jcls; 6766 (void)jarg1_; 6767 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6768 arg2 = (int)jarg2; 6769 if (arg1) (arg1)->m_isEnabled = arg2; 6770 } 6771 6772 6773 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintFloatData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6774 jint jresult = 0 ; 6775 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6776 int result; 6777 6778 (void)jenv; 6779 (void)jcls; 6780 (void)jarg1_; 6781 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6782 result = (int) ((arg1)->m_isEnabled); 6783 jresult = (jint)result; 6784 return jresult; 6785 } 6786 6787 6788 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintFloatData(JNIEnv *jenv, jclass jcls) { 6789 jlong jresult = 0 ; 6790 btTypedConstraintFloatData *result = 0 ; 6791 6792 (void)jenv; 6793 (void)jcls; 6794 result = (btTypedConstraintFloatData *)new btTypedConstraintFloatData(); 6795 *(btTypedConstraintFloatData **)&jresult = result; 6796 return jresult; 6797 } 6798 6799 6800 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 6801 btTypedConstraintFloatData *arg1 = (btTypedConstraintFloatData *) 0 ; 6802 6803 (void)jenv; 6804 (void)jcls; 6805 arg1 = *(btTypedConstraintFloatData **)&jarg1; 6806 delete arg1; 6807 } 6808 6809 6810 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 6811 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6812 btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ; 6813 6814 (void)jenv; 6815 (void)jcls; 6816 (void)jarg1_; 6817 (void)jarg2_; 6818 arg1 = *(btTypedConstraintData **)&jarg1; 6819 arg2 = *(btRigidBodyFloatData **)&jarg2; 6820 if (arg1) (arg1)->m_rbA = arg2; 6821 } 6822 6823 6824 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6825 jlong jresult = 0 ; 6826 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6827 btRigidBodyFloatData *result = 0 ; 6828 6829 (void)jenv; 6830 (void)jcls; 6831 (void)jarg1_; 6832 arg1 = *(btTypedConstraintData **)&jarg1; 6833 result = (btRigidBodyFloatData *) ((arg1)->m_rbA); 6834 *(btRigidBodyFloatData **)&jresult = result; 6835 return jresult; 6836 } 6837 6838 6839 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 6840 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6841 btRigidBodyFloatData *arg2 = (btRigidBodyFloatData *) 0 ; 6842 6843 (void)jenv; 6844 (void)jcls; 6845 (void)jarg1_; 6846 (void)jarg2_; 6847 arg1 = *(btTypedConstraintData **)&jarg1; 6848 arg2 = *(btRigidBodyFloatData **)&jarg2; 6849 if (arg1) (arg1)->m_rbB = arg2; 6850 } 6851 6852 6853 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6854 jlong jresult = 0 ; 6855 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6856 btRigidBodyFloatData *result = 0 ; 6857 6858 (void)jenv; 6859 (void)jcls; 6860 (void)jarg1_; 6861 arg1 = *(btTypedConstraintData **)&jarg1; 6862 result = (btRigidBodyFloatData *) ((arg1)->m_rbB); 6863 *(btRigidBodyFloatData **)&jresult = result; 6864 return jresult; 6865 } 6866 6867 6868 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 6869 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6870 char *arg2 = (char *) 0 ; 6871 6872 (void)jenv; 6873 (void)jcls; 6874 (void)jarg1_; 6875 arg1 = *(btTypedConstraintData **)&jarg1; 6876 arg2 = 0; 6877 if (jarg2) { 6878 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 6879 if (!arg2) return ; 6880 } 6881 { 6882 delete [] arg1->m_name; 6883 if (arg2) { 6884 arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]); 6885 strcpy((char *)arg1->m_name, (const char *)arg2); 6886 } else { 6887 arg1->m_name = 0; 6888 } 6889 } 6890 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 6891 } 6892 6893 6894 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6895 jstring jresult = 0 ; 6896 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6897 char *result = 0 ; 6898 6899 (void)jenv; 6900 (void)jcls; 6901 (void)jarg1_; 6902 arg1 = *(btTypedConstraintData **)&jarg1; 6903 result = (char *) ((arg1)->m_name); 6904 if (result) jresult = jenv->NewStringUTF((const char *)result); 6905 return jresult; 6906 } 6907 6908 6909 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6910 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6911 int arg2 ; 6912 6913 (void)jenv; 6914 (void)jcls; 6915 (void)jarg1_; 6916 arg1 = *(btTypedConstraintData **)&jarg1; 6917 arg2 = (int)jarg2; 6918 if (arg1) (arg1)->m_objectType = arg2; 6919 } 6920 6921 6922 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6923 jint jresult = 0 ; 6924 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6925 int result; 6926 6927 (void)jenv; 6928 (void)jcls; 6929 (void)jarg1_; 6930 arg1 = *(btTypedConstraintData **)&jarg1; 6931 result = (int) ((arg1)->m_objectType); 6932 jresult = (jint)result; 6933 return jresult; 6934 } 6935 6936 6937 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6938 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6939 int arg2 ; 6940 6941 (void)jenv; 6942 (void)jcls; 6943 (void)jarg1_; 6944 arg1 = *(btTypedConstraintData **)&jarg1; 6945 arg2 = (int)jarg2; 6946 if (arg1) (arg1)->m_userConstraintType = arg2; 6947 } 6948 6949 6950 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6951 jint jresult = 0 ; 6952 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6953 int result; 6954 6955 (void)jenv; 6956 (void)jcls; 6957 (void)jarg1_; 6958 arg1 = *(btTypedConstraintData **)&jarg1; 6959 result = (int) ((arg1)->m_userConstraintType); 6960 jresult = (jint)result; 6961 return jresult; 6962 } 6963 6964 6965 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6966 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6967 int arg2 ; 6968 6969 (void)jenv; 6970 (void)jcls; 6971 (void)jarg1_; 6972 arg1 = *(btTypedConstraintData **)&jarg1; 6973 arg2 = (int)jarg2; 6974 if (arg1) (arg1)->m_userConstraintId = arg2; 6975 } 6976 6977 6978 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 6979 jint jresult = 0 ; 6980 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6981 int result; 6982 6983 (void)jenv; 6984 (void)jcls; 6985 (void)jarg1_; 6986 arg1 = *(btTypedConstraintData **)&jarg1; 6987 result = (int) ((arg1)->m_userConstraintId); 6988 jresult = (jint)result; 6989 return jresult; 6990 } 6991 6992 6993 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 6994 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 6995 int arg2 ; 6996 6997 (void)jenv; 6998 (void)jcls; 6999 (void)jarg1_; 7000 arg1 = *(btTypedConstraintData **)&jarg1; 7001 arg2 = (int)jarg2; 7002 if (arg1) (arg1)->m_needsFeedback = arg2; 7003 } 7004 7005 7006 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7007 jint jresult = 0 ; 7008 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7009 int result; 7010 7011 (void)jenv; 7012 (void)jcls; 7013 (void)jarg1_; 7014 arg1 = *(btTypedConstraintData **)&jarg1; 7015 result = (int) ((arg1)->m_needsFeedback); 7016 jresult = (jint)result; 7017 return jresult; 7018 } 7019 7020 7021 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 7022 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7023 float arg2 ; 7024 7025 (void)jenv; 7026 (void)jcls; 7027 (void)jarg1_; 7028 arg1 = *(btTypedConstraintData **)&jarg1; 7029 arg2 = (float)jarg2; 7030 if (arg1) (arg1)->m_appliedImpulse = arg2; 7031 } 7032 7033 7034 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7035 jfloat jresult = 0 ; 7036 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7037 float result; 7038 7039 (void)jenv; 7040 (void)jcls; 7041 (void)jarg1_; 7042 arg1 = *(btTypedConstraintData **)&jarg1; 7043 result = (float) ((arg1)->m_appliedImpulse); 7044 jresult = (jfloat)result; 7045 return jresult; 7046 } 7047 7048 7049 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 7050 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7051 float arg2 ; 7052 7053 (void)jenv; 7054 (void)jcls; 7055 (void)jarg1_; 7056 arg1 = *(btTypedConstraintData **)&jarg1; 7057 arg2 = (float)jarg2; 7058 if (arg1) (arg1)->m_dbgDrawSize = arg2; 7059 } 7060 7061 7062 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7063 jfloat jresult = 0 ; 7064 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7065 float result; 7066 7067 (void)jenv; 7068 (void)jcls; 7069 (void)jarg1_; 7070 arg1 = *(btTypedConstraintData **)&jarg1; 7071 result = (float) ((arg1)->m_dbgDrawSize); 7072 jresult = (jfloat)result; 7073 return jresult; 7074 } 7075 7076 7077 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7078 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7079 int arg2 ; 7080 7081 (void)jenv; 7082 (void)jcls; 7083 (void)jarg1_; 7084 arg1 = *(btTypedConstraintData **)&jarg1; 7085 arg2 = (int)jarg2; 7086 if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2; 7087 } 7088 7089 7090 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7091 jint jresult = 0 ; 7092 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7093 int result; 7094 7095 (void)jenv; 7096 (void)jcls; 7097 (void)jarg1_; 7098 arg1 = *(btTypedConstraintData **)&jarg1; 7099 result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies); 7100 jresult = (jint)result; 7101 return jresult; 7102 } 7103 7104 7105 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7106 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7107 int arg2 ; 7108 7109 (void)jenv; 7110 (void)jcls; 7111 (void)jarg1_; 7112 arg1 = *(btTypedConstraintData **)&jarg1; 7113 arg2 = (int)jarg2; 7114 if (arg1) (arg1)->m_overrideNumSolverIterations = arg2; 7115 } 7116 7117 7118 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7119 jint jresult = 0 ; 7120 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7121 int result; 7122 7123 (void)jenv; 7124 (void)jcls; 7125 (void)jarg1_; 7126 arg1 = *(btTypedConstraintData **)&jarg1; 7127 result = (int) ((arg1)->m_overrideNumSolverIterations); 7128 jresult = (jint)result; 7129 return jresult; 7130 } 7131 7132 7133 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 7134 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7135 float arg2 ; 7136 7137 (void)jenv; 7138 (void)jcls; 7139 (void)jarg1_; 7140 arg1 = *(btTypedConstraintData **)&jarg1; 7141 arg2 = (float)jarg2; 7142 if (arg1) (arg1)->m_breakingImpulseThreshold = arg2; 7143 } 7144 7145 7146 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7147 jfloat jresult = 0 ; 7148 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7149 float result; 7150 7151 (void)jenv; 7152 (void)jcls; 7153 (void)jarg1_; 7154 arg1 = *(btTypedConstraintData **)&jarg1; 7155 result = (float) ((arg1)->m_breakingImpulseThreshold); 7156 jresult = (jfloat)result; 7157 return jresult; 7158 } 7159 7160 7161 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7162 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7163 int arg2 ; 7164 7165 (void)jenv; 7166 (void)jcls; 7167 (void)jarg1_; 7168 arg1 = *(btTypedConstraintData **)&jarg1; 7169 arg2 = (int)jarg2; 7170 if (arg1) (arg1)->m_isEnabled = arg2; 7171 } 7172 7173 7174 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7175 jint jresult = 0 ; 7176 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7177 int result; 7178 7179 (void)jenv; 7180 (void)jcls; 7181 (void)jarg1_; 7182 arg1 = *(btTypedConstraintData **)&jarg1; 7183 result = (int) ((arg1)->m_isEnabled); 7184 jresult = (jint)result; 7185 return jresult; 7186 } 7187 7188 7189 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintData(JNIEnv *jenv, jclass jcls) { 7190 jlong jresult = 0 ; 7191 btTypedConstraintData *result = 0 ; 7192 7193 (void)jenv; 7194 (void)jcls; 7195 result = (btTypedConstraintData *)new btTypedConstraintData(); 7196 *(btTypedConstraintData **)&jresult = result; 7197 return jresult; 7198 } 7199 7200 7201 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 7202 btTypedConstraintData *arg1 = (btTypedConstraintData *) 0 ; 7203 7204 (void)jenv; 7205 (void)jcls; 7206 arg1 = *(btTypedConstraintData **)&jarg1; 7207 delete arg1; 7208 } 7209 7210 7211 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 7212 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7213 btRigidBodyDoubleData *arg2 = (btRigidBodyDoubleData *) 0 ; 7214 7215 (void)jenv; 7216 (void)jcls; 7217 (void)jarg1_; 7218 (void)jarg2_; 7219 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7220 arg2 = *(btRigidBodyDoubleData **)&jarg2; 7221 if (arg1) (arg1)->m_rbA = arg2; 7222 } 7223 7224 7225 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7226 jlong jresult = 0 ; 7227 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7228 btRigidBodyDoubleData *result = 0 ; 7229 7230 (void)jenv; 7231 (void)jcls; 7232 (void)jarg1_; 7233 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7234 result = (btRigidBodyDoubleData *) ((arg1)->m_rbA); 7235 *(btRigidBodyDoubleData **)&jresult = result; 7236 return jresult; 7237 } 7238 7239 7240 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 7241 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7242 btRigidBodyDoubleData *arg2 = (btRigidBodyDoubleData *) 0 ; 7243 7244 (void)jenv; 7245 (void)jcls; 7246 (void)jarg1_; 7247 (void)jarg2_; 7248 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7249 arg2 = *(btRigidBodyDoubleData **)&jarg2; 7250 if (arg1) (arg1)->m_rbB = arg2; 7251 } 7252 7253 7254 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1rbB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7255 jlong jresult = 0 ; 7256 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7257 btRigidBodyDoubleData *result = 0 ; 7258 7259 (void)jenv; 7260 (void)jcls; 7261 (void)jarg1_; 7262 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7263 result = (btRigidBodyDoubleData *) ((arg1)->m_rbB); 7264 *(btRigidBodyDoubleData **)&jresult = result; 7265 return jresult; 7266 } 7267 7268 7269 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1name_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 7270 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7271 char *arg2 = (char *) 0 ; 7272 7273 (void)jenv; 7274 (void)jcls; 7275 (void)jarg1_; 7276 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7277 arg2 = 0; 7278 if (jarg2) { 7279 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 7280 if (!arg2) return ; 7281 } 7282 { 7283 delete [] arg1->m_name; 7284 if (arg2) { 7285 arg1->m_name = (char *) (new char[strlen((const char *)arg2)+1]); 7286 strcpy((char *)arg1->m_name, (const char *)arg2); 7287 } else { 7288 arg1->m_name = 0; 7289 } 7290 } 7291 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 7292 } 7293 7294 7295 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1name_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7296 jstring jresult = 0 ; 7297 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7298 char *result = 0 ; 7299 7300 (void)jenv; 7301 (void)jcls; 7302 (void)jarg1_; 7303 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7304 result = (char *) ((arg1)->m_name); 7305 if (result) jresult = jenv->NewStringUTF((const char *)result); 7306 return jresult; 7307 } 7308 7309 7310 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1objectType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7311 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7312 int arg2 ; 7313 7314 (void)jenv; 7315 (void)jcls; 7316 (void)jarg1_; 7317 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7318 arg2 = (int)jarg2; 7319 if (arg1) (arg1)->m_objectType = arg2; 7320 } 7321 7322 7323 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1objectType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7324 jint jresult = 0 ; 7325 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7326 int result; 7327 7328 (void)jenv; 7329 (void)jcls; 7330 (void)jarg1_; 7331 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7332 result = (int) ((arg1)->m_objectType); 7333 jresult = (jint)result; 7334 return jresult; 7335 } 7336 7337 7338 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintType_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7339 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7340 int arg2 ; 7341 7342 (void)jenv; 7343 (void)jcls; 7344 (void)jarg1_; 7345 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7346 arg2 = (int)jarg2; 7347 if (arg1) (arg1)->m_userConstraintType = arg2; 7348 } 7349 7350 7351 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintType_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7352 jint jresult = 0 ; 7353 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7354 int result; 7355 7356 (void)jenv; 7357 (void)jcls; 7358 (void)jarg1_; 7359 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7360 result = (int) ((arg1)->m_userConstraintType); 7361 jresult = (jint)result; 7362 return jresult; 7363 } 7364 7365 7366 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintId_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7367 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7368 int arg2 ; 7369 7370 (void)jenv; 7371 (void)jcls; 7372 (void)jarg1_; 7373 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7374 arg2 = (int)jarg2; 7375 if (arg1) (arg1)->m_userConstraintId = arg2; 7376 } 7377 7378 7379 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1userConstraintId_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7380 jint jresult = 0 ; 7381 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7382 int result; 7383 7384 (void)jenv; 7385 (void)jcls; 7386 (void)jarg1_; 7387 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7388 result = (int) ((arg1)->m_userConstraintId); 7389 jresult = (jint)result; 7390 return jresult; 7391 } 7392 7393 7394 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1needsFeedback_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7395 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7396 int arg2 ; 7397 7398 (void)jenv; 7399 (void)jcls; 7400 (void)jarg1_; 7401 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7402 arg2 = (int)jarg2; 7403 if (arg1) (arg1)->m_needsFeedback = arg2; 7404 } 7405 7406 7407 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1needsFeedback_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7408 jint jresult = 0 ; 7409 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7410 int result; 7411 7412 (void)jenv; 7413 (void)jcls; 7414 (void)jarg1_; 7415 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7416 result = (int) ((arg1)->m_needsFeedback); 7417 jresult = (jint)result; 7418 return jresult; 7419 } 7420 7421 7422 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 7423 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7424 double arg2 ; 7425 7426 (void)jenv; 7427 (void)jcls; 7428 (void)jarg1_; 7429 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7430 arg2 = (double)jarg2; 7431 if (arg1) (arg1)->m_appliedImpulse = arg2; 7432 } 7433 7434 7435 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7436 jdouble jresult = 0 ; 7437 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7438 double result; 7439 7440 (void)jenv; 7441 (void)jcls; 7442 (void)jarg1_; 7443 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7444 result = (double) ((arg1)->m_appliedImpulse); 7445 jresult = (jdouble)result; 7446 return jresult; 7447 } 7448 7449 7450 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1dbgDrawSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 7451 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7452 double arg2 ; 7453 7454 (void)jenv; 7455 (void)jcls; 7456 (void)jarg1_; 7457 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7458 arg2 = (double)jarg2; 7459 if (arg1) (arg1)->m_dbgDrawSize = arg2; 7460 } 7461 7462 7463 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1dbgDrawSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7464 jdouble jresult = 0 ; 7465 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7466 double result; 7467 7468 (void)jenv; 7469 (void)jcls; 7470 (void)jarg1_; 7471 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7472 result = (double) ((arg1)->m_dbgDrawSize); 7473 jresult = (jdouble)result; 7474 return jresult; 7475 } 7476 7477 7478 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1disableCollisionsBetweenLinkedBodies_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7479 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7480 int arg2 ; 7481 7482 (void)jenv; 7483 (void)jcls; 7484 (void)jarg1_; 7485 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7486 arg2 = (int)jarg2; 7487 if (arg1) (arg1)->m_disableCollisionsBetweenLinkedBodies = arg2; 7488 } 7489 7490 7491 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1disableCollisionsBetweenLinkedBodies_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7492 jint jresult = 0 ; 7493 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7494 int result; 7495 7496 (void)jenv; 7497 (void)jcls; 7498 (void)jarg1_; 7499 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7500 result = (int) ((arg1)->m_disableCollisionsBetweenLinkedBodies); 7501 jresult = (jint)result; 7502 return jresult; 7503 } 7504 7505 7506 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7507 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7508 int arg2 ; 7509 7510 (void)jenv; 7511 (void)jcls; 7512 (void)jarg1_; 7513 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7514 arg2 = (int)jarg2; 7515 if (arg1) (arg1)->m_overrideNumSolverIterations = arg2; 7516 } 7517 7518 7519 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7520 jint jresult = 0 ; 7521 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7522 int result; 7523 7524 (void)jenv; 7525 (void)jcls; 7526 (void)jarg1_; 7527 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7528 result = (int) ((arg1)->m_overrideNumSolverIterations); 7529 jresult = (jint)result; 7530 return jresult; 7531 } 7532 7533 7534 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1breakingImpulseThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 7535 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7536 double arg2 ; 7537 7538 (void)jenv; 7539 (void)jcls; 7540 (void)jarg1_; 7541 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7542 arg2 = (double)jarg2; 7543 if (arg1) (arg1)->m_breakingImpulseThreshold = arg2; 7544 } 7545 7546 7547 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1breakingImpulseThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7548 jdouble jresult = 0 ; 7549 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7550 double result; 7551 7552 (void)jenv; 7553 (void)jcls; 7554 (void)jarg1_; 7555 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7556 result = (double) ((arg1)->m_breakingImpulseThreshold); 7557 jresult = (jdouble)result; 7558 return jresult; 7559 } 7560 7561 7562 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1isEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 7563 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7564 int arg2 ; 7565 7566 (void)jenv; 7567 (void)jcls; 7568 (void)jarg1_; 7569 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7570 arg2 = (int)jarg2; 7571 if (arg1) (arg1)->m_isEnabled = arg2; 7572 } 7573 7574 7575 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1isEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7576 jint jresult = 0 ; 7577 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7578 int result; 7579 7580 (void)jenv; 7581 (void)jcls; 7582 (void)jarg1_; 7583 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7584 result = (int) ((arg1)->m_isEnabled); 7585 jresult = (jint)result; 7586 return jresult; 7587 } 7588 7589 7590 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 7591 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7592 char *arg2 ; 7593 7594 (void)jenv; 7595 (void)jcls; 7596 (void)jarg1_; 7597 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7598 arg2 = 0; 7599 if (jarg2) { 7600 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 7601 if (!arg2) return ; 7602 } 7603 { 7604 if(arg2) { 7605 strncpy((char*)arg1->padding, (const char *)arg2, 4-1); 7606 arg1->padding[4-1] = 0; 7607 } else { 7608 arg1->padding[0] = 0; 7609 } 7610 } 7611 7612 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 7613 } 7614 7615 7616 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraintDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7617 jstring jresult = 0 ; 7618 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7619 char *result = 0 ; 7620 7621 (void)jenv; 7622 (void)jcls; 7623 (void)jarg1_; 7624 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7625 result = (char *)(char *) ((arg1)->padding); 7626 if (result) jresult = jenv->NewStringUTF((const char *)result); 7627 return jresult; 7628 } 7629 7630 7631 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTypedConstraintDoubleData(JNIEnv *jenv, jclass jcls) { 7632 jlong jresult = 0 ; 7633 btTypedConstraintDoubleData *result = 0 ; 7634 7635 (void)jenv; 7636 (void)jcls; 7637 result = (btTypedConstraintDoubleData *)new btTypedConstraintDoubleData(); 7638 *(btTypedConstraintDoubleData **)&jresult = result; 7639 return jresult; 7640 } 7641 7642 7643 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTypedConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 7644 btTypedConstraintDoubleData *arg1 = (btTypedConstraintDoubleData *) 0 ; 7645 7646 (void)jenv; 7647 (void)jcls; 7648 arg1 = *(btTypedConstraintDoubleData **)&jarg1; 7649 delete arg1; 7650 } 7651 7652 7653 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btAngularLimit(JNIEnv *jenv, jclass jcls) { 7654 jlong jresult = 0 ; 7655 btAngularLimit *result = 0 ; 7656 7657 (void)jenv; 7658 (void)jcls; 7659 result = (btAngularLimit *)new btAngularLimit(); 7660 *(btAngularLimit **)&jresult = result; 7661 return jresult; 7662 } 7663 7664 7665 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) { 7666 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7667 btScalar arg2 ; 7668 btScalar arg3 ; 7669 btScalar arg4 ; 7670 btScalar arg5 ; 7671 btScalar arg6 ; 7672 7673 (void)jenv; 7674 (void)jcls; 7675 (void)jarg1_; 7676 arg1 = *(btAngularLimit **)&jarg1; 7677 arg2 = (btScalar)jarg2; 7678 arg3 = (btScalar)jarg3; 7679 arg4 = (btScalar)jarg4; 7680 arg5 = (btScalar)jarg5; 7681 arg6 = (btScalar)jarg6; 7682 (arg1)->set(arg2,arg3,arg4,arg5,arg6); 7683 } 7684 7685 7686 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) { 7687 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7688 btScalar arg2 ; 7689 btScalar arg3 ; 7690 btScalar arg4 ; 7691 btScalar arg5 ; 7692 7693 (void)jenv; 7694 (void)jcls; 7695 (void)jarg1_; 7696 arg1 = *(btAngularLimit **)&jarg1; 7697 arg2 = (btScalar)jarg2; 7698 arg3 = (btScalar)jarg3; 7699 arg4 = (btScalar)jarg4; 7700 arg5 = (btScalar)jarg5; 7701 (arg1)->set(arg2,arg3,arg4,arg5); 7702 } 7703 7704 7705 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) { 7706 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7707 btScalar arg2 ; 7708 btScalar arg3 ; 7709 btScalar arg4 ; 7710 7711 (void)jenv; 7712 (void)jcls; 7713 (void)jarg1_; 7714 arg1 = *(btAngularLimit **)&jarg1; 7715 arg2 = (btScalar)jarg2; 7716 arg3 = (btScalar)jarg3; 7717 arg4 = (btScalar)jarg4; 7718 (arg1)->set(arg2,arg3,arg4); 7719 } 7720 7721 7722 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1set_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 7723 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7724 btScalar arg2 ; 7725 btScalar arg3 ; 7726 7727 (void)jenv; 7728 (void)jcls; 7729 (void)jarg1_; 7730 arg1 = *(btAngularLimit **)&jarg1; 7731 arg2 = (btScalar)jarg2; 7732 arg3 = (btScalar)jarg3; 7733 (arg1)->set(arg2,arg3); 7734 } 7735 7736 7737 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1test(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 7738 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7739 btScalar arg2 ; 7740 7741 (void)jenv; 7742 (void)jcls; 7743 (void)jarg1_; 7744 arg1 = *(btAngularLimit **)&jarg1; 7745 arg2 = (btScalar)jarg2; 7746 (arg1)->test(arg2); 7747 } 7748 7749 7750 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getSoftness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7751 jfloat jresult = 0 ; 7752 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7753 btScalar result; 7754 7755 (void)jenv; 7756 (void)jcls; 7757 (void)jarg1_; 7758 arg1 = *(btAngularLimit **)&jarg1; 7759 result = (btScalar)((btAngularLimit const *)arg1)->getSoftness(); 7760 jresult = (jfloat)result; 7761 return jresult; 7762 } 7763 7764 7765 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getBiasFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7766 jfloat jresult = 0 ; 7767 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7768 btScalar result; 7769 7770 (void)jenv; 7771 (void)jcls; 7772 (void)jarg1_; 7773 arg1 = *(btAngularLimit **)&jarg1; 7774 result = (btScalar)((btAngularLimit const *)arg1)->getBiasFactor(); 7775 jresult = (jfloat)result; 7776 return jresult; 7777 } 7778 7779 7780 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getRelaxationFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7781 jfloat jresult = 0 ; 7782 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7783 btScalar result; 7784 7785 (void)jenv; 7786 (void)jcls; 7787 (void)jarg1_; 7788 arg1 = *(btAngularLimit **)&jarg1; 7789 result = (btScalar)((btAngularLimit const *)arg1)->getRelaxationFactor(); 7790 jresult = (jfloat)result; 7791 return jresult; 7792 } 7793 7794 7795 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getCorrection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7796 jfloat jresult = 0 ; 7797 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7798 btScalar result; 7799 7800 (void)jenv; 7801 (void)jcls; 7802 (void)jarg1_; 7803 arg1 = *(btAngularLimit **)&jarg1; 7804 result = (btScalar)((btAngularLimit const *)arg1)->getCorrection(); 7805 jresult = (jfloat)result; 7806 return jresult; 7807 } 7808 7809 7810 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7811 jfloat jresult = 0 ; 7812 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7813 btScalar result; 7814 7815 (void)jenv; 7816 (void)jcls; 7817 (void)jarg1_; 7818 arg1 = *(btAngularLimit **)&jarg1; 7819 result = (btScalar)((btAngularLimit const *)arg1)->getSign(); 7820 jresult = (jfloat)result; 7821 return jresult; 7822 } 7823 7824 7825 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getHalfRange(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7826 jfloat jresult = 0 ; 7827 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7828 btScalar result; 7829 7830 (void)jenv; 7831 (void)jcls; 7832 (void)jarg1_; 7833 arg1 = *(btAngularLimit **)&jarg1; 7834 result = (btScalar)((btAngularLimit const *)arg1)->getHalfRange(); 7835 jresult = (jfloat)result; 7836 return jresult; 7837 } 7838 7839 7840 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1isLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7841 jboolean jresult = 0 ; 7842 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7843 bool result; 7844 7845 (void)jenv; 7846 (void)jcls; 7847 (void)jarg1_; 7848 arg1 = *(btAngularLimit **)&jarg1; 7849 result = (bool)((btAngularLimit const *)arg1)->isLimit(); 7850 jresult = (jboolean)result; 7851 return jresult; 7852 } 7853 7854 7855 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1fit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 7856 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7857 btScalar *arg2 = 0 ; 7858 7859 (void)jenv; 7860 (void)jcls; 7861 (void)jarg1_; 7862 arg1 = *(btAngularLimit **)&jarg1; 7863 arg2 = *(btScalar **)&jarg2; 7864 if (!arg2) { 7865 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null"); 7866 return ; 7867 } 7868 ((btAngularLimit const *)arg1)->fit(*arg2); 7869 } 7870 7871 7872 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7873 jfloat jresult = 0 ; 7874 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7875 btScalar result; 7876 7877 (void)jenv; 7878 (void)jcls; 7879 (void)jarg1_; 7880 arg1 = *(btAngularLimit **)&jarg1; 7881 result = (btScalar)((btAngularLimit const *)arg1)->getError(); 7882 jresult = (jfloat)result; 7883 return jresult; 7884 } 7885 7886 7887 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getLow(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7888 jfloat jresult = 0 ; 7889 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7890 btScalar result; 7891 7892 (void)jenv; 7893 (void)jcls; 7894 (void)jarg1_; 7895 arg1 = *(btAngularLimit **)&jarg1; 7896 result = (btScalar)((btAngularLimit const *)arg1)->getLow(); 7897 jresult = (jfloat)result; 7898 return jresult; 7899 } 7900 7901 7902 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btAngularLimit_1getHigh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 7903 jfloat jresult = 0 ; 7904 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7905 btScalar result; 7906 7907 (void)jenv; 7908 (void)jcls; 7909 (void)jarg1_; 7910 arg1 = *(btAngularLimit **)&jarg1; 7911 result = (btScalar)((btAngularLimit const *)arg1)->getHigh(); 7912 jresult = (jfloat)result; 7913 return jresult; 7914 } 7915 7916 7917 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btAngularLimit(JNIEnv *jenv, jclass jcls, jlong jarg1) { 7918 btAngularLimit *arg1 = (btAngularLimit *) 0 ; 7919 7920 (void)jenv; 7921 (void)jcls; 7922 arg1 = *(btAngularLimit **)&jarg1; 7923 delete arg1; 7924 } 7925 7926 7927 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) { 7928 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 7929 7930 (void)jenv; 7931 (void)jcls; 7932 arg1 = *(btDynamicsWorld **)&jarg1; 7933 delete arg1; 7934 } 7935 7936 7937 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) { 7938 jint jresult = 0 ; 7939 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 7940 btScalar arg2 ; 7941 int arg3 ; 7942 btScalar arg4 ; 7943 int result; 7944 7945 (void)jenv; 7946 (void)jcls; 7947 (void)jarg1_; 7948 arg1 = *(btDynamicsWorld **)&jarg1; 7949 arg2 = (btScalar)jarg2; 7950 arg3 = (int)jarg3; 7951 arg4 = (btScalar)jarg4; 7952 result = (int)(arg1)->stepSimulation(arg2,arg3,arg4); 7953 jresult = (jint)result; 7954 return jresult; 7955 } 7956 7957 7958 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) { 7959 jint jresult = 0 ; 7960 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 7961 btScalar arg2 ; 7962 int arg3 ; 7963 int result; 7964 7965 (void)jenv; 7966 (void)jcls; 7967 (void)jarg1_; 7968 arg1 = *(btDynamicsWorld **)&jarg1; 7969 arg2 = (btScalar)jarg2; 7970 arg3 = (int)jarg3; 7971 result = (int)(arg1)->stepSimulation(arg2,arg3); 7972 jresult = (jint)result; 7973 return jresult; 7974 } 7975 7976 7977 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 7978 jint jresult = 0 ; 7979 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 7980 btScalar arg2 ; 7981 int result; 7982 7983 (void)jenv; 7984 (void)jcls; 7985 (void)jarg1_; 7986 arg1 = *(btDynamicsWorld **)&jarg1; 7987 arg2 = (btScalar)jarg2; 7988 result = (int)(arg1)->stepSimulation(arg2); 7989 jresult = (jint)result; 7990 return jresult; 7991 } 7992 7993 7994 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) { 7995 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 7996 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 7997 bool arg3 ; 7998 7999 (void)jenv; 8000 (void)jcls; 8001 (void)jarg1_; 8002 (void)jarg2_; 8003 arg1 = *(btDynamicsWorld **)&jarg1; 8004 arg2 = *(btTypedConstraint **)&jarg2; 8005 arg3 = jarg3 ? true : false; 8006 (arg1)->addConstraint(arg2,arg3); 8007 } 8008 8009 8010 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8011 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8012 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 8013 8014 (void)jenv; 8015 (void)jcls; 8016 (void)jarg1_; 8017 (void)jarg2_; 8018 arg1 = *(btDynamicsWorld **)&jarg1; 8019 arg2 = *(btTypedConstraint **)&jarg2; 8020 (arg1)->addConstraint(arg2); 8021 } 8022 8023 8024 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8025 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8026 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 8027 8028 (void)jenv; 8029 (void)jcls; 8030 (void)jarg1_; 8031 (void)jarg2_; 8032 arg1 = *(btDynamicsWorld **)&jarg1; 8033 arg2 = *(btTypedConstraint **)&jarg2; 8034 (arg1)->removeConstraint(arg2); 8035 } 8036 8037 8038 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8039 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8040 btActionInterface *arg2 = (btActionInterface *) 0 ; 8041 8042 (void)jenv; 8043 (void)jcls; 8044 (void)jarg1_; 8045 (void)jarg2_; 8046 arg1 = *(btDynamicsWorld **)&jarg1; 8047 arg2 = *(btActionInterface **)&jarg2; 8048 (arg1)->addAction(arg2); 8049 } 8050 8051 8052 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8053 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8054 btActionInterface *arg2 = (btActionInterface *) 0 ; 8055 8056 (void)jenv; 8057 (void)jcls; 8058 (void)jarg1_; 8059 (void)jarg2_; 8060 arg1 = *(btDynamicsWorld **)&jarg1; 8061 arg2 = *(btActionInterface **)&jarg2; 8062 (arg1)->removeAction(arg2); 8063 } 8064 8065 8066 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 8067 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8068 btVector3 *arg2 = 0 ; 8069 8070 (void)jenv; 8071 (void)jcls; 8072 (void)jarg1_; 8073 arg1 = *(btDynamicsWorld **)&jarg1; 8074 btVector3 local_arg2; 8075 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 8076 arg2 = &local_arg2; 8077 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 8078 (arg1)->setGravity((btVector3 const &)*arg2); 8079 } 8080 8081 8082 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8083 jobject jresult = 0 ; 8084 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8085 btVector3 result; 8086 8087 (void)jenv; 8088 (void)jcls; 8089 (void)jarg1_; 8090 arg1 = *(btDynamicsWorld **)&jarg1; 8091 result = ((btDynamicsWorld const *)arg1)->getGravity(); 8092 jresult = gdx_getReturnVector3(jenv); 8093 gdx_setVector3FrombtVector3(jenv, jresult, result); 8094 return jresult; 8095 } 8096 8097 8098 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1synchronizeMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8099 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8100 8101 (void)jenv; 8102 (void)jcls; 8103 (void)jarg1_; 8104 arg1 = *(btDynamicsWorld **)&jarg1; 8105 (arg1)->synchronizeMotionStates(); 8106 } 8107 8108 8109 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8110 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8111 btRigidBody *arg2 = (btRigidBody *) 0 ; 8112 8113 (void)jenv; 8114 (void)jcls; 8115 (void)jarg1_; 8116 (void)jarg2_; 8117 arg1 = *(btDynamicsWorld **)&jarg1; 8118 arg2 = *(btRigidBody **)&jarg2; 8119 (arg1)->addRigidBody(arg2); 8120 } 8121 8122 8123 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jshort jarg3, jshort jarg4) { 8124 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8125 btRigidBody *arg2 = (btRigidBody *) 0 ; 8126 short arg3 ; 8127 short arg4 ; 8128 8129 (void)jenv; 8130 (void)jcls; 8131 (void)jarg1_; 8132 (void)jarg2_; 8133 arg1 = *(btDynamicsWorld **)&jarg1; 8134 arg2 = *(btRigidBody **)&jarg2; 8135 arg3 = (short)jarg3; 8136 arg4 = (short)jarg4; 8137 (arg1)->addRigidBody(arg2,arg3,arg4); 8138 } 8139 8140 8141 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeRigidBody(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8142 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8143 btRigidBody *arg2 = (btRigidBody *) 0 ; 8144 8145 (void)jenv; 8146 (void)jcls; 8147 (void)jarg1_; 8148 (void)jarg2_; 8149 arg1 = *(btDynamicsWorld **)&jarg1; 8150 arg2 = *(btRigidBody **)&jarg2; 8151 (arg1)->removeRigidBody(arg2); 8152 } 8153 8154 8155 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8156 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8157 btConstraintSolver *arg2 = (btConstraintSolver *) 0 ; 8158 8159 (void)jenv; 8160 (void)jcls; 8161 (void)jarg1_; 8162 (void)jarg2_; 8163 arg1 = *(btDynamicsWorld **)&jarg1; 8164 arg2 = *(btConstraintSolver **)&jarg2; 8165 (arg1)->setConstraintSolver(arg2); 8166 } 8167 8168 8169 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8170 jlong jresult = 0 ; 8171 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8172 btConstraintSolver *result = 0 ; 8173 8174 (void)jenv; 8175 (void)jcls; 8176 (void)jarg1_; 8177 arg1 = *(btDynamicsWorld **)&jarg1; 8178 result = (btConstraintSolver *)(arg1)->getConstraintSolver(); 8179 *(btConstraintSolver **)&jresult = result; 8180 return jresult; 8181 } 8182 8183 8184 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getNumConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8185 jint jresult = 0 ; 8186 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8187 int result; 8188 8189 (void)jenv; 8190 (void)jcls; 8191 (void)jarg1_; 8192 arg1 = *(btDynamicsWorld **)&jarg1; 8193 result = (int)((btDynamicsWorld const *)arg1)->getNumConstraints(); 8194 jresult = (jint)result; 8195 return jresult; 8196 } 8197 8198 8199 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 8200 jlong jresult = 0 ; 8201 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8202 int arg2 ; 8203 btTypedConstraint *result = 0 ; 8204 8205 (void)jenv; 8206 (void)jcls; 8207 (void)jarg1_; 8208 arg1 = *(btDynamicsWorld **)&jarg1; 8209 arg2 = (int)jarg2; 8210 result = (btTypedConstraint *)(arg1)->getConstraint(arg2); 8211 *(btTypedConstraint **)&jresult = result; 8212 return jresult; 8213 } 8214 8215 8216 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getWorldType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8217 jint jresult = 0 ; 8218 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8219 btDynamicsWorldType result; 8220 8221 (void)jenv; 8222 (void)jcls; 8223 (void)jarg1_; 8224 arg1 = *(btDynamicsWorld **)&jarg1; 8225 result = (btDynamicsWorldType)((btDynamicsWorld const *)arg1)->getWorldType(); 8226 jresult = (jint)result; 8227 return jresult; 8228 } 8229 8230 8231 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1clearForces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8232 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8233 8234 (void)jenv; 8235 (void)jcls; 8236 (void)jarg1_; 8237 arg1 = *(btDynamicsWorld **)&jarg1; 8238 (arg1)->clearForces(); 8239 } 8240 8241 8242 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jboolean jarg4) { 8243 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8244 btInternalTickCallback arg2 = (btInternalTickCallback) 0 ; 8245 void *arg3 = (void *) 0 ; 8246 bool arg4 ; 8247 8248 (void)jenv; 8249 (void)jcls; 8250 (void)jarg1_; 8251 arg1 = *(btDynamicsWorld **)&jarg1; 8252 arg2 = *(btInternalTickCallback *)&jarg2; 8253 arg3 = (void *)jarg3; 8254 arg4 = jarg4 ? true : false; 8255 (arg1)->setInternalTickCallback(arg2,arg3,arg4); 8256 } 8257 8258 8259 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) { 8260 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8261 btInternalTickCallback arg2 = (btInternalTickCallback) 0 ; 8262 void *arg3 = (void *) 0 ; 8263 8264 (void)jenv; 8265 (void)jcls; 8266 (void)jarg1_; 8267 arg1 = *(btDynamicsWorld **)&jarg1; 8268 arg2 = *(btInternalTickCallback *)&jarg2; 8269 arg3 = (void *)jarg3; 8270 (arg1)->setInternalTickCallback(arg2,arg3); 8271 } 8272 8273 8274 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setInternalTickCallback_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 8275 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8276 btInternalTickCallback arg2 = (btInternalTickCallback) 0 ; 8277 8278 (void)jenv; 8279 (void)jcls; 8280 (void)jarg1_; 8281 arg1 = *(btDynamicsWorld **)&jarg1; 8282 arg2 = *(btInternalTickCallback *)&jarg2; 8283 (arg1)->setInternalTickCallback(arg2); 8284 } 8285 8286 8287 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1setWorldUserInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 8288 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8289 void *arg2 = (void *) 0 ; 8290 8291 (void)jenv; 8292 (void)jcls; 8293 (void)jarg1_; 8294 arg1 = *(btDynamicsWorld **)&jarg1; 8295 arg2 = (void *)jarg2; 8296 (arg1)->setWorldUserInfo(arg2); 8297 } 8298 8299 8300 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getWorldUserInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8301 jlong jresult = 0 ; 8302 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8303 void *result = 0 ; 8304 8305 (void)jenv; 8306 (void)jcls; 8307 (void)jarg1_; 8308 arg1 = *(btDynamicsWorld **)&jarg1; 8309 result = (void *)((btDynamicsWorld const *)arg1)->getWorldUserInfo(); 8310 jresult = (jlong)result; 8311 return jresult; 8312 } 8313 8314 8315 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1getSolverInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8316 jlong jresult = 0 ; 8317 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8318 btContactSolverInfo *result = 0 ; 8319 8320 (void)jenv; 8321 (void)jcls; 8322 (void)jarg1_; 8323 arg1 = *(btDynamicsWorld **)&jarg1; 8324 result = (btContactSolverInfo *) &(arg1)->getSolverInfo(); 8325 *(btContactSolverInfo **)&jresult = result; 8326 return jresult; 8327 } 8328 8329 8330 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8331 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8332 btActionInterface *arg2 = (btActionInterface *) 0 ; 8333 8334 (void)jenv; 8335 (void)jcls; 8336 (void)jarg1_; 8337 (void)jarg2_; 8338 arg1 = *(btDynamicsWorld **)&jarg1; 8339 arg2 = *(btActionInterface **)&jarg2; 8340 (arg1)->addVehicle(arg2); 8341 } 8342 8343 8344 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8345 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8346 btActionInterface *arg2 = (btActionInterface *) 0 ; 8347 8348 (void)jenv; 8349 (void)jcls; 8350 (void)jarg1_; 8351 (void)jarg2_; 8352 arg1 = *(btDynamicsWorld **)&jarg1; 8353 arg2 = *(btActionInterface **)&jarg2; 8354 (arg1)->removeVehicle(arg2); 8355 } 8356 8357 8358 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1addCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8359 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8360 btActionInterface *arg2 = (btActionInterface *) 0 ; 8361 8362 (void)jenv; 8363 (void)jcls; 8364 (void)jarg1_; 8365 (void)jarg2_; 8366 arg1 = *(btDynamicsWorld **)&jarg1; 8367 arg2 = *(btActionInterface **)&jarg2; 8368 (arg1)->addCharacter(arg2); 8369 } 8370 8371 8372 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1removeCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8373 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8374 btActionInterface *arg2 = (btActionInterface *) 0 ; 8375 8376 (void)jenv; 8377 (void)jcls; 8378 (void)jarg1_; 8379 (void)jarg2_; 8380 arg1 = *(btDynamicsWorld **)&jarg1; 8381 arg2 = *(btActionInterface **)&jarg2; 8382 (arg1)->removeCharacter(arg2); 8383 } 8384 8385 8386 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1solverInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8387 btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ; 8388 btContactSolverInfoDoubleData *arg2 = (btContactSolverInfoDoubleData *) 0 ; 8389 8390 (void)jenv; 8391 (void)jcls; 8392 (void)jarg1_; 8393 (void)jarg2_; 8394 arg1 = *(btDynamicsWorldDoubleData **)&jarg1; 8395 arg2 = *(btContactSolverInfoDoubleData **)&jarg2; 8396 if (arg1) (arg1)->m_solverInfo = *arg2; 8397 } 8398 8399 8400 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1solverInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8401 jlong jresult = 0 ; 8402 btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ; 8403 btContactSolverInfoDoubleData *result = 0 ; 8404 8405 (void)jenv; 8406 (void)jcls; 8407 (void)jarg1_; 8408 arg1 = *(btDynamicsWorldDoubleData **)&jarg1; 8409 result = (btContactSolverInfoDoubleData *)& ((arg1)->m_solverInfo); 8410 *(btContactSolverInfoDoubleData **)&jresult = result; 8411 return jresult; 8412 } 8413 8414 8415 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8416 btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ; 8417 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 8418 8419 (void)jenv; 8420 (void)jcls; 8421 (void)jarg1_; 8422 (void)jarg2_; 8423 arg1 = *(btDynamicsWorldDoubleData **)&jarg1; 8424 arg2 = *(btVector3DoubleData **)&jarg2; 8425 if (arg1) (arg1)->m_gravity = *arg2; 8426 } 8427 8428 8429 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8430 jlong jresult = 0 ; 8431 btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ; 8432 btVector3DoubleData *result = 0 ; 8433 8434 (void)jenv; 8435 (void)jcls; 8436 (void)jarg1_; 8437 arg1 = *(btDynamicsWorldDoubleData **)&jarg1; 8438 result = (btVector3DoubleData *)& ((arg1)->m_gravity); 8439 *(btVector3DoubleData **)&jresult = result; 8440 return jresult; 8441 } 8442 8443 8444 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDynamicsWorldDoubleData(JNIEnv *jenv, jclass jcls) { 8445 jlong jresult = 0 ; 8446 btDynamicsWorldDoubleData *result = 0 ; 8447 8448 (void)jenv; 8449 (void)jcls; 8450 result = (btDynamicsWorldDoubleData *)new btDynamicsWorldDoubleData(); 8451 *(btDynamicsWorldDoubleData **)&jresult = result; 8452 return jresult; 8453 } 8454 8455 8456 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorldDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8457 btDynamicsWorldDoubleData *arg1 = (btDynamicsWorldDoubleData *) 0 ; 8458 8459 (void)jenv; 8460 (void)jcls; 8461 arg1 = *(btDynamicsWorldDoubleData **)&jarg1; 8462 delete arg1; 8463 } 8464 8465 8466 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1solverInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8467 btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ; 8468 btContactSolverInfoFloatData *arg2 = (btContactSolverInfoFloatData *) 0 ; 8469 8470 (void)jenv; 8471 (void)jcls; 8472 (void)jarg1_; 8473 (void)jarg2_; 8474 arg1 = *(btDynamicsWorldFloatData **)&jarg1; 8475 arg2 = *(btContactSolverInfoFloatData **)&jarg2; 8476 if (arg1) (arg1)->m_solverInfo = *arg2; 8477 } 8478 8479 8480 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1solverInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8481 jlong jresult = 0 ; 8482 btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ; 8483 btContactSolverInfoFloatData *result = 0 ; 8484 8485 (void)jenv; 8486 (void)jcls; 8487 (void)jarg1_; 8488 arg1 = *(btDynamicsWorldFloatData **)&jarg1; 8489 result = (btContactSolverInfoFloatData *)& ((arg1)->m_solverInfo); 8490 *(btContactSolverInfoFloatData **)&jresult = result; 8491 return jresult; 8492 } 8493 8494 8495 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8496 btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ; 8497 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 8498 8499 (void)jenv; 8500 (void)jcls; 8501 (void)jarg1_; 8502 (void)jarg2_; 8503 arg1 = *(btDynamicsWorldFloatData **)&jarg1; 8504 arg2 = *(btVector3FloatData **)&jarg2; 8505 if (arg1) (arg1)->m_gravity = *arg2; 8506 } 8507 8508 8509 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8510 jlong jresult = 0 ; 8511 btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ; 8512 btVector3FloatData *result = 0 ; 8513 8514 (void)jenv; 8515 (void)jcls; 8516 (void)jarg1_; 8517 arg1 = *(btDynamicsWorldFloatData **)&jarg1; 8518 result = (btVector3FloatData *)& ((arg1)->m_gravity); 8519 *(btVector3FloatData **)&jresult = result; 8520 return jresult; 8521 } 8522 8523 8524 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDynamicsWorldFloatData(JNIEnv *jenv, jclass jcls) { 8525 jlong jresult = 0 ; 8526 btDynamicsWorldFloatData *result = 0 ; 8527 8528 (void)jenv; 8529 (void)jcls; 8530 result = (btDynamicsWorldFloatData *)new btDynamicsWorldFloatData(); 8531 *(btDynamicsWorldFloatData **)&jresult = result; 8532 return jresult; 8533 } 8534 8535 8536 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDynamicsWorldFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8537 btDynamicsWorldFloatData *arg1 = (btDynamicsWorldFloatData *) 0 ; 8538 8539 (void)jenv; 8540 (void)jcls; 8541 arg1 = *(btDynamicsWorldFloatData **)&jarg1; 8542 delete arg1; 8543 } 8544 8545 8546 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1CB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 8547 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8548 btScalar arg2 ; 8549 8550 (void)jenv; 8551 (void)jcls; 8552 (void)jarg1_; 8553 arg1 = *(btDynamicsWorld **)&jarg1; 8554 arg2 = (btScalar)jarg2; 8555 InternalTickCallback_CB(arg1,arg2); 8556 } 8557 8558 8559 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 8560 jlong jresult = 0 ; 8561 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8562 bool arg2 ; 8563 InternalTickCallback *result = 0 ; 8564 8565 (void)jenv; 8566 (void)jcls; 8567 (void)jarg1_; 8568 arg1 = *(btDynamicsWorld **)&jarg1; 8569 arg2 = jarg2 ? true : false; 8570 result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv,arg1,arg2); 8571 *(InternalTickCallback **)&jresult = result; 8572 return jresult; 8573 } 8574 8575 8576 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8577 jlong jresult = 0 ; 8578 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8579 InternalTickCallback *result = 0 ; 8580 8581 (void)jenv; 8582 (void)jcls; 8583 (void)jarg1_; 8584 arg1 = *(btDynamicsWorld **)&jarg1; 8585 result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv,arg1); 8586 *(InternalTickCallback **)&jresult = result; 8587 return jresult; 8588 } 8589 8590 8591 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1InternalTickCallback_1_1SWIG_12(JNIEnv *jenv, jclass jcls) { 8592 jlong jresult = 0 ; 8593 InternalTickCallback *result = 0 ; 8594 8595 (void)jenv; 8596 (void)jcls; 8597 result = (InternalTickCallback *)new SwigDirector_InternalTickCallback(jenv); 8598 *(InternalTickCallback **)&jresult = result; 8599 return jresult; 8600 } 8601 8602 8603 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1onInternalTick(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) { 8604 InternalTickCallback *arg1 = (InternalTickCallback *) 0 ; 8605 btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ; 8606 btScalar arg3 ; 8607 8608 (void)jenv; 8609 (void)jcls; 8610 (void)jarg1_; 8611 (void)jarg2_; 8612 arg1 = *(InternalTickCallback **)&jarg1; 8613 arg2 = *(btDynamicsWorld **)&jarg2; 8614 arg3 = (btScalar)jarg3; 8615 (arg1)->onInternalTick(arg2,arg3); 8616 } 8617 8618 8619 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1onInternalTickSwigExplicitInternalTickCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) { 8620 InternalTickCallback *arg1 = (InternalTickCallback *) 0 ; 8621 btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ; 8622 btScalar arg3 ; 8623 8624 (void)jenv; 8625 (void)jcls; 8626 (void)jarg1_; 8627 (void)jarg2_; 8628 arg1 = *(InternalTickCallback **)&jarg1; 8629 arg2 = *(btDynamicsWorld **)&jarg2; 8630 arg3 = (btScalar)jarg3; 8631 (arg1)->InternalTickCallback::onInternalTick(arg2,arg3); 8632 } 8633 8634 8635 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1detach_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8636 InternalTickCallback *arg1 = (InternalTickCallback *) 0 ; 8637 8638 (void)jenv; 8639 (void)jcls; 8640 (void)jarg1_; 8641 arg1 = *(InternalTickCallback **)&jarg1; 8642 (arg1)->detach(); 8643 } 8644 8645 8646 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1attach_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) { 8647 InternalTickCallback *arg1 = (InternalTickCallback *) 0 ; 8648 btDynamicsWorld *arg2 = (btDynamicsWorld *) 0 ; 8649 bool arg3 ; 8650 8651 (void)jenv; 8652 (void)jcls; 8653 (void)jarg1_; 8654 (void)jarg2_; 8655 arg1 = *(InternalTickCallback **)&jarg1; 8656 arg2 = *(btDynamicsWorld **)&jarg2; 8657 arg3 = jarg3 ? true : false; 8658 (arg1)->attach(arg2,arg3); 8659 } 8660 8661 8662 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1attach_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8663 InternalTickCallback *arg1 = (InternalTickCallback *) 0 ; 8664 8665 (void)jenv; 8666 (void)jcls; 8667 (void)jarg1_; 8668 arg1 = *(InternalTickCallback **)&jarg1; 8669 (arg1)->attach(); 8670 } 8671 8672 8673 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1detach_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 8674 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 8675 bool arg2 ; 8676 8677 (void)jenv; 8678 (void)jcls; 8679 (void)jarg1_; 8680 arg1 = *(btDynamicsWorld **)&jarg1; 8681 arg2 = jarg2 ? true : false; 8682 InternalTickCallback::detach(arg1,arg2); 8683 } 8684 8685 8686 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1InternalTickCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8687 InternalTickCallback *arg1 = (InternalTickCallback *) 0 ; 8688 8689 (void)jenv; 8690 (void)jcls; 8691 arg1 = *(InternalTickCallback **)&jarg1; 8692 delete arg1; 8693 } 8694 8695 8696 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) { 8697 InternalTickCallback *obj = *((InternalTickCallback **)&objarg); 8698 (void)jcls; 8699 SwigDirector_InternalTickCallback *director = (SwigDirector_InternalTickCallback *)(obj); 8700 if (director) { 8701 director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE)); 8702 } 8703 } 8704 8705 8706 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_InternalTickCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) { 8707 InternalTickCallback *obj = *((InternalTickCallback **)&objarg); 8708 SwigDirector_InternalTickCallback *director = (SwigDirector_InternalTickCallback *)(obj); 8709 (void)jcls; 8710 if (director) { 8711 director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false); 8712 } 8713 } 8714 8715 8716 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSimpleDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) { 8717 jlong jresult = 0 ; 8718 btDispatcher *arg1 = (btDispatcher *) 0 ; 8719 btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ; 8720 btConstraintSolver *arg3 = (btConstraintSolver *) 0 ; 8721 btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ; 8722 btSimpleDynamicsWorld *result = 0 ; 8723 8724 (void)jenv; 8725 (void)jcls; 8726 (void)jarg1_; 8727 (void)jarg2_; 8728 (void)jarg3_; 8729 (void)jarg4_; 8730 arg1 = *(btDispatcher **)&jarg1; 8731 arg2 = *(btBroadphaseInterface **)&jarg2; 8732 arg3 = *(btConstraintSolver **)&jarg3; 8733 arg4 = *(btCollisionConfiguration **)&jarg4; 8734 result = (btSimpleDynamicsWorld *)new btSimpleDynamicsWorld(arg1,arg2,arg3,arg4); 8735 *(btSimpleDynamicsWorld **)&jresult = result; 8736 return jresult; 8737 } 8738 8739 8740 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSimpleDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8741 btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ; 8742 8743 (void)jenv; 8744 (void)jcls; 8745 arg1 = *(btSimpleDynamicsWorld **)&jarg1; 8746 delete arg1; 8747 } 8748 8749 8750 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) { 8751 jint jresult = 0 ; 8752 btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ; 8753 btScalar arg2 ; 8754 int arg3 ; 8755 btScalar arg4 ; 8756 int result; 8757 8758 (void)jenv; 8759 (void)jcls; 8760 (void)jarg1_; 8761 arg1 = *(btSimpleDynamicsWorld **)&jarg1; 8762 arg2 = (btScalar)jarg2; 8763 arg3 = (int)jarg3; 8764 arg4 = (btScalar)jarg4; 8765 result = (int)(arg1)->stepSimulation(arg2,arg3,arg4); 8766 jresult = (jint)result; 8767 return jresult; 8768 } 8769 8770 8771 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) { 8772 jint jresult = 0 ; 8773 btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ; 8774 btScalar arg2 ; 8775 int arg3 ; 8776 int result; 8777 8778 (void)jenv; 8779 (void)jcls; 8780 (void)jarg1_; 8781 arg1 = *(btSimpleDynamicsWorld **)&jarg1; 8782 arg2 = (btScalar)jarg2; 8783 arg3 = (int)jarg3; 8784 result = (int)(arg1)->stepSimulation(arg2,arg3); 8785 jresult = (jint)result; 8786 return jresult; 8787 } 8788 8789 8790 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 8791 jint jresult = 0 ; 8792 btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ; 8793 btScalar arg2 ; 8794 int result; 8795 8796 (void)jenv; 8797 (void)jcls; 8798 (void)jarg1_; 8799 arg1 = *(btSimpleDynamicsWorld **)&jarg1; 8800 arg2 = (btScalar)jarg2; 8801 result = (int)(arg1)->stepSimulation(arg2); 8802 jresult = (jint)result; 8803 return jresult; 8804 } 8805 8806 8807 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8808 btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ; 8809 btRigidBody *arg2 = (btRigidBody *) 0 ; 8810 8811 (void)jenv; 8812 (void)jcls; 8813 (void)jarg1_; 8814 (void)jarg2_; 8815 arg1 = *(btSimpleDynamicsWorld **)&jarg1; 8816 arg2 = *(btRigidBody **)&jarg2; 8817 (arg1)->addRigidBody(arg2); 8818 } 8819 8820 8821 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jshort jarg3, jshort jarg4) { 8822 btSimpleDynamicsWorld *arg1 = (btSimpleDynamicsWorld *) 0 ; 8823 btRigidBody *arg2 = (btRigidBody *) 0 ; 8824 short arg3 ; 8825 short arg4 ; 8826 8827 (void)jenv; 8828 (void)jcls; 8829 (void)jarg1_; 8830 (void)jarg2_; 8831 arg1 = *(btSimpleDynamicsWorld **)&jarg1; 8832 arg2 = *(btRigidBody **)&jarg2; 8833 arg3 = (short)jarg3; 8834 arg4 = (short)jarg4; 8835 (arg1)->addRigidBody(arg2,arg3,arg4); 8836 } 8837 8838 8839 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btActionInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8840 btActionInterface *arg1 = (btActionInterface *) 0 ; 8841 8842 (void)jenv; 8843 (void)jcls; 8844 arg1 = *(btActionInterface **)&jarg1; 8845 delete arg1; 8846 } 8847 8848 8849 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btActionInterface_1updateAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) { 8850 btActionInterface *arg1 = (btActionInterface *) 0 ; 8851 btCollisionWorld *arg2 = (btCollisionWorld *) 0 ; 8852 btScalar arg3 ; 8853 8854 (void)jenv; 8855 (void)jcls; 8856 (void)jarg1_; 8857 (void)jarg2_; 8858 arg1 = *(btActionInterface **)&jarg1; 8859 arg2 = *(btCollisionWorld **)&jarg2; 8860 arg3 = (btScalar)jarg3; 8861 (arg1)->updateAction(arg2,arg3); 8862 } 8863 8864 8865 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btActionInterface_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 8866 btActionInterface *arg1 = (btActionInterface *) 0 ; 8867 btIDebugDraw *arg2 = (btIDebugDraw *) 0 ; 8868 8869 (void)jenv; 8870 (void)jcls; 8871 (void)jarg1_; 8872 (void)jarg2_; 8873 arg1 = *(btActionInterface **)&jarg1; 8874 arg2 = *(btIDebugDraw **)&jarg2; 8875 (arg1)->debugDraw(arg2); 8876 } 8877 8878 8879 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1updateAction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 8880 CustomActionInterface *arg1 = (CustomActionInterface *) 0 ; 8881 btScalar arg2 ; 8882 8883 (void)jenv; 8884 (void)jcls; 8885 (void)jarg1_; 8886 arg1 = *(CustomActionInterface **)&jarg1; 8887 arg2 = (btScalar)jarg2; 8888 (arg1)->updateAction(arg2); 8889 } 8890 8891 8892 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1debugDraw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 8893 CustomActionInterface *arg1 = (CustomActionInterface *) 0 ; 8894 8895 (void)jenv; 8896 (void)jcls; 8897 (void)jarg1_; 8898 arg1 = *(CustomActionInterface **)&jarg1; 8899 (arg1)->debugDraw(); 8900 } 8901 8902 8903 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1CustomActionInterface(JNIEnv *jenv, jclass jcls) { 8904 jlong jresult = 0 ; 8905 CustomActionInterface *result = 0 ; 8906 8907 (void)jenv; 8908 (void)jcls; 8909 result = (CustomActionInterface *)new SwigDirector_CustomActionInterface(jenv); 8910 *(CustomActionInterface **)&jresult = result; 8911 return jresult; 8912 } 8913 8914 8915 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1CustomActionInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8916 CustomActionInterface *arg1 = (CustomActionInterface *) 0 ; 8917 8918 (void)jenv; 8919 (void)jcls; 8920 arg1 = *(CustomActionInterface **)&jarg1; 8921 delete arg1; 8922 } 8923 8924 8925 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) { 8926 CustomActionInterface *obj = *((CustomActionInterface **)&objarg); 8927 (void)jcls; 8928 SwigDirector_CustomActionInterface *director = (SwigDirector_CustomActionInterface *)(obj); 8929 if (director) { 8930 director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE)); 8931 } 8932 } 8933 8934 8935 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) { 8936 CustomActionInterface *obj = *((CustomActionInterface **)&objarg); 8937 SwigDirector_CustomActionInterface *director = (SwigDirector_CustomActionInterface *)(obj); 8938 (void)jcls; 8939 if (director) { 8940 director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false); 8941 } 8942 } 8943 8944 8945 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDiscreteDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) { 8946 jlong jresult = 0 ; 8947 btDispatcher *arg1 = (btDispatcher *) 0 ; 8948 btBroadphaseInterface *arg2 = (btBroadphaseInterface *) 0 ; 8949 btConstraintSolver *arg3 = (btConstraintSolver *) 0 ; 8950 btCollisionConfiguration *arg4 = (btCollisionConfiguration *) 0 ; 8951 btDiscreteDynamicsWorld *result = 0 ; 8952 8953 (void)jenv; 8954 (void)jcls; 8955 (void)jarg1_; 8956 (void)jarg2_; 8957 (void)jarg3_; 8958 (void)jarg4_; 8959 arg1 = *(btDispatcher **)&jarg1; 8960 arg2 = *(btBroadphaseInterface **)&jarg2; 8961 arg3 = *(btConstraintSolver **)&jarg3; 8962 arg4 = *(btCollisionConfiguration **)&jarg4; 8963 result = (btDiscreteDynamicsWorld *)new btDiscreteDynamicsWorld(arg1,arg2,arg3,arg4); 8964 *(btDiscreteDynamicsWorld **)&jresult = result; 8965 return jresult; 8966 } 8967 8968 8969 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDiscreteDynamicsWorld(JNIEnv *jenv, jclass jcls, jlong jarg1) { 8970 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 8971 8972 (void)jenv; 8973 (void)jcls; 8974 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 8975 delete arg1; 8976 } 8977 8978 8979 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3, jfloat jarg4) { 8980 jint jresult = 0 ; 8981 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 8982 btScalar arg2 ; 8983 int arg3 ; 8984 btScalar arg4 ; 8985 int result; 8986 8987 (void)jenv; 8988 (void)jcls; 8989 (void)jarg1_; 8990 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 8991 arg2 = (btScalar)jarg2; 8992 arg3 = (int)jarg3; 8993 arg4 = (btScalar)jarg4; 8994 result = (int)(arg1)->stepSimulation(arg2,arg3,arg4); 8995 jresult = (jint)result; 8996 return jresult; 8997 } 8998 8999 9000 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) { 9001 jint jresult = 0 ; 9002 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9003 btScalar arg2 ; 9004 int arg3 ; 9005 int result; 9006 9007 (void)jenv; 9008 (void)jcls; 9009 (void)jarg1_; 9010 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9011 arg2 = (btScalar)jarg2; 9012 arg3 = (int)jarg3; 9013 result = (int)(arg1)->stepSimulation(arg2,arg3); 9014 jresult = (jint)result; 9015 return jresult; 9016 } 9017 9018 9019 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1stepSimulation_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9020 jint jresult = 0 ; 9021 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9022 btScalar arg2 ; 9023 int result; 9024 9025 (void)jenv; 9026 (void)jcls; 9027 (void)jarg1_; 9028 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9029 arg2 = (btScalar)jarg2; 9030 result = (int)(arg1)->stepSimulation(arg2); 9031 jresult = (jint)result; 9032 return jresult; 9033 } 9034 9035 9036 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1synchronizeSingleMotionState(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9037 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9038 btRigidBody *arg2 = (btRigidBody *) 0 ; 9039 9040 (void)jenv; 9041 (void)jcls; 9042 (void)jarg1_; 9043 (void)jarg2_; 9044 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9045 arg2 = *(btRigidBody **)&jarg2; 9046 (arg1)->synchronizeSingleMotionState(arg2); 9047 } 9048 9049 9050 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) { 9051 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9052 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 9053 bool arg3 ; 9054 9055 (void)jenv; 9056 (void)jcls; 9057 (void)jarg1_; 9058 (void)jarg2_; 9059 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9060 arg2 = *(btTypedConstraint **)&jarg2; 9061 arg3 = jarg3 ? true : false; 9062 (arg1)->addConstraint(arg2,arg3); 9063 } 9064 9065 9066 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9067 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9068 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 9069 9070 (void)jenv; 9071 (void)jcls; 9072 (void)jarg1_; 9073 (void)jarg2_; 9074 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9075 arg2 = *(btTypedConstraint **)&jarg2; 9076 (arg1)->addConstraint(arg2); 9077 } 9078 9079 9080 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSimulationIslandManager_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9081 jlong jresult = 0 ; 9082 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9083 btSimulationIslandManager *result = 0 ; 9084 9085 (void)jenv; 9086 (void)jcls; 9087 (void)jarg1_; 9088 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9089 result = (btSimulationIslandManager *)(arg1)->getSimulationIslandManager(); 9090 *(btSimulationIslandManager **)&jresult = result; 9091 return jresult; 9092 } 9093 9094 9095 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getCollisionWorld(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9096 jlong jresult = 0 ; 9097 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9098 btCollisionWorld *result = 0 ; 9099 9100 (void)jenv; 9101 (void)jcls; 9102 (void)jarg1_; 9103 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9104 result = (btCollisionWorld *)(arg1)->getCollisionWorld(); 9105 *(btCollisionWorld **)&jresult = result; 9106 return jresult; 9107 } 9108 9109 9110 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jshort jarg3, jshort jarg4) { 9111 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9112 btCollisionObject *arg2 = (btCollisionObject *) 0 ; 9113 short arg3 ; 9114 short arg4 ; 9115 9116 (void)jenv; 9117 (void)jcls; 9118 (void)jarg1_; 9119 (void)jarg2_; 9120 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9121 arg2 = *(btCollisionObject **)&jarg2; 9122 arg3 = (short)jarg3; 9123 arg4 = (short)jarg4; 9124 (arg1)->addCollisionObject(arg2,arg3,arg4); 9125 } 9126 9127 9128 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jshort jarg3) { 9129 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9130 btCollisionObject *arg2 = (btCollisionObject *) 0 ; 9131 short arg3 ; 9132 9133 (void)jenv; 9134 (void)jcls; 9135 (void)jarg1_; 9136 (void)jarg2_; 9137 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9138 arg2 = *(btCollisionObject **)&jarg2; 9139 arg3 = (short)jarg3; 9140 (arg1)->addCollisionObject(arg2,arg3); 9141 } 9142 9143 9144 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addCollisionObject_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9145 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9146 btCollisionObject *arg2 = (btCollisionObject *) 0 ; 9147 9148 (void)jenv; 9149 (void)jcls; 9150 (void)jarg1_; 9151 (void)jarg2_; 9152 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9153 arg2 = *(btCollisionObject **)&jarg2; 9154 (arg1)->addCollisionObject(arg2); 9155 } 9156 9157 9158 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9159 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9160 btRigidBody *arg2 = (btRigidBody *) 0 ; 9161 9162 (void)jenv; 9163 (void)jcls; 9164 (void)jarg1_; 9165 (void)jarg2_; 9166 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9167 arg2 = *(btRigidBody **)&jarg2; 9168 (arg1)->addRigidBody(arg2); 9169 } 9170 9171 9172 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1addRigidBody_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jshort jarg3, jshort jarg4) { 9173 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9174 btRigidBody *arg2 = (btRigidBody *) 0 ; 9175 short arg3 ; 9176 short arg4 ; 9177 9178 (void)jenv; 9179 (void)jcls; 9180 (void)jarg1_; 9181 (void)jarg2_; 9182 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9183 arg2 = *(btRigidBody **)&jarg2; 9184 arg3 = (short)jarg3; 9185 arg4 = (short)jarg4; 9186 (arg1)->addRigidBody(arg2,arg3,arg4); 9187 } 9188 9189 9190 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1debugDrawConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9191 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9192 btTypedConstraint *arg2 = (btTypedConstraint *) 0 ; 9193 9194 (void)jenv; 9195 (void)jcls; 9196 (void)jarg1_; 9197 (void)jarg2_; 9198 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9199 arg2 = *(btTypedConstraint **)&jarg2; 9200 (arg1)->debugDrawConstraint(arg2); 9201 } 9202 9203 9204 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 9205 jlong jresult = 0 ; 9206 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9207 int arg2 ; 9208 btTypedConstraint *result = 0 ; 9209 9210 (void)jenv; 9211 (void)jcls; 9212 (void)jarg1_; 9213 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9214 arg2 = (int)jarg2; 9215 result = (btTypedConstraint *)(arg1)->getConstraint(arg2); 9216 *(btTypedConstraint **)&jresult = result; 9217 return jresult; 9218 } 9219 9220 9221 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1applyGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9222 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9223 9224 (void)jenv; 9225 (void)jcls; 9226 (void)jarg1_; 9227 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9228 (arg1)->applyGravity(); 9229 } 9230 9231 9232 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setNumTasks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 9233 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9234 int arg2 ; 9235 9236 (void)jenv; 9237 (void)jcls; 9238 (void)jarg1_; 9239 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9240 arg2 = (int)jarg2; 9241 (arg1)->setNumTasks(arg2); 9242 } 9243 9244 9245 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1updateVehicles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9246 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9247 btScalar arg2 ; 9248 9249 (void)jenv; 9250 (void)jcls; 9251 (void)jarg1_; 9252 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9253 arg2 = (btScalar)jarg2; 9254 (arg1)->updateVehicles(arg2); 9255 } 9256 9257 9258 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setSynchronizeAllMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 9259 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9260 bool arg2 ; 9261 9262 (void)jenv; 9263 (void)jcls; 9264 (void)jarg1_; 9265 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9266 arg2 = jarg2 ? true : false; 9267 (arg1)->setSynchronizeAllMotionStates(arg2); 9268 } 9269 9270 9271 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getSynchronizeAllMotionStates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9272 jboolean jresult = 0 ; 9273 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9274 bool result; 9275 9276 (void)jenv; 9277 (void)jcls; 9278 (void)jarg1_; 9279 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9280 result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getSynchronizeAllMotionStates(); 9281 jresult = (jboolean)result; 9282 return jresult; 9283 } 9284 9285 9286 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setApplySpeculativeContactRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 9287 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9288 bool arg2 ; 9289 9290 (void)jenv; 9291 (void)jcls; 9292 (void)jarg1_; 9293 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9294 arg2 = jarg2 ? true : false; 9295 (arg1)->setApplySpeculativeContactRestitution(arg2); 9296 } 9297 9298 9299 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getApplySpeculativeContactRestitution(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9300 jboolean jresult = 0 ; 9301 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9302 bool result; 9303 9304 (void)jenv; 9305 (void)jcls; 9306 (void)jarg1_; 9307 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9308 result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getApplySpeculativeContactRestitution(); 9309 jresult = (jboolean)result; 9310 return jresult; 9311 } 9312 9313 9314 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1setLatencyMotionStateInterpolation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 9315 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9316 bool arg2 ; 9317 9318 (void)jenv; 9319 (void)jcls; 9320 (void)jarg1_; 9321 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9322 arg2 = jarg2 ? true : false; 9323 (arg1)->setLatencyMotionStateInterpolation(arg2); 9324 } 9325 9326 9327 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1getLatencyMotionStateInterpolation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9328 jboolean jresult = 0 ; 9329 btDiscreteDynamicsWorld *arg1 = (btDiscreteDynamicsWorld *) 0 ; 9330 bool result; 9331 9332 (void)jenv; 9333 (void)jcls; 9334 (void)jarg1_; 9335 arg1 = *(btDiscreteDynamicsWorld **)&jarg1; 9336 result = (bool)((btDiscreteDynamicsWorld const *)arg1)->getLatencyMotionStateInterpolation(); 9337 jresult = (jboolean)result; 9338 return jresult; 9339 } 9340 9341 9342 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btCharacterControllerInterface(JNIEnv *jenv, jclass jcls, jlong jarg1) { 9343 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9344 9345 (void)jenv; 9346 (void)jcls; 9347 arg1 = *(btCharacterControllerInterface **)&jarg1; 9348 delete arg1; 9349 } 9350 9351 9352 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setWalkDirection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 9353 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9354 btVector3 *arg2 = 0 ; 9355 9356 (void)jenv; 9357 (void)jcls; 9358 (void)jarg1_; 9359 arg1 = *(btCharacterControllerInterface **)&jarg1; 9360 btVector3 local_arg2; 9361 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 9362 arg2 = &local_arg2; 9363 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 9364 (arg1)->setWalkDirection((btVector3 const &)*arg2); 9365 } 9366 9367 9368 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setVelocityForTimeInterval(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) { 9369 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9370 btVector3 *arg2 = 0 ; 9371 btScalar arg3 ; 9372 9373 (void)jenv; 9374 (void)jcls; 9375 (void)jarg1_; 9376 arg1 = *(btCharacterControllerInterface **)&jarg1; 9377 btVector3 local_arg2; 9378 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 9379 arg2 = &local_arg2; 9380 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 9381 arg3 = (btScalar)jarg3; 9382 (arg1)->setVelocityForTimeInterval((btVector3 const &)*arg2,arg3); 9383 } 9384 9385 9386 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9387 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9388 btCollisionWorld *arg2 = (btCollisionWorld *) 0 ; 9389 9390 (void)jenv; 9391 (void)jcls; 9392 (void)jarg1_; 9393 (void)jarg2_; 9394 arg1 = *(btCharacterControllerInterface **)&jarg1; 9395 arg2 = *(btCollisionWorld **)&jarg2; 9396 (arg1)->reset(arg2); 9397 } 9398 9399 9400 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1warp(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 9401 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9402 btVector3 *arg2 = 0 ; 9403 9404 (void)jenv; 9405 (void)jcls; 9406 (void)jarg1_; 9407 arg1 = *(btCharacterControllerInterface **)&jarg1; 9408 btVector3 local_arg2; 9409 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 9410 arg2 = &local_arg2; 9411 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 9412 (arg1)->warp((btVector3 const &)*arg2); 9413 } 9414 9415 9416 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1preStep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 9417 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9418 btCollisionWorld *arg2 = (btCollisionWorld *) 0 ; 9419 9420 (void)jenv; 9421 (void)jcls; 9422 (void)jarg1_; 9423 (void)jarg2_; 9424 arg1 = *(btCharacterControllerInterface **)&jarg1; 9425 arg2 = *(btCollisionWorld **)&jarg2; 9426 (arg1)->preStep(arg2); 9427 } 9428 9429 9430 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1playerStep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) { 9431 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9432 btCollisionWorld *arg2 = (btCollisionWorld *) 0 ; 9433 btScalar arg3 ; 9434 9435 (void)jenv; 9436 (void)jcls; 9437 (void)jarg1_; 9438 (void)jarg2_; 9439 arg1 = *(btCharacterControllerInterface **)&jarg1; 9440 arg2 = *(btCollisionWorld **)&jarg2; 9441 arg3 = (btScalar)jarg3; 9442 (arg1)->playerStep(arg2,arg3); 9443 } 9444 9445 9446 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1canJump(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9447 jboolean jresult = 0 ; 9448 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9449 bool result; 9450 9451 (void)jenv; 9452 (void)jcls; 9453 (void)jarg1_; 9454 arg1 = *(btCharacterControllerInterface **)&jarg1; 9455 result = (bool)((btCharacterControllerInterface const *)arg1)->canJump(); 9456 jresult = (jboolean)result; 9457 return jresult; 9458 } 9459 9460 9461 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1jump(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9462 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9463 9464 (void)jenv; 9465 (void)jcls; 9466 (void)jarg1_; 9467 arg1 = *(btCharacterControllerInterface **)&jarg1; 9468 (arg1)->jump(); 9469 } 9470 9471 9472 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1onGround(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9473 jboolean jresult = 0 ; 9474 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9475 bool result; 9476 9477 (void)jenv; 9478 (void)jcls; 9479 (void)jarg1_; 9480 arg1 = *(btCharacterControllerInterface **)&jarg1; 9481 result = (bool)((btCharacterControllerInterface const *)arg1)->onGround(); 9482 jresult = (jboolean)result; 9483 return jresult; 9484 } 9485 9486 9487 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1setUpInterpolate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 9488 btCharacterControllerInterface *arg1 = (btCharacterControllerInterface *) 0 ; 9489 bool arg2 ; 9490 9491 (void)jenv; 9492 (void)jcls; 9493 (void)jarg1_; 9494 arg1 = *(btCharacterControllerInterface **)&jarg1; 9495 arg2 = jarg2 ? true : false; 9496 (arg1)->setUpInterpolate(arg2); 9497 } 9498 9499 9500 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btKinematicCharacterController_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jint jarg4) { 9501 jlong jresult = 0 ; 9502 btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ; 9503 btConvexShape *arg2 = (btConvexShape *) 0 ; 9504 btScalar arg3 ; 9505 int arg4 ; 9506 btKinematicCharacterController *result = 0 ; 9507 9508 (void)jenv; 9509 (void)jcls; 9510 (void)jarg1_; 9511 (void)jarg2_; 9512 arg1 = *(btPairCachingGhostObject **)&jarg1; 9513 arg2 = *(btConvexShape **)&jarg2; 9514 arg3 = (btScalar)jarg3; 9515 arg4 = (int)jarg4; 9516 result = (btKinematicCharacterController *)new btKinematicCharacterController(arg1,arg2,arg3,arg4); 9517 *(btKinematicCharacterController **)&jresult = result; 9518 return jresult; 9519 } 9520 9521 9522 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btKinematicCharacterController_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) { 9523 jlong jresult = 0 ; 9524 btPairCachingGhostObject *arg1 = (btPairCachingGhostObject *) 0 ; 9525 btConvexShape *arg2 = (btConvexShape *) 0 ; 9526 btScalar arg3 ; 9527 btKinematicCharacterController *result = 0 ; 9528 9529 (void)jenv; 9530 (void)jcls; 9531 (void)jarg1_; 9532 (void)jarg2_; 9533 arg1 = *(btPairCachingGhostObject **)&jarg1; 9534 arg2 = *(btConvexShape **)&jarg2; 9535 arg3 = (btScalar)jarg3; 9536 result = (btKinematicCharacterController *)new btKinematicCharacterController(arg1,arg2,arg3); 9537 *(btKinematicCharacterController **)&jresult = result; 9538 return jresult; 9539 } 9540 9541 9542 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btKinematicCharacterController(JNIEnv *jenv, jclass jcls, jlong jarg1) { 9543 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9544 9545 (void)jenv; 9546 (void)jcls; 9547 arg1 = *(btKinematicCharacterController **)&jarg1; 9548 delete arg1; 9549 } 9550 9551 9552 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setUpAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 9553 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9554 int arg2 ; 9555 9556 (void)jenv; 9557 (void)jcls; 9558 (void)jarg1_; 9559 arg1 = *(btKinematicCharacterController **)&jarg1; 9560 arg2 = (int)jarg2; 9561 (arg1)->setUpAxis(arg2); 9562 } 9563 9564 9565 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setFallSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9566 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9567 btScalar arg2 ; 9568 9569 (void)jenv; 9570 (void)jcls; 9571 (void)jarg1_; 9572 arg1 = *(btKinematicCharacterController **)&jarg1; 9573 arg2 = (btScalar)jarg2; 9574 (arg1)->setFallSpeed(arg2); 9575 } 9576 9577 9578 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setJumpSpeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9579 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9580 btScalar arg2 ; 9581 9582 (void)jenv; 9583 (void)jcls; 9584 (void)jarg1_; 9585 arg1 = *(btKinematicCharacterController **)&jarg1; 9586 arg2 = (btScalar)jarg2; 9587 (arg1)->setJumpSpeed(arg2); 9588 } 9589 9590 9591 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxJumpHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9592 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9593 btScalar arg2 ; 9594 9595 (void)jenv; 9596 (void)jcls; 9597 (void)jarg1_; 9598 arg1 = *(btKinematicCharacterController **)&jarg1; 9599 arg2 = (btScalar)jarg2; 9600 (arg1)->setMaxJumpHeight(arg2); 9601 } 9602 9603 9604 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9605 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9606 btScalar arg2 ; 9607 9608 (void)jenv; 9609 (void)jcls; 9610 (void)jarg1_; 9611 arg1 = *(btKinematicCharacterController **)&jarg1; 9612 arg2 = (btScalar)jarg2; 9613 (arg1)->setGravity(arg2); 9614 } 9615 9616 9617 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getGravity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9618 jfloat jresult = 0 ; 9619 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9620 btScalar result; 9621 9622 (void)jenv; 9623 (void)jcls; 9624 (void)jarg1_; 9625 arg1 = *(btKinematicCharacterController **)&jarg1; 9626 result = (btScalar)((btKinematicCharacterController const *)arg1)->getGravity(); 9627 jresult = (jfloat)result; 9628 return jresult; 9629 } 9630 9631 9632 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setMaxSlope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9633 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9634 btScalar arg2 ; 9635 9636 (void)jenv; 9637 (void)jcls; 9638 (void)jarg1_; 9639 arg1 = *(btKinematicCharacterController **)&jarg1; 9640 arg2 = (btScalar)jarg2; 9641 (arg1)->setMaxSlope(arg2); 9642 } 9643 9644 9645 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getMaxSlope(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9646 jfloat jresult = 0 ; 9647 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9648 btScalar result; 9649 9650 (void)jenv; 9651 (void)jcls; 9652 (void)jarg1_; 9653 arg1 = *(btKinematicCharacterController **)&jarg1; 9654 result = (btScalar)((btKinematicCharacterController const *)arg1)->getMaxSlope(); 9655 jresult = (jfloat)result; 9656 return jresult; 9657 } 9658 9659 9660 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1getGhostObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9661 jlong jresult = 0 ; 9662 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9663 btPairCachingGhostObject *result = 0 ; 9664 9665 (void)jenv; 9666 (void)jcls; 9667 (void)jarg1_; 9668 arg1 = *(btKinematicCharacterController **)&jarg1; 9669 result = (btPairCachingGhostObject *)(arg1)->getGhostObject(); 9670 *(btPairCachingGhostObject **)&jresult = result; 9671 return jresult; 9672 } 9673 9674 9675 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1setUseGhostSweepTest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 9676 btKinematicCharacterController *arg1 = (btKinematicCharacterController *) 0 ; 9677 bool arg2 ; 9678 9679 (void)jenv; 9680 (void)jcls; 9681 (void)jarg1_; 9682 arg1 = *(btKinematicCharacterController **)&jarg1; 9683 arg2 = jarg2 ? true : false; 9684 (arg1)->setUseGhostSweepTest(arg2); 9685 } 9686 9687 9688 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9689 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9690 btScalar arg2 ; 9691 9692 (void)jenv; 9693 (void)jcls; 9694 (void)jarg1_; 9695 arg1 = *(btContactSolverInfoData **)&jarg1; 9696 arg2 = (btScalar)jarg2; 9697 if (arg1) (arg1)->m_tau = arg2; 9698 } 9699 9700 9701 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9702 jfloat jresult = 0 ; 9703 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9704 btScalar result; 9705 9706 (void)jenv; 9707 (void)jcls; 9708 (void)jarg1_; 9709 arg1 = *(btContactSolverInfoData **)&jarg1; 9710 result = (btScalar) ((arg1)->m_tau); 9711 jresult = (jfloat)result; 9712 return jresult; 9713 } 9714 9715 9716 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9717 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9718 btScalar arg2 ; 9719 9720 (void)jenv; 9721 (void)jcls; 9722 (void)jarg1_; 9723 arg1 = *(btContactSolverInfoData **)&jarg1; 9724 arg2 = (btScalar)jarg2; 9725 if (arg1) (arg1)->m_damping = arg2; 9726 } 9727 9728 9729 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9730 jfloat jresult = 0 ; 9731 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9732 btScalar result; 9733 9734 (void)jenv; 9735 (void)jcls; 9736 (void)jarg1_; 9737 arg1 = *(btContactSolverInfoData **)&jarg1; 9738 result = (btScalar) ((arg1)->m_damping); 9739 jresult = (jfloat)result; 9740 return jresult; 9741 } 9742 9743 9744 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9745 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9746 btScalar arg2 ; 9747 9748 (void)jenv; 9749 (void)jcls; 9750 (void)jarg1_; 9751 arg1 = *(btContactSolverInfoData **)&jarg1; 9752 arg2 = (btScalar)jarg2; 9753 if (arg1) (arg1)->m_friction = arg2; 9754 } 9755 9756 9757 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9758 jfloat jresult = 0 ; 9759 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9760 btScalar result; 9761 9762 (void)jenv; 9763 (void)jcls; 9764 (void)jarg1_; 9765 arg1 = *(btContactSolverInfoData **)&jarg1; 9766 result = (btScalar) ((arg1)->m_friction); 9767 jresult = (jfloat)result; 9768 return jresult; 9769 } 9770 9771 9772 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9773 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9774 btScalar arg2 ; 9775 9776 (void)jenv; 9777 (void)jcls; 9778 (void)jarg1_; 9779 arg1 = *(btContactSolverInfoData **)&jarg1; 9780 arg2 = (btScalar)jarg2; 9781 if (arg1) (arg1)->m_timeStep = arg2; 9782 } 9783 9784 9785 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9786 jfloat jresult = 0 ; 9787 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9788 btScalar result; 9789 9790 (void)jenv; 9791 (void)jcls; 9792 (void)jarg1_; 9793 arg1 = *(btContactSolverInfoData **)&jarg1; 9794 result = (btScalar) ((arg1)->m_timeStep); 9795 jresult = (jfloat)result; 9796 return jresult; 9797 } 9798 9799 9800 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9801 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9802 btScalar arg2 ; 9803 9804 (void)jenv; 9805 (void)jcls; 9806 (void)jarg1_; 9807 arg1 = *(btContactSolverInfoData **)&jarg1; 9808 arg2 = (btScalar)jarg2; 9809 if (arg1) (arg1)->m_restitution = arg2; 9810 } 9811 9812 9813 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9814 jfloat jresult = 0 ; 9815 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9816 btScalar result; 9817 9818 (void)jenv; 9819 (void)jcls; 9820 (void)jarg1_; 9821 arg1 = *(btContactSolverInfoData **)&jarg1; 9822 result = (btScalar) ((arg1)->m_restitution); 9823 jresult = (jfloat)result; 9824 return jresult; 9825 } 9826 9827 9828 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 9829 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9830 int arg2 ; 9831 9832 (void)jenv; 9833 (void)jcls; 9834 (void)jarg1_; 9835 arg1 = *(btContactSolverInfoData **)&jarg1; 9836 arg2 = (int)jarg2; 9837 if (arg1) (arg1)->m_numIterations = arg2; 9838 } 9839 9840 9841 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9842 jint jresult = 0 ; 9843 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9844 int result; 9845 9846 (void)jenv; 9847 (void)jcls; 9848 (void)jarg1_; 9849 arg1 = *(btContactSolverInfoData **)&jarg1; 9850 result = (int) ((arg1)->m_numIterations); 9851 jresult = (jint)result; 9852 return jresult; 9853 } 9854 9855 9856 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9857 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9858 btScalar arg2 ; 9859 9860 (void)jenv; 9861 (void)jcls; 9862 (void)jarg1_; 9863 arg1 = *(btContactSolverInfoData **)&jarg1; 9864 arg2 = (btScalar)jarg2; 9865 if (arg1) (arg1)->m_maxErrorReduction = arg2; 9866 } 9867 9868 9869 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9870 jfloat jresult = 0 ; 9871 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9872 btScalar result; 9873 9874 (void)jenv; 9875 (void)jcls; 9876 (void)jarg1_; 9877 arg1 = *(btContactSolverInfoData **)&jarg1; 9878 result = (btScalar) ((arg1)->m_maxErrorReduction); 9879 jresult = (jfloat)result; 9880 return jresult; 9881 } 9882 9883 9884 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9885 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9886 btScalar arg2 ; 9887 9888 (void)jenv; 9889 (void)jcls; 9890 (void)jarg1_; 9891 arg1 = *(btContactSolverInfoData **)&jarg1; 9892 arg2 = (btScalar)jarg2; 9893 if (arg1) (arg1)->m_sor = arg2; 9894 } 9895 9896 9897 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9898 jfloat jresult = 0 ; 9899 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9900 btScalar result; 9901 9902 (void)jenv; 9903 (void)jcls; 9904 (void)jarg1_; 9905 arg1 = *(btContactSolverInfoData **)&jarg1; 9906 result = (btScalar) ((arg1)->m_sor); 9907 jresult = (jfloat)result; 9908 return jresult; 9909 } 9910 9911 9912 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9913 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9914 btScalar arg2 ; 9915 9916 (void)jenv; 9917 (void)jcls; 9918 (void)jarg1_; 9919 arg1 = *(btContactSolverInfoData **)&jarg1; 9920 arg2 = (btScalar)jarg2; 9921 if (arg1) (arg1)->m_erp = arg2; 9922 } 9923 9924 9925 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9926 jfloat jresult = 0 ; 9927 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9928 btScalar result; 9929 9930 (void)jenv; 9931 (void)jcls; 9932 (void)jarg1_; 9933 arg1 = *(btContactSolverInfoData **)&jarg1; 9934 result = (btScalar) ((arg1)->m_erp); 9935 jresult = (jfloat)result; 9936 return jresult; 9937 } 9938 9939 9940 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9941 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9942 btScalar arg2 ; 9943 9944 (void)jenv; 9945 (void)jcls; 9946 (void)jarg1_; 9947 arg1 = *(btContactSolverInfoData **)&jarg1; 9948 arg2 = (btScalar)jarg2; 9949 if (arg1) (arg1)->m_erp2 = arg2; 9950 } 9951 9952 9953 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9954 jfloat jresult = 0 ; 9955 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9956 btScalar result; 9957 9958 (void)jenv; 9959 (void)jcls; 9960 (void)jarg1_; 9961 arg1 = *(btContactSolverInfoData **)&jarg1; 9962 result = (btScalar) ((arg1)->m_erp2); 9963 jresult = (jfloat)result; 9964 return jresult; 9965 } 9966 9967 9968 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 9969 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9970 btScalar arg2 ; 9971 9972 (void)jenv; 9973 (void)jcls; 9974 (void)jarg1_; 9975 arg1 = *(btContactSolverInfoData **)&jarg1; 9976 arg2 = (btScalar)jarg2; 9977 if (arg1) (arg1)->m_globalCfm = arg2; 9978 } 9979 9980 9981 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 9982 jfloat jresult = 0 ; 9983 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9984 btScalar result; 9985 9986 (void)jenv; 9987 (void)jcls; 9988 (void)jarg1_; 9989 arg1 = *(btContactSolverInfoData **)&jarg1; 9990 result = (btScalar) ((arg1)->m_globalCfm); 9991 jresult = (jfloat)result; 9992 return jresult; 9993 } 9994 9995 9996 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 9997 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 9998 int arg2 ; 9999 10000 (void)jenv; 10001 (void)jcls; 10002 (void)jarg1_; 10003 arg1 = *(btContactSolverInfoData **)&jarg1; 10004 arg2 = (int)jarg2; 10005 if (arg1) (arg1)->m_splitImpulse = arg2; 10006 } 10007 10008 10009 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10010 jint jresult = 0 ; 10011 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10012 int result; 10013 10014 (void)jenv; 10015 (void)jcls; 10016 (void)jarg1_; 10017 arg1 = *(btContactSolverInfoData **)&jarg1; 10018 result = (int) ((arg1)->m_splitImpulse); 10019 jresult = (jint)result; 10020 return jresult; 10021 } 10022 10023 10024 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10025 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10026 btScalar arg2 ; 10027 10028 (void)jenv; 10029 (void)jcls; 10030 (void)jarg1_; 10031 arg1 = *(btContactSolverInfoData **)&jarg1; 10032 arg2 = (btScalar)jarg2; 10033 if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2; 10034 } 10035 10036 10037 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10038 jfloat jresult = 0 ; 10039 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10040 btScalar result; 10041 10042 (void)jenv; 10043 (void)jcls; 10044 (void)jarg1_; 10045 arg1 = *(btContactSolverInfoData **)&jarg1; 10046 result = (btScalar) ((arg1)->m_splitImpulsePenetrationThreshold); 10047 jresult = (jfloat)result; 10048 return jresult; 10049 } 10050 10051 10052 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10053 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10054 btScalar arg2 ; 10055 10056 (void)jenv; 10057 (void)jcls; 10058 (void)jarg1_; 10059 arg1 = *(btContactSolverInfoData **)&jarg1; 10060 arg2 = (btScalar)jarg2; 10061 if (arg1) (arg1)->m_splitImpulseTurnErp = arg2; 10062 } 10063 10064 10065 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10066 jfloat jresult = 0 ; 10067 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10068 btScalar result; 10069 10070 (void)jenv; 10071 (void)jcls; 10072 (void)jarg1_; 10073 arg1 = *(btContactSolverInfoData **)&jarg1; 10074 result = (btScalar) ((arg1)->m_splitImpulseTurnErp); 10075 jresult = (jfloat)result; 10076 return jresult; 10077 } 10078 10079 10080 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10081 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10082 btScalar arg2 ; 10083 10084 (void)jenv; 10085 (void)jcls; 10086 (void)jarg1_; 10087 arg1 = *(btContactSolverInfoData **)&jarg1; 10088 arg2 = (btScalar)jarg2; 10089 if (arg1) (arg1)->m_linearSlop = arg2; 10090 } 10091 10092 10093 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10094 jfloat jresult = 0 ; 10095 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10096 btScalar result; 10097 10098 (void)jenv; 10099 (void)jcls; 10100 (void)jarg1_; 10101 arg1 = *(btContactSolverInfoData **)&jarg1; 10102 result = (btScalar) ((arg1)->m_linearSlop); 10103 jresult = (jfloat)result; 10104 return jresult; 10105 } 10106 10107 10108 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10109 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10110 btScalar arg2 ; 10111 10112 (void)jenv; 10113 (void)jcls; 10114 (void)jarg1_; 10115 arg1 = *(btContactSolverInfoData **)&jarg1; 10116 arg2 = (btScalar)jarg2; 10117 if (arg1) (arg1)->m_warmstartingFactor = arg2; 10118 } 10119 10120 10121 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10122 jfloat jresult = 0 ; 10123 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10124 btScalar result; 10125 10126 (void)jenv; 10127 (void)jcls; 10128 (void)jarg1_; 10129 arg1 = *(btContactSolverInfoData **)&jarg1; 10130 result = (btScalar) ((arg1)->m_warmstartingFactor); 10131 jresult = (jfloat)result; 10132 return jresult; 10133 } 10134 10135 10136 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10137 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10138 int arg2 ; 10139 10140 (void)jenv; 10141 (void)jcls; 10142 (void)jarg1_; 10143 arg1 = *(btContactSolverInfoData **)&jarg1; 10144 arg2 = (int)jarg2; 10145 if (arg1) (arg1)->m_solverMode = arg2; 10146 } 10147 10148 10149 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10150 jint jresult = 0 ; 10151 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10152 int result; 10153 10154 (void)jenv; 10155 (void)jcls; 10156 (void)jarg1_; 10157 arg1 = *(btContactSolverInfoData **)&jarg1; 10158 result = (int) ((arg1)->m_solverMode); 10159 jresult = (jint)result; 10160 return jresult; 10161 } 10162 10163 10164 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10165 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10166 int arg2 ; 10167 10168 (void)jenv; 10169 (void)jcls; 10170 (void)jarg1_; 10171 arg1 = *(btContactSolverInfoData **)&jarg1; 10172 arg2 = (int)jarg2; 10173 if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2; 10174 } 10175 10176 10177 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10178 jint jresult = 0 ; 10179 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10180 int result; 10181 10182 (void)jenv; 10183 (void)jcls; 10184 (void)jarg1_; 10185 arg1 = *(btContactSolverInfoData **)&jarg1; 10186 result = (int) ((arg1)->m_restingContactRestitutionThreshold); 10187 jresult = (jint)result; 10188 return jresult; 10189 } 10190 10191 10192 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10193 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10194 int arg2 ; 10195 10196 (void)jenv; 10197 (void)jcls; 10198 (void)jarg1_; 10199 arg1 = *(btContactSolverInfoData **)&jarg1; 10200 arg2 = (int)jarg2; 10201 if (arg1) (arg1)->m_minimumSolverBatchSize = arg2; 10202 } 10203 10204 10205 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10206 jint jresult = 0 ; 10207 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10208 int result; 10209 10210 (void)jenv; 10211 (void)jcls; 10212 (void)jarg1_; 10213 arg1 = *(btContactSolverInfoData **)&jarg1; 10214 result = (int) ((arg1)->m_minimumSolverBatchSize); 10215 jresult = (jint)result; 10216 return jresult; 10217 } 10218 10219 10220 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10221 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10222 btScalar arg2 ; 10223 10224 (void)jenv; 10225 (void)jcls; 10226 (void)jarg1_; 10227 arg1 = *(btContactSolverInfoData **)&jarg1; 10228 arg2 = (btScalar)jarg2; 10229 if (arg1) (arg1)->m_maxGyroscopicForce = arg2; 10230 } 10231 10232 10233 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10234 jfloat jresult = 0 ; 10235 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10236 btScalar result; 10237 10238 (void)jenv; 10239 (void)jcls; 10240 (void)jarg1_; 10241 arg1 = *(btContactSolverInfoData **)&jarg1; 10242 result = (btScalar) ((arg1)->m_maxGyroscopicForce); 10243 jresult = (jfloat)result; 10244 return jresult; 10245 } 10246 10247 10248 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10249 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10250 btScalar arg2 ; 10251 10252 (void)jenv; 10253 (void)jcls; 10254 (void)jarg1_; 10255 arg1 = *(btContactSolverInfoData **)&jarg1; 10256 arg2 = (btScalar)jarg2; 10257 if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2; 10258 } 10259 10260 10261 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10262 jfloat jresult = 0 ; 10263 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10264 btScalar result; 10265 10266 (void)jenv; 10267 (void)jcls; 10268 (void)jarg1_; 10269 arg1 = *(btContactSolverInfoData **)&jarg1; 10270 result = (btScalar) ((arg1)->m_singleAxisRollingFrictionThreshold); 10271 jresult = (jfloat)result; 10272 return jresult; 10273 } 10274 10275 10276 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoData(JNIEnv *jenv, jclass jcls) { 10277 jlong jresult = 0 ; 10278 btContactSolverInfoData *result = 0 ; 10279 10280 (void)jenv; 10281 (void)jcls; 10282 result = (btContactSolverInfoData *)new btContactSolverInfoData(); 10283 *(btContactSolverInfoData **)&jresult = result; 10284 return jresult; 10285 } 10286 10287 10288 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 10289 btContactSolverInfoData *arg1 = (btContactSolverInfoData *) 0 ; 10290 10291 (void)jenv; 10292 (void)jcls; 10293 arg1 = *(btContactSolverInfoData **)&jarg1; 10294 delete arg1; 10295 } 10296 10297 10298 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfo(JNIEnv *jenv, jclass jcls) { 10299 jlong jresult = 0 ; 10300 btContactSolverInfo *result = 0 ; 10301 10302 (void)jenv; 10303 (void)jcls; 10304 result = (btContactSolverInfo *)new btContactSolverInfo(); 10305 *(btContactSolverInfo **)&jresult = result; 10306 return jresult; 10307 } 10308 10309 10310 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) { 10311 btContactSolverInfo *arg1 = (btContactSolverInfo *) 0 ; 10312 10313 (void)jenv; 10314 (void)jcls; 10315 arg1 = *(btContactSolverInfo **)&jarg1; 10316 delete arg1; 10317 } 10318 10319 10320 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10321 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10322 double arg2 ; 10323 10324 (void)jenv; 10325 (void)jcls; 10326 (void)jarg1_; 10327 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10328 arg2 = (double)jarg2; 10329 if (arg1) (arg1)->m_tau = arg2; 10330 } 10331 10332 10333 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10334 jdouble jresult = 0 ; 10335 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10336 double result; 10337 10338 (void)jenv; 10339 (void)jcls; 10340 (void)jarg1_; 10341 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10342 result = (double) ((arg1)->m_tau); 10343 jresult = (jdouble)result; 10344 return jresult; 10345 } 10346 10347 10348 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10349 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10350 double arg2 ; 10351 10352 (void)jenv; 10353 (void)jcls; 10354 (void)jarg1_; 10355 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10356 arg2 = (double)jarg2; 10357 if (arg1) (arg1)->m_damping = arg2; 10358 } 10359 10360 10361 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10362 jdouble jresult = 0 ; 10363 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10364 double result; 10365 10366 (void)jenv; 10367 (void)jcls; 10368 (void)jarg1_; 10369 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10370 result = (double) ((arg1)->m_damping); 10371 jresult = (jdouble)result; 10372 return jresult; 10373 } 10374 10375 10376 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10377 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10378 double arg2 ; 10379 10380 (void)jenv; 10381 (void)jcls; 10382 (void)jarg1_; 10383 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10384 arg2 = (double)jarg2; 10385 if (arg1) (arg1)->m_friction = arg2; 10386 } 10387 10388 10389 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10390 jdouble jresult = 0 ; 10391 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10392 double result; 10393 10394 (void)jenv; 10395 (void)jcls; 10396 (void)jarg1_; 10397 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10398 result = (double) ((arg1)->m_friction); 10399 jresult = (jdouble)result; 10400 return jresult; 10401 } 10402 10403 10404 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10405 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10406 double arg2 ; 10407 10408 (void)jenv; 10409 (void)jcls; 10410 (void)jarg1_; 10411 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10412 arg2 = (double)jarg2; 10413 if (arg1) (arg1)->m_timeStep = arg2; 10414 } 10415 10416 10417 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10418 jdouble jresult = 0 ; 10419 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10420 double result; 10421 10422 (void)jenv; 10423 (void)jcls; 10424 (void)jarg1_; 10425 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10426 result = (double) ((arg1)->m_timeStep); 10427 jresult = (jdouble)result; 10428 return jresult; 10429 } 10430 10431 10432 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10433 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10434 double arg2 ; 10435 10436 (void)jenv; 10437 (void)jcls; 10438 (void)jarg1_; 10439 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10440 arg2 = (double)jarg2; 10441 if (arg1) (arg1)->m_restitution = arg2; 10442 } 10443 10444 10445 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10446 jdouble jresult = 0 ; 10447 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10448 double result; 10449 10450 (void)jenv; 10451 (void)jcls; 10452 (void)jarg1_; 10453 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10454 result = (double) ((arg1)->m_restitution); 10455 jresult = (jdouble)result; 10456 return jresult; 10457 } 10458 10459 10460 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10461 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10462 double arg2 ; 10463 10464 (void)jenv; 10465 (void)jcls; 10466 (void)jarg1_; 10467 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10468 arg2 = (double)jarg2; 10469 if (arg1) (arg1)->m_maxErrorReduction = arg2; 10470 } 10471 10472 10473 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10474 jdouble jresult = 0 ; 10475 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10476 double result; 10477 10478 (void)jenv; 10479 (void)jcls; 10480 (void)jarg1_; 10481 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10482 result = (double) ((arg1)->m_maxErrorReduction); 10483 jresult = (jdouble)result; 10484 return jresult; 10485 } 10486 10487 10488 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10489 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10490 double arg2 ; 10491 10492 (void)jenv; 10493 (void)jcls; 10494 (void)jarg1_; 10495 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10496 arg2 = (double)jarg2; 10497 if (arg1) (arg1)->m_sor = arg2; 10498 } 10499 10500 10501 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10502 jdouble jresult = 0 ; 10503 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10504 double result; 10505 10506 (void)jenv; 10507 (void)jcls; 10508 (void)jarg1_; 10509 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10510 result = (double) ((arg1)->m_sor); 10511 jresult = (jdouble)result; 10512 return jresult; 10513 } 10514 10515 10516 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10517 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10518 double arg2 ; 10519 10520 (void)jenv; 10521 (void)jcls; 10522 (void)jarg1_; 10523 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10524 arg2 = (double)jarg2; 10525 if (arg1) (arg1)->m_erp = arg2; 10526 } 10527 10528 10529 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10530 jdouble jresult = 0 ; 10531 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10532 double result; 10533 10534 (void)jenv; 10535 (void)jcls; 10536 (void)jarg1_; 10537 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10538 result = (double) ((arg1)->m_erp); 10539 jresult = (jdouble)result; 10540 return jresult; 10541 } 10542 10543 10544 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10545 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10546 double arg2 ; 10547 10548 (void)jenv; 10549 (void)jcls; 10550 (void)jarg1_; 10551 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10552 arg2 = (double)jarg2; 10553 if (arg1) (arg1)->m_erp2 = arg2; 10554 } 10555 10556 10557 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10558 jdouble jresult = 0 ; 10559 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10560 double result; 10561 10562 (void)jenv; 10563 (void)jcls; 10564 (void)jarg1_; 10565 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10566 result = (double) ((arg1)->m_erp2); 10567 jresult = (jdouble)result; 10568 return jresult; 10569 } 10570 10571 10572 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10573 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10574 double arg2 ; 10575 10576 (void)jenv; 10577 (void)jcls; 10578 (void)jarg1_; 10579 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10580 arg2 = (double)jarg2; 10581 if (arg1) (arg1)->m_globalCfm = arg2; 10582 } 10583 10584 10585 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10586 jdouble jresult = 0 ; 10587 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10588 double result; 10589 10590 (void)jenv; 10591 (void)jcls; 10592 (void)jarg1_; 10593 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10594 result = (double) ((arg1)->m_globalCfm); 10595 jresult = (jdouble)result; 10596 return jresult; 10597 } 10598 10599 10600 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10601 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10602 double arg2 ; 10603 10604 (void)jenv; 10605 (void)jcls; 10606 (void)jarg1_; 10607 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10608 arg2 = (double)jarg2; 10609 if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2; 10610 } 10611 10612 10613 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10614 jdouble jresult = 0 ; 10615 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10616 double result; 10617 10618 (void)jenv; 10619 (void)jcls; 10620 (void)jarg1_; 10621 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10622 result = (double) ((arg1)->m_splitImpulsePenetrationThreshold); 10623 jresult = (jdouble)result; 10624 return jresult; 10625 } 10626 10627 10628 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10629 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10630 double arg2 ; 10631 10632 (void)jenv; 10633 (void)jcls; 10634 (void)jarg1_; 10635 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10636 arg2 = (double)jarg2; 10637 if (arg1) (arg1)->m_splitImpulseTurnErp = arg2; 10638 } 10639 10640 10641 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10642 jdouble jresult = 0 ; 10643 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10644 double result; 10645 10646 (void)jenv; 10647 (void)jcls; 10648 (void)jarg1_; 10649 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10650 result = (double) ((arg1)->m_splitImpulseTurnErp); 10651 jresult = (jdouble)result; 10652 return jresult; 10653 } 10654 10655 10656 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10657 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10658 double arg2 ; 10659 10660 (void)jenv; 10661 (void)jcls; 10662 (void)jarg1_; 10663 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10664 arg2 = (double)jarg2; 10665 if (arg1) (arg1)->m_linearSlop = arg2; 10666 } 10667 10668 10669 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10670 jdouble jresult = 0 ; 10671 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10672 double result; 10673 10674 (void)jenv; 10675 (void)jcls; 10676 (void)jarg1_; 10677 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10678 result = (double) ((arg1)->m_linearSlop); 10679 jresult = (jdouble)result; 10680 return jresult; 10681 } 10682 10683 10684 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10685 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10686 double arg2 ; 10687 10688 (void)jenv; 10689 (void)jcls; 10690 (void)jarg1_; 10691 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10692 arg2 = (double)jarg2; 10693 if (arg1) (arg1)->m_warmstartingFactor = arg2; 10694 } 10695 10696 10697 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10698 jdouble jresult = 0 ; 10699 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10700 double result; 10701 10702 (void)jenv; 10703 (void)jcls; 10704 (void)jarg1_; 10705 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10706 result = (double) ((arg1)->m_warmstartingFactor); 10707 jresult = (jdouble)result; 10708 return jresult; 10709 } 10710 10711 10712 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10713 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10714 double arg2 ; 10715 10716 (void)jenv; 10717 (void)jcls; 10718 (void)jarg1_; 10719 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10720 arg2 = (double)jarg2; 10721 if (arg1) (arg1)->m_maxGyroscopicForce = arg2; 10722 } 10723 10724 10725 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10726 jdouble jresult = 0 ; 10727 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10728 double result; 10729 10730 (void)jenv; 10731 (void)jcls; 10732 (void)jarg1_; 10733 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10734 result = (double) ((arg1)->m_maxGyroscopicForce); 10735 jresult = (jdouble)result; 10736 return jresult; 10737 } 10738 10739 10740 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 10741 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10742 double arg2 ; 10743 10744 (void)jenv; 10745 (void)jcls; 10746 (void)jarg1_; 10747 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10748 arg2 = (double)jarg2; 10749 if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2; 10750 } 10751 10752 10753 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10754 jdouble jresult = 0 ; 10755 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10756 double result; 10757 10758 (void)jenv; 10759 (void)jcls; 10760 (void)jarg1_; 10761 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10762 result = (double) ((arg1)->m_singleAxisRollingFrictionThreshold); 10763 jresult = (jdouble)result; 10764 return jresult; 10765 } 10766 10767 10768 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10769 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10770 int arg2 ; 10771 10772 (void)jenv; 10773 (void)jcls; 10774 (void)jarg1_; 10775 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10776 arg2 = (int)jarg2; 10777 if (arg1) (arg1)->m_numIterations = arg2; 10778 } 10779 10780 10781 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10782 jint jresult = 0 ; 10783 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10784 int result; 10785 10786 (void)jenv; 10787 (void)jcls; 10788 (void)jarg1_; 10789 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10790 result = (int) ((arg1)->m_numIterations); 10791 jresult = (jint)result; 10792 return jresult; 10793 } 10794 10795 10796 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10797 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10798 int arg2 ; 10799 10800 (void)jenv; 10801 (void)jcls; 10802 (void)jarg1_; 10803 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10804 arg2 = (int)jarg2; 10805 if (arg1) (arg1)->m_solverMode = arg2; 10806 } 10807 10808 10809 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10810 jint jresult = 0 ; 10811 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10812 int result; 10813 10814 (void)jenv; 10815 (void)jcls; 10816 (void)jarg1_; 10817 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10818 result = (int) ((arg1)->m_solverMode); 10819 jresult = (jint)result; 10820 return jresult; 10821 } 10822 10823 10824 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10825 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10826 int arg2 ; 10827 10828 (void)jenv; 10829 (void)jcls; 10830 (void)jarg1_; 10831 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10832 arg2 = (int)jarg2; 10833 if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2; 10834 } 10835 10836 10837 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10838 jint jresult = 0 ; 10839 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10840 int result; 10841 10842 (void)jenv; 10843 (void)jcls; 10844 (void)jarg1_; 10845 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10846 result = (int) ((arg1)->m_restingContactRestitutionThreshold); 10847 jresult = (jint)result; 10848 return jresult; 10849 } 10850 10851 10852 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10853 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10854 int arg2 ; 10855 10856 (void)jenv; 10857 (void)jcls; 10858 (void)jarg1_; 10859 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10860 arg2 = (int)jarg2; 10861 if (arg1) (arg1)->m_minimumSolverBatchSize = arg2; 10862 } 10863 10864 10865 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10866 jint jresult = 0 ; 10867 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10868 int result; 10869 10870 (void)jenv; 10871 (void)jcls; 10872 (void)jarg1_; 10873 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10874 result = (int) ((arg1)->m_minimumSolverBatchSize); 10875 jresult = (jint)result; 10876 return jresult; 10877 } 10878 10879 10880 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 10881 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10882 int arg2 ; 10883 10884 (void)jenv; 10885 (void)jcls; 10886 (void)jarg1_; 10887 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10888 arg2 = (int)jarg2; 10889 if (arg1) (arg1)->m_splitImpulse = arg2; 10890 } 10891 10892 10893 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10894 jint jresult = 0 ; 10895 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10896 int result; 10897 10898 (void)jenv; 10899 (void)jcls; 10900 (void)jarg1_; 10901 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10902 result = (int) ((arg1)->m_splitImpulse); 10903 jresult = (jint)result; 10904 return jresult; 10905 } 10906 10907 10908 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 10909 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10910 char *arg2 ; 10911 10912 (void)jenv; 10913 (void)jcls; 10914 (void)jarg1_; 10915 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10916 arg2 = 0; 10917 if (jarg2) { 10918 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 10919 if (!arg2) return ; 10920 } 10921 { 10922 if(arg2) { 10923 strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1); 10924 arg1->m_padding[4-1] = 0; 10925 } else { 10926 arg1->m_padding[0] = 0; 10927 } 10928 } 10929 10930 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 10931 } 10932 10933 10934 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoDoubleData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10935 jstring jresult = 0 ; 10936 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10937 char *result = 0 ; 10938 10939 (void)jenv; 10940 (void)jcls; 10941 (void)jarg1_; 10942 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10943 result = (char *)(char *) ((arg1)->m_padding); 10944 if (result) jresult = jenv->NewStringUTF((const char *)result); 10945 return jresult; 10946 } 10947 10948 10949 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoDoubleData(JNIEnv *jenv, jclass jcls) { 10950 jlong jresult = 0 ; 10951 btContactSolverInfoDoubleData *result = 0 ; 10952 10953 (void)jenv; 10954 (void)jcls; 10955 result = (btContactSolverInfoDoubleData *)new btContactSolverInfoDoubleData(); 10956 *(btContactSolverInfoDoubleData **)&jresult = result; 10957 return jresult; 10958 } 10959 10960 10961 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 10962 btContactSolverInfoDoubleData *arg1 = (btContactSolverInfoDoubleData *) 0 ; 10963 10964 (void)jenv; 10965 (void)jcls; 10966 arg1 = *(btContactSolverInfoDoubleData **)&jarg1; 10967 delete arg1; 10968 } 10969 10970 10971 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 10972 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 10973 float arg2 ; 10974 10975 (void)jenv; 10976 (void)jcls; 10977 (void)jarg1_; 10978 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 10979 arg2 = (float)jarg2; 10980 if (arg1) (arg1)->m_tau = arg2; 10981 } 10982 10983 10984 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 10985 jfloat jresult = 0 ; 10986 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 10987 float result; 10988 10989 (void)jenv; 10990 (void)jcls; 10991 (void)jarg1_; 10992 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 10993 result = (float) ((arg1)->m_tau); 10994 jresult = (jfloat)result; 10995 return jresult; 10996 } 10997 10998 10999 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11000 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11001 float arg2 ; 11002 11003 (void)jenv; 11004 (void)jcls; 11005 (void)jarg1_; 11006 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11007 arg2 = (float)jarg2; 11008 if (arg1) (arg1)->m_damping = arg2; 11009 } 11010 11011 11012 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11013 jfloat jresult = 0 ; 11014 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11015 float result; 11016 11017 (void)jenv; 11018 (void)jcls; 11019 (void)jarg1_; 11020 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11021 result = (float) ((arg1)->m_damping); 11022 jresult = (jfloat)result; 11023 return jresult; 11024 } 11025 11026 11027 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11028 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11029 float arg2 ; 11030 11031 (void)jenv; 11032 (void)jcls; 11033 (void)jarg1_; 11034 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11035 arg2 = (float)jarg2; 11036 if (arg1) (arg1)->m_friction = arg2; 11037 } 11038 11039 11040 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11041 jfloat jresult = 0 ; 11042 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11043 float result; 11044 11045 (void)jenv; 11046 (void)jcls; 11047 (void)jarg1_; 11048 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11049 result = (float) ((arg1)->m_friction); 11050 jresult = (jfloat)result; 11051 return jresult; 11052 } 11053 11054 11055 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1timeStep_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11056 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11057 float arg2 ; 11058 11059 (void)jenv; 11060 (void)jcls; 11061 (void)jarg1_; 11062 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11063 arg2 = (float)jarg2; 11064 if (arg1) (arg1)->m_timeStep = arg2; 11065 } 11066 11067 11068 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1timeStep_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11069 jfloat jresult = 0 ; 11070 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11071 float result; 11072 11073 (void)jenv; 11074 (void)jcls; 11075 (void)jarg1_; 11076 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11077 result = (float) ((arg1)->m_timeStep); 11078 jresult = (jfloat)result; 11079 return jresult; 11080 } 11081 11082 11083 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11084 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11085 float arg2 ; 11086 11087 (void)jenv; 11088 (void)jcls; 11089 (void)jarg1_; 11090 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11091 arg2 = (float)jarg2; 11092 if (arg1) (arg1)->m_restitution = arg2; 11093 } 11094 11095 11096 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11097 jfloat jresult = 0 ; 11098 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11099 float result; 11100 11101 (void)jenv; 11102 (void)jcls; 11103 (void)jarg1_; 11104 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11105 result = (float) ((arg1)->m_restitution); 11106 jresult = (jfloat)result; 11107 return jresult; 11108 } 11109 11110 11111 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxErrorReduction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11112 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11113 float arg2 ; 11114 11115 (void)jenv; 11116 (void)jcls; 11117 (void)jarg1_; 11118 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11119 arg2 = (float)jarg2; 11120 if (arg1) (arg1)->m_maxErrorReduction = arg2; 11121 } 11122 11123 11124 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxErrorReduction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11125 jfloat jresult = 0 ; 11126 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11127 float result; 11128 11129 (void)jenv; 11130 (void)jcls; 11131 (void)jarg1_; 11132 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11133 result = (float) ((arg1)->m_maxErrorReduction); 11134 jresult = (jfloat)result; 11135 return jresult; 11136 } 11137 11138 11139 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1sor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11140 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11141 float arg2 ; 11142 11143 (void)jenv; 11144 (void)jcls; 11145 (void)jarg1_; 11146 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11147 arg2 = (float)jarg2; 11148 if (arg1) (arg1)->m_sor = arg2; 11149 } 11150 11151 11152 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1sor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11153 jfloat jresult = 0 ; 11154 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11155 float result; 11156 11157 (void)jenv; 11158 (void)jcls; 11159 (void)jarg1_; 11160 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11161 result = (float) ((arg1)->m_sor); 11162 jresult = (jfloat)result; 11163 return jresult; 11164 } 11165 11166 11167 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11168 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11169 float arg2 ; 11170 11171 (void)jenv; 11172 (void)jcls; 11173 (void)jarg1_; 11174 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11175 arg2 = (float)jarg2; 11176 if (arg1) (arg1)->m_erp = arg2; 11177 } 11178 11179 11180 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11181 jfloat jresult = 0 ; 11182 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11183 float result; 11184 11185 (void)jenv; 11186 (void)jcls; 11187 (void)jarg1_; 11188 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11189 result = (float) ((arg1)->m_erp); 11190 jresult = (jfloat)result; 11191 return jresult; 11192 } 11193 11194 11195 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11196 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11197 float arg2 ; 11198 11199 (void)jenv; 11200 (void)jcls; 11201 (void)jarg1_; 11202 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11203 arg2 = (float)jarg2; 11204 if (arg1) (arg1)->m_erp2 = arg2; 11205 } 11206 11207 11208 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1erp2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11209 jfloat jresult = 0 ; 11210 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11211 float result; 11212 11213 (void)jenv; 11214 (void)jcls; 11215 (void)jarg1_; 11216 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11217 result = (float) ((arg1)->m_erp2); 11218 jresult = (jfloat)result; 11219 return jresult; 11220 } 11221 11222 11223 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1globalCfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11224 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11225 float arg2 ; 11226 11227 (void)jenv; 11228 (void)jcls; 11229 (void)jarg1_; 11230 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11231 arg2 = (float)jarg2; 11232 if (arg1) (arg1)->m_globalCfm = arg2; 11233 } 11234 11235 11236 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1globalCfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11237 jfloat jresult = 0 ; 11238 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11239 float result; 11240 11241 (void)jenv; 11242 (void)jcls; 11243 (void)jarg1_; 11244 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11245 result = (float) ((arg1)->m_globalCfm); 11246 jresult = (jfloat)result; 11247 return jresult; 11248 } 11249 11250 11251 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulsePenetrationThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11252 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11253 float arg2 ; 11254 11255 (void)jenv; 11256 (void)jcls; 11257 (void)jarg1_; 11258 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11259 arg2 = (float)jarg2; 11260 if (arg1) (arg1)->m_splitImpulsePenetrationThreshold = arg2; 11261 } 11262 11263 11264 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulsePenetrationThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11265 jfloat jresult = 0 ; 11266 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11267 float result; 11268 11269 (void)jenv; 11270 (void)jcls; 11271 (void)jarg1_; 11272 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11273 result = (float) ((arg1)->m_splitImpulsePenetrationThreshold); 11274 jresult = (jfloat)result; 11275 return jresult; 11276 } 11277 11278 11279 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulseTurnErp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11280 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11281 float arg2 ; 11282 11283 (void)jenv; 11284 (void)jcls; 11285 (void)jarg1_; 11286 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11287 arg2 = (float)jarg2; 11288 if (arg1) (arg1)->m_splitImpulseTurnErp = arg2; 11289 } 11290 11291 11292 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulseTurnErp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11293 jfloat jresult = 0 ; 11294 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11295 float result; 11296 11297 (void)jenv; 11298 (void)jcls; 11299 (void)jarg1_; 11300 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11301 result = (float) ((arg1)->m_splitImpulseTurnErp); 11302 jresult = (jfloat)result; 11303 return jresult; 11304 } 11305 11306 11307 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1linearSlop_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11308 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11309 float arg2 ; 11310 11311 (void)jenv; 11312 (void)jcls; 11313 (void)jarg1_; 11314 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11315 arg2 = (float)jarg2; 11316 if (arg1) (arg1)->m_linearSlop = arg2; 11317 } 11318 11319 11320 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1linearSlop_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11321 jfloat jresult = 0 ; 11322 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11323 float result; 11324 11325 (void)jenv; 11326 (void)jcls; 11327 (void)jarg1_; 11328 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11329 result = (float) ((arg1)->m_linearSlop); 11330 jresult = (jfloat)result; 11331 return jresult; 11332 } 11333 11334 11335 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1warmstartingFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11336 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11337 float arg2 ; 11338 11339 (void)jenv; 11340 (void)jcls; 11341 (void)jarg1_; 11342 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11343 arg2 = (float)jarg2; 11344 if (arg1) (arg1)->m_warmstartingFactor = arg2; 11345 } 11346 11347 11348 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1warmstartingFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11349 jfloat jresult = 0 ; 11350 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11351 float result; 11352 11353 (void)jenv; 11354 (void)jcls; 11355 (void)jarg1_; 11356 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11357 result = (float) ((arg1)->m_warmstartingFactor); 11358 jresult = (jfloat)result; 11359 return jresult; 11360 } 11361 11362 11363 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxGyroscopicForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11364 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11365 float arg2 ; 11366 11367 (void)jenv; 11368 (void)jcls; 11369 (void)jarg1_; 11370 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11371 arg2 = (float)jarg2; 11372 if (arg1) (arg1)->m_maxGyroscopicForce = arg2; 11373 } 11374 11375 11376 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1maxGyroscopicForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11377 jfloat jresult = 0 ; 11378 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11379 float result; 11380 11381 (void)jenv; 11382 (void)jcls; 11383 (void)jarg1_; 11384 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11385 result = (float) ((arg1)->m_maxGyroscopicForce); 11386 jresult = (jfloat)result; 11387 return jresult; 11388 } 11389 11390 11391 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1singleAxisRollingFrictionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 11392 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11393 float arg2 ; 11394 11395 (void)jenv; 11396 (void)jcls; 11397 (void)jarg1_; 11398 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11399 arg2 = (float)jarg2; 11400 if (arg1) (arg1)->m_singleAxisRollingFrictionThreshold = arg2; 11401 } 11402 11403 11404 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1singleAxisRollingFrictionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11405 jfloat jresult = 0 ; 11406 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11407 float result; 11408 11409 (void)jenv; 11410 (void)jcls; 11411 (void)jarg1_; 11412 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11413 result = (float) ((arg1)->m_singleAxisRollingFrictionThreshold); 11414 jresult = (jfloat)result; 11415 return jresult; 11416 } 11417 11418 11419 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1numIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 11420 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11421 int arg2 ; 11422 11423 (void)jenv; 11424 (void)jcls; 11425 (void)jarg1_; 11426 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11427 arg2 = (int)jarg2; 11428 if (arg1) (arg1)->m_numIterations = arg2; 11429 } 11430 11431 11432 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1numIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11433 jint jresult = 0 ; 11434 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11435 int result; 11436 11437 (void)jenv; 11438 (void)jcls; 11439 (void)jarg1_; 11440 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11441 result = (int) ((arg1)->m_numIterations); 11442 jresult = (jint)result; 11443 return jresult; 11444 } 11445 11446 11447 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1solverMode_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 11448 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11449 int arg2 ; 11450 11451 (void)jenv; 11452 (void)jcls; 11453 (void)jarg1_; 11454 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11455 arg2 = (int)jarg2; 11456 if (arg1) (arg1)->m_solverMode = arg2; 11457 } 11458 11459 11460 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1solverMode_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11461 jint jresult = 0 ; 11462 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11463 int result; 11464 11465 (void)jenv; 11466 (void)jcls; 11467 (void)jarg1_; 11468 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11469 result = (int) ((arg1)->m_solverMode); 11470 jresult = (jint)result; 11471 return jresult; 11472 } 11473 11474 11475 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restingContactRestitutionThreshold_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 11476 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11477 int arg2 ; 11478 11479 (void)jenv; 11480 (void)jcls; 11481 (void)jarg1_; 11482 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11483 arg2 = (int)jarg2; 11484 if (arg1) (arg1)->m_restingContactRestitutionThreshold = arg2; 11485 } 11486 11487 11488 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1restingContactRestitutionThreshold_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11489 jint jresult = 0 ; 11490 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11491 int result; 11492 11493 (void)jenv; 11494 (void)jcls; 11495 (void)jarg1_; 11496 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11497 result = (int) ((arg1)->m_restingContactRestitutionThreshold); 11498 jresult = (jint)result; 11499 return jresult; 11500 } 11501 11502 11503 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1minimumSolverBatchSize_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 11504 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11505 int arg2 ; 11506 11507 (void)jenv; 11508 (void)jcls; 11509 (void)jarg1_; 11510 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11511 arg2 = (int)jarg2; 11512 if (arg1) (arg1)->m_minimumSolverBatchSize = arg2; 11513 } 11514 11515 11516 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1minimumSolverBatchSize_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11517 jint jresult = 0 ; 11518 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11519 int result; 11520 11521 (void)jenv; 11522 (void)jcls; 11523 (void)jarg1_; 11524 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11525 result = (int) ((arg1)->m_minimumSolverBatchSize); 11526 jresult = (jint)result; 11527 return jresult; 11528 } 11529 11530 11531 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 11532 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11533 int arg2 ; 11534 11535 (void)jenv; 11536 (void)jcls; 11537 (void)jarg1_; 11538 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11539 arg2 = (int)jarg2; 11540 if (arg1) (arg1)->m_splitImpulse = arg2; 11541 } 11542 11543 11544 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1splitImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11545 jint jresult = 0 ; 11546 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11547 int result; 11548 11549 (void)jenv; 11550 (void)jcls; 11551 (void)jarg1_; 11552 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11553 result = (int) ((arg1)->m_splitImpulse); 11554 jresult = (jint)result; 11555 return jresult; 11556 } 11557 11558 11559 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1padding_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 11560 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11561 char *arg2 ; 11562 11563 (void)jenv; 11564 (void)jcls; 11565 (void)jarg1_; 11566 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11567 arg2 = 0; 11568 if (jarg2) { 11569 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 11570 if (!arg2) return ; 11571 } 11572 { 11573 if(arg2) { 11574 strncpy((char*)arg1->m_padding, (const char *)arg2, 4-1); 11575 arg1->m_padding[4-1] = 0; 11576 } else { 11577 arg1->m_padding[0] = 0; 11578 } 11579 } 11580 11581 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 11582 } 11583 11584 11585 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfoFloatData_1padding_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11586 jstring jresult = 0 ; 11587 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11588 char *result = 0 ; 11589 11590 (void)jenv; 11591 (void)jcls; 11592 (void)jarg1_; 11593 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11594 result = (char *)(char *) ((arg1)->m_padding); 11595 if (result) jresult = jenv->NewStringUTF((const char *)result); 11596 return jresult; 11597 } 11598 11599 11600 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btContactSolverInfoFloatData(JNIEnv *jenv, jclass jcls) { 11601 jlong jresult = 0 ; 11602 btContactSolverInfoFloatData *result = 0 ; 11603 11604 (void)jenv; 11605 (void)jcls; 11606 result = (btContactSolverInfoFloatData *)new btContactSolverInfoFloatData(); 11607 *(btContactSolverInfoFloatData **)&jresult = result; 11608 return jresult; 11609 } 11610 11611 11612 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactSolverInfoFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 11613 btContactSolverInfoFloatData *arg1 = (btContactSolverInfoFloatData *) 0 ; 11614 11615 (void)jenv; 11616 (void)jcls; 11617 arg1 = *(btContactSolverInfoFloatData **)&jarg1; 11618 delete arg1; 11619 } 11620 11621 11622 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) { 11623 btConstraintSolver *arg1 = (btConstraintSolver *) 0 ; 11624 11625 (void)jenv; 11626 (void)jcls; 11627 arg1 = *(btConstraintSolver **)&jarg1; 11628 delete arg1; 11629 } 11630 11631 11632 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1prepareSolve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 11633 btConstraintSolver *arg1 = (btConstraintSolver *) 0 ; 11634 int arg2 ; 11635 int arg3 ; 11636 11637 (void)jenv; 11638 (void)jcls; 11639 (void)jarg1_; 11640 arg1 = *(btConstraintSolver **)&jarg1; 11641 arg2 = (int)jarg2; 11642 arg3 = (int)jarg3; 11643 (arg1)->prepareSolve(arg2,arg3); 11644 } 11645 11646 11647 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1solveGroup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jint jarg3, jlong jarg4, jint jarg5, jlong jarg6, jint jarg7, jlong jarg8, jobject jarg8_, jlong jarg9, jobject jarg9_, jlong jarg10, jobject jarg10_) { 11648 jfloat jresult = 0 ; 11649 btConstraintSolver *arg1 = (btConstraintSolver *) 0 ; 11650 btCollisionObject **arg2 = (btCollisionObject **) 0 ; 11651 int arg3 ; 11652 btPersistentManifold **arg4 = (btPersistentManifold **) 0 ; 11653 int arg5 ; 11654 btTypedConstraint **arg6 = (btTypedConstraint **) 0 ; 11655 int arg7 ; 11656 btContactSolverInfo *arg8 = 0 ; 11657 btIDebugDraw *arg9 = (btIDebugDraw *) 0 ; 11658 btDispatcher *arg10 = (btDispatcher *) 0 ; 11659 btScalar result; 11660 11661 (void)jenv; 11662 (void)jcls; 11663 (void)jarg1_; 11664 (void)jarg8_; 11665 (void)jarg9_; 11666 (void)jarg10_; 11667 arg1 = *(btConstraintSolver **)&jarg1; 11668 arg2 = *(btCollisionObject ***)&jarg2; 11669 arg3 = (int)jarg3; 11670 arg4 = *(btPersistentManifold ***)&jarg4; 11671 arg5 = (int)jarg5; 11672 arg6 = *(btTypedConstraint ***)&jarg6; 11673 arg7 = (int)jarg7; 11674 arg8 = *(btContactSolverInfo **)&jarg8; 11675 if (!arg8) { 11676 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null"); 11677 return 0; 11678 } 11679 arg9 = *(btIDebugDraw **)&jarg9; 11680 arg10 = *(btDispatcher **)&jarg10; 11681 result = (btScalar)(arg1)->solveGroup(arg2,arg3,arg4,arg5,arg6,arg7,(btContactSolverInfo const &)*arg8,arg9,arg10); 11682 jresult = (jfloat)result; 11683 return jresult; 11684 } 11685 11686 11687 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1allSolved(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { 11688 btConstraintSolver *arg1 = (btConstraintSolver *) 0 ; 11689 btContactSolverInfo *arg2 = 0 ; 11690 btIDebugDraw *arg3 = (btIDebugDraw *) 0 ; 11691 11692 (void)jenv; 11693 (void)jcls; 11694 (void)jarg1_; 11695 (void)jarg2_; 11696 (void)jarg3_; 11697 arg1 = *(btConstraintSolver **)&jarg1; 11698 arg2 = *(btContactSolverInfo **)&jarg2; 11699 if (!arg2) { 11700 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null"); 11701 return ; 11702 } 11703 arg3 = *(btIDebugDraw **)&jarg3; 11704 (arg1)->allSolved((btContactSolverInfo const &)*arg2,arg3); 11705 } 11706 11707 11708 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11709 btConstraintSolver *arg1 = (btConstraintSolver *) 0 ; 11710 11711 (void)jenv; 11712 (void)jcls; 11713 (void)jarg1_; 11714 arg1 = *(btConstraintSolver **)&jarg1; 11715 (arg1)->reset(); 11716 } 11717 11718 11719 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSolver_1getSolverType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11720 jint jresult = 0 ; 11721 btConstraintSolver *arg1 = (btConstraintSolver *) 0 ; 11722 btConstraintSolverType result; 11723 11724 (void)jenv; 11725 (void)jcls; 11726 (void)jarg1_; 11727 arg1 = *(btConstraintSolver **)&jarg1; 11728 result = (btConstraintSolverType)((btConstraintSolver const *)arg1)->getSolverType(); 11729 jresult = (jint)result; 11730 return jresult; 11731 } 11732 11733 11734 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSequentialImpulseConstraintSolver(JNIEnv *jenv, jclass jcls) { 11735 jlong jresult = 0 ; 11736 btSequentialImpulseConstraintSolver *result = 0 ; 11737 11738 (void)jenv; 11739 (void)jcls; 11740 result = (btSequentialImpulseConstraintSolver *)new btSequentialImpulseConstraintSolver(); 11741 *(btSequentialImpulseConstraintSolver **)&jresult = result; 11742 return jresult; 11743 } 11744 11745 11746 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSequentialImpulseConstraintSolver(JNIEnv *jenv, jclass jcls, jlong jarg1) { 11747 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11748 11749 (void)jenv; 11750 (void)jcls; 11751 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11752 delete arg1; 11753 } 11754 11755 11756 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1btRand2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11757 jlong jresult = 0 ; 11758 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11759 unsigned long result; 11760 11761 (void)jenv; 11762 (void)jcls; 11763 (void)jarg1_; 11764 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11765 result = (unsigned long)(arg1)->btRand2(); 11766 jresult = (jlong)result; 11767 return jresult; 11768 } 11769 11770 11771 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1btRandInt2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 11772 jint jresult = 0 ; 11773 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11774 int arg2 ; 11775 int result; 11776 11777 (void)jenv; 11778 (void)jcls; 11779 (void)jarg1_; 11780 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11781 arg2 = (int)jarg2; 11782 result = (int)(arg1)->btRandInt2(arg2); 11783 jresult = (jint)result; 11784 return jresult; 11785 } 11786 11787 11788 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setRandSeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 11789 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11790 unsigned long arg2 ; 11791 11792 (void)jenv; 11793 (void)jcls; 11794 (void)jarg1_; 11795 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11796 arg2 = (unsigned long)jarg2; 11797 (arg1)->setRandSeed(arg2); 11798 } 11799 11800 11801 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getRandSeed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11802 jlong jresult = 0 ; 11803 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11804 unsigned long result; 11805 11806 (void)jenv; 11807 (void)jcls; 11808 (void)jarg1_; 11809 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11810 result = (unsigned long)((btSequentialImpulseConstraintSolver const *)arg1)->getRandSeed(); 11811 jresult = (jlong)result; 11812 return jresult; 11813 } 11814 11815 11816 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getActiveConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11817 jlong jresult = 0 ; 11818 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11819 btSingleConstraintRowSolver result; 11820 11821 (void)jenv; 11822 (void)jcls; 11823 (void)jarg1_; 11824 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11825 result = (btSingleConstraintRowSolver)(arg1)->getActiveConstraintRowSolverGeneric(); 11826 *(btSingleConstraintRowSolver *)&jresult = result; 11827 return jresult; 11828 } 11829 11830 11831 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 11832 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11833 btSingleConstraintRowSolver arg2 = (btSingleConstraintRowSolver) 0 ; 11834 11835 (void)jenv; 11836 (void)jcls; 11837 (void)jarg1_; 11838 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11839 arg2 = *(btSingleConstraintRowSolver *)&jarg2; 11840 (arg1)->setConstraintRowSolverGeneric(arg2); 11841 } 11842 11843 11844 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getActiveConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11845 jlong jresult = 0 ; 11846 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11847 btSingleConstraintRowSolver result; 11848 11849 (void)jenv; 11850 (void)jcls; 11851 (void)jarg1_; 11852 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11853 result = (btSingleConstraintRowSolver)(arg1)->getActiveConstraintRowSolverLowerLimit(); 11854 *(btSingleConstraintRowSolver *)&jresult = result; 11855 return jresult; 11856 } 11857 11858 11859 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1setConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 11860 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11861 btSingleConstraintRowSolver arg2 = (btSingleConstraintRowSolver) 0 ; 11862 11863 (void)jenv; 11864 (void)jcls; 11865 (void)jarg1_; 11866 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11867 arg2 = *(btSingleConstraintRowSolver *)&jarg2; 11868 (arg1)->setConstraintRowSolverLowerLimit(arg2); 11869 } 11870 11871 11872 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getScalarConstraintRowSolverGeneric(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11873 jlong jresult = 0 ; 11874 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11875 btSingleConstraintRowSolver result; 11876 11877 (void)jenv; 11878 (void)jcls; 11879 (void)jarg1_; 11880 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11881 result = (btSingleConstraintRowSolver)(arg1)->getScalarConstraintRowSolverGeneric(); 11882 *(btSingleConstraintRowSolver *)&jresult = result; 11883 return jresult; 11884 } 11885 11886 11887 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1getScalarConstraintRowSolverLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11888 jlong jresult = 0 ; 11889 btSequentialImpulseConstraintSolver *arg1 = (btSequentialImpulseConstraintSolver *) 0 ; 11890 btSingleConstraintRowSolver result; 11891 11892 (void)jenv; 11893 (void)jcls; 11894 (void)jarg1_; 11895 arg1 = *(btSequentialImpulseConstraintSolver **)&jarg1; 11896 result = (btSingleConstraintRowSolver)(arg1)->getScalarConstraintRowSolverLowerLimit(); 11897 *(btSingleConstraintRowSolver *)&jresult = result; 11898 return jresult; 11899 } 11900 11901 11902 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 11903 btSolverBody *arg1 = (btSolverBody *) 0 ; 11904 btTransform *arg2 = (btTransform *) 0 ; 11905 11906 (void)jenv; 11907 (void)jcls; 11908 (void)jarg1_; 11909 (void)jarg2_; 11910 arg1 = *(btSolverBody **)&jarg1; 11911 arg2 = *(btTransform **)&jarg2; 11912 if (arg1) (arg1)->m_worldTransform = *arg2; 11913 } 11914 11915 11916 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11917 jlong jresult = 0 ; 11918 btSolverBody *arg1 = (btSolverBody *) 0 ; 11919 btTransform *result = 0 ; 11920 11921 (void)jenv; 11922 (void)jcls; 11923 (void)jarg1_; 11924 arg1 = *(btSolverBody **)&jarg1; 11925 result = (btTransform *)& ((arg1)->m_worldTransform); 11926 *(btTransform **)&jresult = result; 11927 return jresult; 11928 } 11929 11930 11931 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaLinearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 11932 btSolverBody *arg1 = (btSolverBody *) 0 ; 11933 btVector3 *arg2 = (btVector3 *) 0 ; 11934 11935 (void)jenv; 11936 (void)jcls; 11937 (void)jarg1_; 11938 (void)jarg2_; 11939 arg1 = *(btSolverBody **)&jarg1; 11940 arg2 = *(btVector3 **)&jarg2; 11941 if (arg1) (arg1)->m_deltaLinearVelocity = *arg2; 11942 } 11943 11944 11945 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaLinearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11946 jlong jresult = 0 ; 11947 btSolverBody *arg1 = (btSolverBody *) 0 ; 11948 btVector3 *result = 0 ; 11949 11950 (void)jenv; 11951 (void)jcls; 11952 (void)jarg1_; 11953 arg1 = *(btSolverBody **)&jarg1; 11954 result = (btVector3 *)& ((arg1)->m_deltaLinearVelocity); 11955 *(btVector3 **)&jresult = result; 11956 return jresult; 11957 } 11958 11959 11960 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaAngularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 11961 btSolverBody *arg1 = (btSolverBody *) 0 ; 11962 btVector3 *arg2 = (btVector3 *) 0 ; 11963 11964 (void)jenv; 11965 (void)jcls; 11966 (void)jarg1_; 11967 (void)jarg2_; 11968 arg1 = *(btSolverBody **)&jarg1; 11969 arg2 = *(btVector3 **)&jarg2; 11970 if (arg1) (arg1)->m_deltaAngularVelocity = *arg2; 11971 } 11972 11973 11974 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1deltaAngularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 11975 jlong jresult = 0 ; 11976 btSolverBody *arg1 = (btSolverBody *) 0 ; 11977 btVector3 *result = 0 ; 11978 11979 (void)jenv; 11980 (void)jcls; 11981 (void)jarg1_; 11982 arg1 = *(btSolverBody **)&jarg1; 11983 result = (btVector3 *)& ((arg1)->m_deltaAngularVelocity); 11984 *(btVector3 **)&jresult = result; 11985 return jresult; 11986 } 11987 11988 11989 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 11990 btSolverBody *arg1 = (btSolverBody *) 0 ; 11991 btVector3 *arg2 = (btVector3 *) 0 ; 11992 11993 (void)jenv; 11994 (void)jcls; 11995 (void)jarg1_; 11996 (void)jarg2_; 11997 arg1 = *(btSolverBody **)&jarg1; 11998 arg2 = *(btVector3 **)&jarg2; 11999 if (arg1) (arg1)->m_angularFactor = *arg2; 12000 } 12001 12002 12003 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12004 jlong jresult = 0 ; 12005 btSolverBody *arg1 = (btSolverBody *) 0 ; 12006 btVector3 *result = 0 ; 12007 12008 (void)jenv; 12009 (void)jcls; 12010 (void)jarg1_; 12011 arg1 = *(btSolverBody **)&jarg1; 12012 result = (btVector3 *)& ((arg1)->m_angularFactor); 12013 *(btVector3 **)&jresult = result; 12014 return jresult; 12015 } 12016 12017 12018 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12019 btSolverBody *arg1 = (btSolverBody *) 0 ; 12020 btVector3 *arg2 = (btVector3 *) 0 ; 12021 12022 (void)jenv; 12023 (void)jcls; 12024 (void)jarg1_; 12025 (void)jarg2_; 12026 arg1 = *(btSolverBody **)&jarg1; 12027 arg2 = *(btVector3 **)&jarg2; 12028 if (arg1) (arg1)->m_linearFactor = *arg2; 12029 } 12030 12031 12032 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12033 jlong jresult = 0 ; 12034 btSolverBody *arg1 = (btSolverBody *) 0 ; 12035 btVector3 *result = 0 ; 12036 12037 (void)jenv; 12038 (void)jcls; 12039 (void)jarg1_; 12040 arg1 = *(btSolverBody **)&jarg1; 12041 result = (btVector3 *)& ((arg1)->m_linearFactor); 12042 *(btVector3 **)&jresult = result; 12043 return jresult; 12044 } 12045 12046 12047 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1invMass_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12048 btSolverBody *arg1 = (btSolverBody *) 0 ; 12049 btVector3 *arg2 = (btVector3 *) 0 ; 12050 12051 (void)jenv; 12052 (void)jcls; 12053 (void)jarg1_; 12054 (void)jarg2_; 12055 arg1 = *(btSolverBody **)&jarg1; 12056 arg2 = *(btVector3 **)&jarg2; 12057 if (arg1) (arg1)->m_invMass = *arg2; 12058 } 12059 12060 12061 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1invMass_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12062 jlong jresult = 0 ; 12063 btSolverBody *arg1 = (btSolverBody *) 0 ; 12064 btVector3 *result = 0 ; 12065 12066 (void)jenv; 12067 (void)jcls; 12068 (void)jarg1_; 12069 arg1 = *(btSolverBody **)&jarg1; 12070 result = (btVector3 *)& ((arg1)->m_invMass); 12071 *(btVector3 **)&jresult = result; 12072 return jresult; 12073 } 12074 12075 12076 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1pushVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12077 btSolverBody *arg1 = (btSolverBody *) 0 ; 12078 btVector3 *arg2 = (btVector3 *) 0 ; 12079 12080 (void)jenv; 12081 (void)jcls; 12082 (void)jarg1_; 12083 (void)jarg2_; 12084 arg1 = *(btSolverBody **)&jarg1; 12085 arg2 = *(btVector3 **)&jarg2; 12086 if (arg1) (arg1)->m_pushVelocity = *arg2; 12087 } 12088 12089 12090 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1pushVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12091 jlong jresult = 0 ; 12092 btSolverBody *arg1 = (btSolverBody *) 0 ; 12093 btVector3 *result = 0 ; 12094 12095 (void)jenv; 12096 (void)jcls; 12097 (void)jarg1_; 12098 arg1 = *(btSolverBody **)&jarg1; 12099 result = (btVector3 *)& ((arg1)->m_pushVelocity); 12100 *(btVector3 **)&jresult = result; 12101 return jresult; 12102 } 12103 12104 12105 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1turnVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12106 btSolverBody *arg1 = (btSolverBody *) 0 ; 12107 btVector3 *arg2 = (btVector3 *) 0 ; 12108 12109 (void)jenv; 12110 (void)jcls; 12111 (void)jarg1_; 12112 (void)jarg2_; 12113 arg1 = *(btSolverBody **)&jarg1; 12114 arg2 = *(btVector3 **)&jarg2; 12115 if (arg1) (arg1)->m_turnVelocity = *arg2; 12116 } 12117 12118 12119 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1turnVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12120 jlong jresult = 0 ; 12121 btSolverBody *arg1 = (btSolverBody *) 0 ; 12122 btVector3 *result = 0 ; 12123 12124 (void)jenv; 12125 (void)jcls; 12126 (void)jarg1_; 12127 arg1 = *(btSolverBody **)&jarg1; 12128 result = (btVector3 *)& ((arg1)->m_turnVelocity); 12129 *(btVector3 **)&jresult = result; 12130 return jresult; 12131 } 12132 12133 12134 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12135 btSolverBody *arg1 = (btSolverBody *) 0 ; 12136 btVector3 *arg2 = (btVector3 *) 0 ; 12137 12138 (void)jenv; 12139 (void)jcls; 12140 (void)jarg1_; 12141 (void)jarg2_; 12142 arg1 = *(btSolverBody **)&jarg1; 12143 arg2 = *(btVector3 **)&jarg2; 12144 if (arg1) (arg1)->m_linearVelocity = *arg2; 12145 } 12146 12147 12148 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1linearVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12149 jlong jresult = 0 ; 12150 btSolverBody *arg1 = (btSolverBody *) 0 ; 12151 btVector3 *result = 0 ; 12152 12153 (void)jenv; 12154 (void)jcls; 12155 (void)jarg1_; 12156 arg1 = *(btSolverBody **)&jarg1; 12157 result = (btVector3 *)& ((arg1)->m_linearVelocity); 12158 *(btVector3 **)&jresult = result; 12159 return jresult; 12160 } 12161 12162 12163 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12164 btSolverBody *arg1 = (btSolverBody *) 0 ; 12165 btVector3 *arg2 = (btVector3 *) 0 ; 12166 12167 (void)jenv; 12168 (void)jcls; 12169 (void)jarg1_; 12170 (void)jarg2_; 12171 arg1 = *(btSolverBody **)&jarg1; 12172 arg2 = *(btVector3 **)&jarg2; 12173 if (arg1) (arg1)->m_angularVelocity = *arg2; 12174 } 12175 12176 12177 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1angularVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12178 jlong jresult = 0 ; 12179 btSolverBody *arg1 = (btSolverBody *) 0 ; 12180 btVector3 *result = 0 ; 12181 12182 (void)jenv; 12183 (void)jcls; 12184 (void)jarg1_; 12185 arg1 = *(btSolverBody **)&jarg1; 12186 result = (btVector3 *)& ((arg1)->m_angularVelocity); 12187 *(btVector3 **)&jresult = result; 12188 return jresult; 12189 } 12190 12191 12192 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalForceImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12193 btSolverBody *arg1 = (btSolverBody *) 0 ; 12194 btVector3 *arg2 = (btVector3 *) 0 ; 12195 12196 (void)jenv; 12197 (void)jcls; 12198 (void)jarg1_; 12199 (void)jarg2_; 12200 arg1 = *(btSolverBody **)&jarg1; 12201 arg2 = *(btVector3 **)&jarg2; 12202 if (arg1) (arg1)->m_externalForceImpulse = *arg2; 12203 } 12204 12205 12206 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalForceImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12207 jlong jresult = 0 ; 12208 btSolverBody *arg1 = (btSolverBody *) 0 ; 12209 btVector3 *result = 0 ; 12210 12211 (void)jenv; 12212 (void)jcls; 12213 (void)jarg1_; 12214 arg1 = *(btSolverBody **)&jarg1; 12215 result = (btVector3 *)& ((arg1)->m_externalForceImpulse); 12216 *(btVector3 **)&jresult = result; 12217 return jresult; 12218 } 12219 12220 12221 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalTorqueImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12222 btSolverBody *arg1 = (btSolverBody *) 0 ; 12223 btVector3 *arg2 = (btVector3 *) 0 ; 12224 12225 (void)jenv; 12226 (void)jcls; 12227 (void)jarg1_; 12228 (void)jarg2_; 12229 arg1 = *(btSolverBody **)&jarg1; 12230 arg2 = *(btVector3 **)&jarg2; 12231 if (arg1) (arg1)->m_externalTorqueImpulse = *arg2; 12232 } 12233 12234 12235 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1externalTorqueImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12236 jlong jresult = 0 ; 12237 btSolverBody *arg1 = (btSolverBody *) 0 ; 12238 btVector3 *result = 0 ; 12239 12240 (void)jenv; 12241 (void)jcls; 12242 (void)jarg1_; 12243 arg1 = *(btSolverBody **)&jarg1; 12244 result = (btVector3 *)& ((arg1)->m_externalTorqueImpulse); 12245 *(btVector3 **)&jresult = result; 12246 return jresult; 12247 } 12248 12249 12250 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1originalBody_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12251 btSolverBody *arg1 = (btSolverBody *) 0 ; 12252 btRigidBody *arg2 = (btRigidBody *) 0 ; 12253 12254 (void)jenv; 12255 (void)jcls; 12256 (void)jarg1_; 12257 (void)jarg2_; 12258 arg1 = *(btSolverBody **)&jarg1; 12259 arg2 = *(btRigidBody **)&jarg2; 12260 if (arg1) (arg1)->m_originalBody = arg2; 12261 } 12262 12263 12264 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1originalBody_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12265 jlong jresult = 0 ; 12266 btSolverBody *arg1 = (btSolverBody *) 0 ; 12267 btRigidBody *result = 0 ; 12268 12269 (void)jenv; 12270 (void)jcls; 12271 (void)jarg1_; 12272 arg1 = *(btSolverBody **)&jarg1; 12273 result = (btRigidBody *) ((arg1)->m_originalBody); 12274 *(btRigidBody **)&jresult = result; 12275 return jresult; 12276 } 12277 12278 12279 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getVelocityInLocalPointNoDelta(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 12280 btSolverBody *arg1 = (btSolverBody *) 0 ; 12281 btVector3 *arg2 = 0 ; 12282 btVector3 *arg3 = 0 ; 12283 12284 (void)jenv; 12285 (void)jcls; 12286 (void)jarg1_; 12287 arg1 = *(btSolverBody **)&jarg1; 12288 btVector3 local_arg2; 12289 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12290 arg2 = &local_arg2; 12291 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12292 btVector3 local_arg3; 12293 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 12294 arg3 = &local_arg3; 12295 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 12296 ((btSolverBody const *)arg1)->getVelocityInLocalPointNoDelta((btVector3 const &)*arg2,*arg3); 12297 } 12298 12299 12300 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getVelocityInLocalPointObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 12301 btSolverBody *arg1 = (btSolverBody *) 0 ; 12302 btVector3 *arg2 = 0 ; 12303 btVector3 *arg3 = 0 ; 12304 12305 (void)jenv; 12306 (void)jcls; 12307 (void)jarg1_; 12308 arg1 = *(btSolverBody **)&jarg1; 12309 btVector3 local_arg2; 12310 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12311 arg2 = &local_arg2; 12312 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12313 btVector3 local_arg3; 12314 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 12315 arg3 = &local_arg3; 12316 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 12317 ((btSolverBody const *)arg1)->getVelocityInLocalPointObsolete((btVector3 const &)*arg2,*arg3); 12318 } 12319 12320 12321 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1getAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 12322 btSolverBody *arg1 = (btSolverBody *) 0 ; 12323 btVector3 *arg2 = 0 ; 12324 12325 (void)jenv; 12326 (void)jcls; 12327 (void)jarg1_; 12328 arg1 = *(btSolverBody **)&jarg1; 12329 btVector3 local_arg2; 12330 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12331 arg2 = &local_arg2; 12332 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12333 ((btSolverBody const *)arg1)->getAngularVelocity(*arg2); 12334 } 12335 12336 12337 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1applyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) { 12338 btSolverBody *arg1 = (btSolverBody *) 0 ; 12339 btVector3 *arg2 = 0 ; 12340 btVector3 *arg3 = 0 ; 12341 btScalar arg4 ; 12342 12343 (void)jenv; 12344 (void)jcls; 12345 (void)jarg1_; 12346 arg1 = *(btSolverBody **)&jarg1; 12347 btVector3 local_arg2; 12348 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12349 arg2 = &local_arg2; 12350 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12351 btVector3 local_arg3; 12352 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 12353 arg3 = &local_arg3; 12354 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 12355 arg4 = (btScalar)jarg4; 12356 (arg1)->applyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4); 12357 } 12358 12359 12360 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalApplyPushImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) { 12361 btSolverBody *arg1 = (btSolverBody *) 0 ; 12362 btVector3 *arg2 = 0 ; 12363 btVector3 *arg3 = 0 ; 12364 btScalar arg4 ; 12365 12366 (void)jenv; 12367 (void)jcls; 12368 (void)jarg1_; 12369 arg1 = *(btSolverBody **)&jarg1; 12370 btVector3 local_arg2; 12371 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12372 arg2 = &local_arg2; 12373 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12374 btVector3 local_arg3; 12375 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 12376 arg3 = &local_arg3; 12377 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 12378 arg4 = (btScalar)jarg4; 12379 (arg1)->internalApplyPushImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4); 12380 } 12381 12382 12383 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetDeltaLinearVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12384 jobject jresult = 0 ; 12385 btSolverBody *arg1 = (btSolverBody *) 0 ; 12386 btVector3 *result = 0 ; 12387 12388 (void)jenv; 12389 (void)jcls; 12390 (void)jarg1_; 12391 arg1 = *(btSolverBody **)&jarg1; 12392 result = (btVector3 *) &(arg1)->internalGetDeltaLinearVelocity(); 12393 jresult = gdx_getReturnVector3(jenv); 12394 gdx_setVector3FrombtVector3(jenv, jresult, result); 12395 return jresult; 12396 } 12397 12398 12399 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetDeltaAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12400 jobject jresult = 0 ; 12401 btSolverBody *arg1 = (btSolverBody *) 0 ; 12402 btVector3 *result = 0 ; 12403 12404 (void)jenv; 12405 (void)jcls; 12406 (void)jarg1_; 12407 arg1 = *(btSolverBody **)&jarg1; 12408 result = (btVector3 *) &(arg1)->internalGetDeltaAngularVelocity(); 12409 jresult = gdx_getReturnVector3(jenv); 12410 gdx_setVector3FrombtVector3(jenv, jresult, result); 12411 return jresult; 12412 } 12413 12414 12415 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetAngularFactor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12416 jobject jresult = 0 ; 12417 btSolverBody *arg1 = (btSolverBody *) 0 ; 12418 btVector3 *result = 0 ; 12419 12420 (void)jenv; 12421 (void)jcls; 12422 (void)jarg1_; 12423 arg1 = *(btSolverBody **)&jarg1; 12424 result = (btVector3 *) &((btSolverBody const *)arg1)->internalGetAngularFactor(); 12425 jresult = gdx_getReturnVector3(jenv); 12426 gdx_setVector3FrombtVector3(jenv, jresult, result); 12427 return jresult; 12428 } 12429 12430 12431 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12432 jobject jresult = 0 ; 12433 btSolverBody *arg1 = (btSolverBody *) 0 ; 12434 btVector3 *result = 0 ; 12435 12436 (void)jenv; 12437 (void)jcls; 12438 (void)jarg1_; 12439 arg1 = *(btSolverBody **)&jarg1; 12440 result = (btVector3 *) &((btSolverBody const *)arg1)->internalGetInvMass(); 12441 jresult = gdx_getReturnVector3(jenv); 12442 gdx_setVector3FrombtVector3(jenv, jresult, result); 12443 return jresult; 12444 } 12445 12446 12447 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalSetInvMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 12448 btSolverBody *arg1 = (btSolverBody *) 0 ; 12449 btVector3 *arg2 = 0 ; 12450 12451 (void)jenv; 12452 (void)jcls; 12453 (void)jarg1_; 12454 arg1 = *(btSolverBody **)&jarg1; 12455 btVector3 local_arg2; 12456 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12457 arg2 = &local_arg2; 12458 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12459 (arg1)->internalSetInvMass((btVector3 const &)*arg2); 12460 } 12461 12462 12463 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetPushVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12464 jobject jresult = 0 ; 12465 btSolverBody *arg1 = (btSolverBody *) 0 ; 12466 btVector3 *result = 0 ; 12467 12468 (void)jenv; 12469 (void)jcls; 12470 (void)jarg1_; 12471 arg1 = *(btSolverBody **)&jarg1; 12472 result = (btVector3 *) &(arg1)->internalGetPushVelocity(); 12473 jresult = gdx_getReturnVector3(jenv); 12474 gdx_setVector3FrombtVector3(jenv, jresult, result); 12475 return jresult; 12476 } 12477 12478 12479 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetTurnVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12480 jobject jresult = 0 ; 12481 btSolverBody *arg1 = (btSolverBody *) 0 ; 12482 btVector3 *result = 0 ; 12483 12484 (void)jenv; 12485 (void)jcls; 12486 (void)jarg1_; 12487 arg1 = *(btSolverBody **)&jarg1; 12488 result = (btVector3 *) &(arg1)->internalGetTurnVelocity(); 12489 jresult = gdx_getReturnVector3(jenv); 12490 gdx_setVector3FrombtVector3(jenv, jresult, result); 12491 return jresult; 12492 } 12493 12494 12495 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetVelocityInLocalPointObsolete(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 12496 btSolverBody *arg1 = (btSolverBody *) 0 ; 12497 btVector3 *arg2 = 0 ; 12498 btVector3 *arg3 = 0 ; 12499 12500 (void)jenv; 12501 (void)jcls; 12502 (void)jarg1_; 12503 arg1 = *(btSolverBody **)&jarg1; 12504 btVector3 local_arg2; 12505 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12506 arg2 = &local_arg2; 12507 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12508 btVector3 local_arg3; 12509 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 12510 arg3 = &local_arg3; 12511 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 12512 ((btSolverBody const *)arg1)->internalGetVelocityInLocalPointObsolete((btVector3 const &)*arg2,*arg3); 12513 } 12514 12515 12516 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalGetAngularVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 12517 btSolverBody *arg1 = (btSolverBody *) 0 ; 12518 btVector3 *arg2 = 0 ; 12519 12520 (void)jenv; 12521 (void)jcls; 12522 (void)jarg1_; 12523 arg1 = *(btSolverBody **)&jarg1; 12524 btVector3 local_arg2; 12525 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12526 arg2 = &local_arg2; 12527 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12528 ((btSolverBody const *)arg1)->internalGetAngularVelocity(*arg2); 12529 } 12530 12531 12532 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1internalApplyImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jfloat jarg4) { 12533 btSolverBody *arg1 = (btSolverBody *) 0 ; 12534 btVector3 *arg2 = 0 ; 12535 btVector3 *arg3 = 0 ; 12536 btScalar arg4 ; 12537 12538 (void)jenv; 12539 (void)jcls; 12540 (void)jarg1_; 12541 arg1 = *(btSolverBody **)&jarg1; 12542 btVector3 local_arg2; 12543 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 12544 arg2 = &local_arg2; 12545 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 12546 btVector3 local_arg3; 12547 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 12548 arg3 = &local_arg3; 12549 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 12550 arg4 = (btScalar)jarg4; 12551 (arg1)->internalApplyImpulse((btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4); 12552 } 12553 12554 12555 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1writebackVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12556 btSolverBody *arg1 = (btSolverBody *) 0 ; 12557 12558 (void)jenv; 12559 (void)jcls; 12560 (void)jarg1_; 12561 arg1 = *(btSolverBody **)&jarg1; 12562 (arg1)->writebackVelocity(); 12563 } 12564 12565 12566 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverBody_1writebackVelocityAndTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 12567 btSolverBody *arg1 = (btSolverBody *) 0 ; 12568 btScalar arg2 ; 12569 btScalar arg3 ; 12570 12571 (void)jenv; 12572 (void)jcls; 12573 (void)jarg1_; 12574 arg1 = *(btSolverBody **)&jarg1; 12575 arg2 = (btScalar)jarg2; 12576 arg3 = (btScalar)jarg3; 12577 (arg1)->writebackVelocityAndTransform(arg2,arg3); 12578 } 12579 12580 12581 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolverBody(JNIEnv *jenv, jclass jcls) { 12582 jlong jresult = 0 ; 12583 btSolverBody *result = 0 ; 12584 12585 (void)jenv; 12586 (void)jcls; 12587 result = (btSolverBody *)new btSolverBody(); 12588 *(btSolverBody **)&jresult = result; 12589 return jresult; 12590 } 12591 12592 12593 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolverBody(JNIEnv *jenv, jclass jcls, jlong jarg1) { 12594 btSolverBody *arg1 = (btSolverBody *) 0 ; 12595 12596 (void)jenv; 12597 (void)jcls; 12598 arg1 = *(btSolverBody **)&jarg1; 12599 delete arg1; 12600 } 12601 12602 12603 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) { 12604 jlong jresult = 0 ; 12605 btRigidBody *arg1 = 0 ; 12606 btRigidBody *arg2 = 0 ; 12607 btTransform *arg3 = 0 ; 12608 btTransform *arg4 = 0 ; 12609 bool arg5 ; 12610 btSliderConstraint *result = 0 ; 12611 12612 (void)jenv; 12613 (void)jcls; 12614 (void)jarg1_; 12615 (void)jarg2_; 12616 arg1 = *(btRigidBody **)&jarg1; 12617 if (!arg1) { 12618 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 12619 return 0; 12620 } 12621 arg2 = *(btRigidBody **)&jarg2; 12622 if (!arg2) { 12623 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 12624 return 0; 12625 } 12626 btTransform local_arg3; 12627 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 12628 arg3 = &local_arg3; 12629 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 12630 btTransform local_arg4; 12631 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 12632 arg4 = &local_arg4; 12633 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 12634 arg5 = jarg5 ? true : false; 12635 result = (btSliderConstraint *)new btSliderConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5); 12636 *(btSliderConstraint **)&jresult = result; 12637 return jresult; 12638 } 12639 12640 12641 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) { 12642 jlong jresult = 0 ; 12643 btRigidBody *arg1 = 0 ; 12644 btTransform *arg2 = 0 ; 12645 bool arg3 ; 12646 btSliderConstraint *result = 0 ; 12647 12648 (void)jenv; 12649 (void)jcls; 12650 (void)jarg1_; 12651 arg1 = *(btRigidBody **)&jarg1; 12652 if (!arg1) { 12653 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 12654 return 0; 12655 } 12656 btTransform local_arg2; 12657 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 12658 arg2 = &local_arg2; 12659 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 12660 arg3 = jarg3 ? true : false; 12661 result = (btSliderConstraint *)new btSliderConstraint(*arg1,(btTransform const &)*arg2,arg3); 12662 *(btSliderConstraint **)&jresult = result; 12663 return jresult; 12664 } 12665 12666 12667 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 12668 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12669 btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 12670 12671 (void)jenv; 12672 (void)jcls; 12673 (void)jarg1_; 12674 (void)jarg2_; 12675 arg1 = *(btSliderConstraint **)&jarg1; 12676 arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2; 12677 (arg1)->getInfo1NonVirtual(arg2); 12678 } 12679 12680 12681 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jfloat jarg8) { 12682 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12683 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 12684 btTransform *arg3 = 0 ; 12685 btTransform *arg4 = 0 ; 12686 btVector3 *arg5 = 0 ; 12687 btVector3 *arg6 = 0 ; 12688 btScalar arg7 ; 12689 btScalar arg8 ; 12690 12691 (void)jenv; 12692 (void)jcls; 12693 (void)jarg1_; 12694 (void)jarg2_; 12695 arg1 = *(btSliderConstraint **)&jarg1; 12696 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 12697 btTransform local_arg3; 12698 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 12699 arg3 = &local_arg3; 12700 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 12701 btTransform local_arg4; 12702 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 12703 arg4 = &local_arg4; 12704 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 12705 btVector3 local_arg5; 12706 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 12707 arg5 = &local_arg5; 12708 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 12709 btVector3 local_arg6; 12710 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 12711 arg6 = &local_arg6; 12712 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 12713 arg7 = (btScalar)jarg7; 12714 arg8 = (btScalar)jarg8; 12715 (arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7,arg8); 12716 } 12717 12718 12719 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRigidBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12720 jlong jresult = 0 ; 12721 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12722 btRigidBody *result = 0 ; 12723 12724 (void)jenv; 12725 (void)jcls; 12726 (void)jarg1_; 12727 arg1 = *(btSliderConstraint **)&jarg1; 12728 result = (btRigidBody *) &((btSliderConstraint const *)arg1)->getRigidBodyA(); 12729 *(btRigidBody **)&jresult = result; 12730 return jresult; 12731 } 12732 12733 12734 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRigidBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12735 jlong jresult = 0 ; 12736 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12737 btRigidBody *result = 0 ; 12738 12739 (void)jenv; 12740 (void)jcls; 12741 (void)jarg1_; 12742 arg1 = *(btSliderConstraint **)&jarg1; 12743 result = (btRigidBody *) &((btSliderConstraint const *)arg1)->getRigidBodyB(); 12744 *(btRigidBody **)&jresult = result; 12745 return jresult; 12746 } 12747 12748 12749 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12750 jobject jresult = 0 ; 12751 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12752 btTransform *result = 0 ; 12753 12754 (void)jenv; 12755 (void)jcls; 12756 (void)jarg1_; 12757 arg1 = *(btSliderConstraint **)&jarg1; 12758 result = (btTransform *) &((btSliderConstraint const *)arg1)->getCalculatedTransformA(); 12759 jresult = gdx_getReturnMatrix4(jenv); 12760 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 12761 return jresult; 12762 } 12763 12764 12765 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12766 jobject jresult = 0 ; 12767 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12768 btTransform *result = 0 ; 12769 12770 (void)jenv; 12771 (void)jcls; 12772 (void)jarg1_; 12773 arg1 = *(btSliderConstraint **)&jarg1; 12774 result = (btTransform *) &((btSliderConstraint const *)arg1)->getCalculatedTransformB(); 12775 jresult = gdx_getReturnMatrix4(jenv); 12776 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 12777 return jresult; 12778 } 12779 12780 12781 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetA_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12782 jobject jresult = 0 ; 12783 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12784 btTransform *result = 0 ; 12785 12786 (void)jenv; 12787 (void)jcls; 12788 (void)jarg1_; 12789 arg1 = *(btSliderConstraint **)&jarg1; 12790 result = (btTransform *) &((btSliderConstraint const *)arg1)->getFrameOffsetA(); 12791 jresult = gdx_getReturnMatrix4(jenv); 12792 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 12793 return jresult; 12794 } 12795 12796 12797 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getFrameOffsetB_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12798 jobject jresult = 0 ; 12799 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12800 btTransform *result = 0 ; 12801 12802 (void)jenv; 12803 (void)jcls; 12804 (void)jarg1_; 12805 arg1 = *(btSliderConstraint **)&jarg1; 12806 result = (btTransform *) &((btSliderConstraint const *)arg1)->getFrameOffsetB(); 12807 jresult = gdx_getReturnMatrix4(jenv); 12808 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 12809 return jresult; 12810 } 12811 12812 12813 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLowerLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12814 jfloat jresult = 0 ; 12815 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12816 btScalar result; 12817 12818 (void)jenv; 12819 (void)jcls; 12820 (void)jarg1_; 12821 arg1 = *(btSliderConstraint **)&jarg1; 12822 result = (btScalar)(arg1)->getLowerLinLimit(); 12823 jresult = (jfloat)result; 12824 return jresult; 12825 } 12826 12827 12828 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setLowerLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 12829 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12830 btScalar arg2 ; 12831 12832 (void)jenv; 12833 (void)jcls; 12834 (void)jarg1_; 12835 arg1 = *(btSliderConstraint **)&jarg1; 12836 arg2 = (btScalar)jarg2; 12837 (arg1)->setLowerLinLimit(arg2); 12838 } 12839 12840 12841 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUpperLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12842 jfloat jresult = 0 ; 12843 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12844 btScalar result; 12845 12846 (void)jenv; 12847 (void)jcls; 12848 (void)jarg1_; 12849 arg1 = *(btSliderConstraint **)&jarg1; 12850 result = (btScalar)(arg1)->getUpperLinLimit(); 12851 jresult = (jfloat)result; 12852 return jresult; 12853 } 12854 12855 12856 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUpperLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 12857 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12858 btScalar arg2 ; 12859 12860 (void)jenv; 12861 (void)jcls; 12862 (void)jarg1_; 12863 arg1 = *(btSliderConstraint **)&jarg1; 12864 arg2 = (btScalar)jarg2; 12865 (arg1)->setUpperLinLimit(arg2); 12866 } 12867 12868 12869 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLowerAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12870 jfloat jresult = 0 ; 12871 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12872 btScalar result; 12873 12874 (void)jenv; 12875 (void)jcls; 12876 (void)jarg1_; 12877 arg1 = *(btSliderConstraint **)&jarg1; 12878 result = (btScalar)(arg1)->getLowerAngLimit(); 12879 jresult = (jfloat)result; 12880 return jresult; 12881 } 12882 12883 12884 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setLowerAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 12885 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12886 btScalar arg2 ; 12887 12888 (void)jenv; 12889 (void)jcls; 12890 (void)jarg1_; 12891 arg1 = *(btSliderConstraint **)&jarg1; 12892 arg2 = (btScalar)jarg2; 12893 (arg1)->setLowerAngLimit(arg2); 12894 } 12895 12896 12897 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUpperAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12898 jfloat jresult = 0 ; 12899 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12900 btScalar result; 12901 12902 (void)jenv; 12903 (void)jcls; 12904 (void)jarg1_; 12905 arg1 = *(btSliderConstraint **)&jarg1; 12906 result = (btScalar)(arg1)->getUpperAngLimit(); 12907 jresult = (jfloat)result; 12908 return jresult; 12909 } 12910 12911 12912 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUpperAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 12913 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12914 btScalar arg2 ; 12915 12916 (void)jenv; 12917 (void)jcls; 12918 (void)jarg1_; 12919 arg1 = *(btSliderConstraint **)&jarg1; 12920 arg2 = (btScalar)jarg2; 12921 (arg1)->setUpperAngLimit(arg2); 12922 } 12923 12924 12925 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUseLinearReferenceFrameA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12926 jboolean jresult = 0 ; 12927 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12928 bool result; 12929 12930 (void)jenv; 12931 (void)jcls; 12932 (void)jarg1_; 12933 arg1 = *(btSliderConstraint **)&jarg1; 12934 result = (bool)(arg1)->getUseLinearReferenceFrameA(); 12935 jresult = (jboolean)result; 12936 return jresult; 12937 } 12938 12939 12940 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12941 jfloat jresult = 0 ; 12942 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12943 btScalar result; 12944 12945 (void)jenv; 12946 (void)jcls; 12947 (void)jarg1_; 12948 arg1 = *(btSliderConstraint **)&jarg1; 12949 result = (btScalar)(arg1)->getSoftnessDirLin(); 12950 jresult = (jfloat)result; 12951 return jresult; 12952 } 12953 12954 12955 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12956 jfloat jresult = 0 ; 12957 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12958 btScalar result; 12959 12960 (void)jenv; 12961 (void)jcls; 12962 (void)jarg1_; 12963 arg1 = *(btSliderConstraint **)&jarg1; 12964 result = (btScalar)(arg1)->getRestitutionDirLin(); 12965 jresult = (jfloat)result; 12966 return jresult; 12967 } 12968 12969 12970 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12971 jfloat jresult = 0 ; 12972 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12973 btScalar result; 12974 12975 (void)jenv; 12976 (void)jcls; 12977 (void)jarg1_; 12978 arg1 = *(btSliderConstraint **)&jarg1; 12979 result = (btScalar)(arg1)->getDampingDirLin(); 12980 jresult = (jfloat)result; 12981 return jresult; 12982 } 12983 12984 12985 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 12986 jfloat jresult = 0 ; 12987 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 12988 btScalar result; 12989 12990 (void)jenv; 12991 (void)jcls; 12992 (void)jarg1_; 12993 arg1 = *(btSliderConstraint **)&jarg1; 12994 result = (btScalar)(arg1)->getSoftnessDirAng(); 12995 jresult = (jfloat)result; 12996 return jresult; 12997 } 12998 12999 13000 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13001 jfloat jresult = 0 ; 13002 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13003 btScalar result; 13004 13005 (void)jenv; 13006 (void)jcls; 13007 (void)jarg1_; 13008 arg1 = *(btSliderConstraint **)&jarg1; 13009 result = (btScalar)(arg1)->getRestitutionDirAng(); 13010 jresult = (jfloat)result; 13011 return jresult; 13012 } 13013 13014 13015 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13016 jfloat jresult = 0 ; 13017 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13018 btScalar result; 13019 13020 (void)jenv; 13021 (void)jcls; 13022 (void)jarg1_; 13023 arg1 = *(btSliderConstraint **)&jarg1; 13024 result = (btScalar)(arg1)->getDampingDirAng(); 13025 jresult = (jfloat)result; 13026 return jresult; 13027 } 13028 13029 13030 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13031 jfloat jresult = 0 ; 13032 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13033 btScalar result; 13034 13035 (void)jenv; 13036 (void)jcls; 13037 (void)jarg1_; 13038 arg1 = *(btSliderConstraint **)&jarg1; 13039 result = (btScalar)(arg1)->getSoftnessLimLin(); 13040 jresult = (jfloat)result; 13041 return jresult; 13042 } 13043 13044 13045 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13046 jfloat jresult = 0 ; 13047 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13048 btScalar result; 13049 13050 (void)jenv; 13051 (void)jcls; 13052 (void)jarg1_; 13053 arg1 = *(btSliderConstraint **)&jarg1; 13054 result = (btScalar)(arg1)->getRestitutionLimLin(); 13055 jresult = (jfloat)result; 13056 return jresult; 13057 } 13058 13059 13060 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13061 jfloat jresult = 0 ; 13062 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13063 btScalar result; 13064 13065 (void)jenv; 13066 (void)jcls; 13067 (void)jarg1_; 13068 arg1 = *(btSliderConstraint **)&jarg1; 13069 result = (btScalar)(arg1)->getDampingLimLin(); 13070 jresult = (jfloat)result; 13071 return jresult; 13072 } 13073 13074 13075 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13076 jfloat jresult = 0 ; 13077 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13078 btScalar result; 13079 13080 (void)jenv; 13081 (void)jcls; 13082 (void)jarg1_; 13083 arg1 = *(btSliderConstraint **)&jarg1; 13084 result = (btScalar)(arg1)->getSoftnessLimAng(); 13085 jresult = (jfloat)result; 13086 return jresult; 13087 } 13088 13089 13090 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13091 jfloat jresult = 0 ; 13092 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13093 btScalar result; 13094 13095 (void)jenv; 13096 (void)jcls; 13097 (void)jarg1_; 13098 arg1 = *(btSliderConstraint **)&jarg1; 13099 result = (btScalar)(arg1)->getRestitutionLimAng(); 13100 jresult = (jfloat)result; 13101 return jresult; 13102 } 13103 13104 13105 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13106 jfloat jresult = 0 ; 13107 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13108 btScalar result; 13109 13110 (void)jenv; 13111 (void)jcls; 13112 (void)jarg1_; 13113 arg1 = *(btSliderConstraint **)&jarg1; 13114 result = (btScalar)(arg1)->getDampingLimAng(); 13115 jresult = (jfloat)result; 13116 return jresult; 13117 } 13118 13119 13120 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13121 jfloat jresult = 0 ; 13122 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13123 btScalar result; 13124 13125 (void)jenv; 13126 (void)jcls; 13127 (void)jarg1_; 13128 arg1 = *(btSliderConstraint **)&jarg1; 13129 result = (btScalar)(arg1)->getSoftnessOrthoLin(); 13130 jresult = (jfloat)result; 13131 return jresult; 13132 } 13133 13134 13135 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13136 jfloat jresult = 0 ; 13137 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13138 btScalar result; 13139 13140 (void)jenv; 13141 (void)jcls; 13142 (void)jarg1_; 13143 arg1 = *(btSliderConstraint **)&jarg1; 13144 result = (btScalar)(arg1)->getRestitutionOrthoLin(); 13145 jresult = (jfloat)result; 13146 return jresult; 13147 } 13148 13149 13150 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13151 jfloat jresult = 0 ; 13152 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13153 btScalar result; 13154 13155 (void)jenv; 13156 (void)jcls; 13157 (void)jarg1_; 13158 arg1 = *(btSliderConstraint **)&jarg1; 13159 result = (btScalar)(arg1)->getDampingOrthoLin(); 13160 jresult = (jfloat)result; 13161 return jresult; 13162 } 13163 13164 13165 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSoftnessOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13166 jfloat jresult = 0 ; 13167 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13168 btScalar result; 13169 13170 (void)jenv; 13171 (void)jcls; 13172 (void)jarg1_; 13173 arg1 = *(btSliderConstraint **)&jarg1; 13174 result = (btScalar)(arg1)->getSoftnessOrthoAng(); 13175 jresult = (jfloat)result; 13176 return jresult; 13177 } 13178 13179 13180 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getRestitutionOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13181 jfloat jresult = 0 ; 13182 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13183 btScalar result; 13184 13185 (void)jenv; 13186 (void)jcls; 13187 (void)jarg1_; 13188 arg1 = *(btSliderConstraint **)&jarg1; 13189 result = (btScalar)(arg1)->getRestitutionOrthoAng(); 13190 jresult = (jfloat)result; 13191 return jresult; 13192 } 13193 13194 13195 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getDampingOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13196 jfloat jresult = 0 ; 13197 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13198 btScalar result; 13199 13200 (void)jenv; 13201 (void)jcls; 13202 (void)jarg1_; 13203 arg1 = *(btSliderConstraint **)&jarg1; 13204 result = (btScalar)(arg1)->getDampingOrthoAng(); 13205 jresult = (jfloat)result; 13206 return jresult; 13207 } 13208 13209 13210 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13211 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13212 btScalar arg2 ; 13213 13214 (void)jenv; 13215 (void)jcls; 13216 (void)jarg1_; 13217 arg1 = *(btSliderConstraint **)&jarg1; 13218 arg2 = (btScalar)jarg2; 13219 (arg1)->setSoftnessDirLin(arg2); 13220 } 13221 13222 13223 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13224 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13225 btScalar arg2 ; 13226 13227 (void)jenv; 13228 (void)jcls; 13229 (void)jarg1_; 13230 arg1 = *(btSliderConstraint **)&jarg1; 13231 arg2 = (btScalar)jarg2; 13232 (arg1)->setRestitutionDirLin(arg2); 13233 } 13234 13235 13236 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingDirLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13237 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13238 btScalar arg2 ; 13239 13240 (void)jenv; 13241 (void)jcls; 13242 (void)jarg1_; 13243 arg1 = *(btSliderConstraint **)&jarg1; 13244 arg2 = (btScalar)jarg2; 13245 (arg1)->setDampingDirLin(arg2); 13246 } 13247 13248 13249 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13250 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13251 btScalar arg2 ; 13252 13253 (void)jenv; 13254 (void)jcls; 13255 (void)jarg1_; 13256 arg1 = *(btSliderConstraint **)&jarg1; 13257 arg2 = (btScalar)jarg2; 13258 (arg1)->setSoftnessDirAng(arg2); 13259 } 13260 13261 13262 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13263 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13264 btScalar arg2 ; 13265 13266 (void)jenv; 13267 (void)jcls; 13268 (void)jarg1_; 13269 arg1 = *(btSliderConstraint **)&jarg1; 13270 arg2 = (btScalar)jarg2; 13271 (arg1)->setRestitutionDirAng(arg2); 13272 } 13273 13274 13275 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingDirAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13276 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13277 btScalar arg2 ; 13278 13279 (void)jenv; 13280 (void)jcls; 13281 (void)jarg1_; 13282 arg1 = *(btSliderConstraint **)&jarg1; 13283 arg2 = (btScalar)jarg2; 13284 (arg1)->setDampingDirAng(arg2); 13285 } 13286 13287 13288 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13289 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13290 btScalar arg2 ; 13291 13292 (void)jenv; 13293 (void)jcls; 13294 (void)jarg1_; 13295 arg1 = *(btSliderConstraint **)&jarg1; 13296 arg2 = (btScalar)jarg2; 13297 (arg1)->setSoftnessLimLin(arg2); 13298 } 13299 13300 13301 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13302 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13303 btScalar arg2 ; 13304 13305 (void)jenv; 13306 (void)jcls; 13307 (void)jarg1_; 13308 arg1 = *(btSliderConstraint **)&jarg1; 13309 arg2 = (btScalar)jarg2; 13310 (arg1)->setRestitutionLimLin(arg2); 13311 } 13312 13313 13314 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingLimLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13315 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13316 btScalar arg2 ; 13317 13318 (void)jenv; 13319 (void)jcls; 13320 (void)jarg1_; 13321 arg1 = *(btSliderConstraint **)&jarg1; 13322 arg2 = (btScalar)jarg2; 13323 (arg1)->setDampingLimLin(arg2); 13324 } 13325 13326 13327 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13328 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13329 btScalar arg2 ; 13330 13331 (void)jenv; 13332 (void)jcls; 13333 (void)jarg1_; 13334 arg1 = *(btSliderConstraint **)&jarg1; 13335 arg2 = (btScalar)jarg2; 13336 (arg1)->setSoftnessLimAng(arg2); 13337 } 13338 13339 13340 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13341 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13342 btScalar arg2 ; 13343 13344 (void)jenv; 13345 (void)jcls; 13346 (void)jarg1_; 13347 arg1 = *(btSliderConstraint **)&jarg1; 13348 arg2 = (btScalar)jarg2; 13349 (arg1)->setRestitutionLimAng(arg2); 13350 } 13351 13352 13353 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingLimAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13354 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13355 btScalar arg2 ; 13356 13357 (void)jenv; 13358 (void)jcls; 13359 (void)jarg1_; 13360 arg1 = *(btSliderConstraint **)&jarg1; 13361 arg2 = (btScalar)jarg2; 13362 (arg1)->setDampingLimAng(arg2); 13363 } 13364 13365 13366 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13367 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13368 btScalar arg2 ; 13369 13370 (void)jenv; 13371 (void)jcls; 13372 (void)jarg1_; 13373 arg1 = *(btSliderConstraint **)&jarg1; 13374 arg2 = (btScalar)jarg2; 13375 (arg1)->setSoftnessOrthoLin(arg2); 13376 } 13377 13378 13379 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13380 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13381 btScalar arg2 ; 13382 13383 (void)jenv; 13384 (void)jcls; 13385 (void)jarg1_; 13386 arg1 = *(btSliderConstraint **)&jarg1; 13387 arg2 = (btScalar)jarg2; 13388 (arg1)->setRestitutionOrthoLin(arg2); 13389 } 13390 13391 13392 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingOrthoLin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13393 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13394 btScalar arg2 ; 13395 13396 (void)jenv; 13397 (void)jcls; 13398 (void)jarg1_; 13399 arg1 = *(btSliderConstraint **)&jarg1; 13400 arg2 = (btScalar)jarg2; 13401 (arg1)->setDampingOrthoLin(arg2); 13402 } 13403 13404 13405 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setSoftnessOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13406 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13407 btScalar arg2 ; 13408 13409 (void)jenv; 13410 (void)jcls; 13411 (void)jarg1_; 13412 arg1 = *(btSliderConstraint **)&jarg1; 13413 arg2 = (btScalar)jarg2; 13414 (arg1)->setSoftnessOrthoAng(arg2); 13415 } 13416 13417 13418 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setRestitutionOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13419 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13420 btScalar arg2 ; 13421 13422 (void)jenv; 13423 (void)jcls; 13424 (void)jarg1_; 13425 arg1 = *(btSliderConstraint **)&jarg1; 13426 arg2 = (btScalar)jarg2; 13427 (arg1)->setRestitutionOrthoAng(arg2); 13428 } 13429 13430 13431 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setDampingOrthoAng(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13432 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13433 btScalar arg2 ; 13434 13435 (void)jenv; 13436 (void)jcls; 13437 (void)jarg1_; 13438 arg1 = *(btSliderConstraint **)&jarg1; 13439 arg2 = (btScalar)jarg2; 13440 (arg1)->setDampingOrthoAng(arg2); 13441 } 13442 13443 13444 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setPoweredLinMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 13445 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13446 bool arg2 ; 13447 13448 (void)jenv; 13449 (void)jcls; 13450 (void)jarg1_; 13451 arg1 = *(btSliderConstraint **)&jarg1; 13452 arg2 = jarg2 ? true : false; 13453 (arg1)->setPoweredLinMotor(arg2); 13454 } 13455 13456 13457 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getPoweredLinMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13458 jboolean jresult = 0 ; 13459 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13460 bool result; 13461 13462 (void)jenv; 13463 (void)jcls; 13464 (void)jarg1_; 13465 arg1 = *(btSliderConstraint **)&jarg1; 13466 result = (bool)(arg1)->getPoweredLinMotor(); 13467 jresult = (jboolean)result; 13468 return jresult; 13469 } 13470 13471 13472 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setTargetLinMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13473 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13474 btScalar arg2 ; 13475 13476 (void)jenv; 13477 (void)jcls; 13478 (void)jarg1_; 13479 arg1 = *(btSliderConstraint **)&jarg1; 13480 arg2 = (btScalar)jarg2; 13481 (arg1)->setTargetLinMotorVelocity(arg2); 13482 } 13483 13484 13485 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getTargetLinMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13486 jfloat jresult = 0 ; 13487 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13488 btScalar result; 13489 13490 (void)jenv; 13491 (void)jcls; 13492 (void)jarg1_; 13493 arg1 = *(btSliderConstraint **)&jarg1; 13494 result = (btScalar)(arg1)->getTargetLinMotorVelocity(); 13495 jresult = (jfloat)result; 13496 return jresult; 13497 } 13498 13499 13500 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setMaxLinMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13501 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13502 btScalar arg2 ; 13503 13504 (void)jenv; 13505 (void)jcls; 13506 (void)jarg1_; 13507 arg1 = *(btSliderConstraint **)&jarg1; 13508 arg2 = (btScalar)jarg2; 13509 (arg1)->setMaxLinMotorForce(arg2); 13510 } 13511 13512 13513 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getMaxLinMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13514 jfloat jresult = 0 ; 13515 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13516 btScalar result; 13517 13518 (void)jenv; 13519 (void)jcls; 13520 (void)jarg1_; 13521 arg1 = *(btSliderConstraint **)&jarg1; 13522 result = (btScalar)(arg1)->getMaxLinMotorForce(); 13523 jresult = (jfloat)result; 13524 return jresult; 13525 } 13526 13527 13528 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setPoweredAngMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 13529 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13530 bool arg2 ; 13531 13532 (void)jenv; 13533 (void)jcls; 13534 (void)jarg1_; 13535 arg1 = *(btSliderConstraint **)&jarg1; 13536 arg2 = jarg2 ? true : false; 13537 (arg1)->setPoweredAngMotor(arg2); 13538 } 13539 13540 13541 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getPoweredAngMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13542 jboolean jresult = 0 ; 13543 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13544 bool result; 13545 13546 (void)jenv; 13547 (void)jcls; 13548 (void)jarg1_; 13549 arg1 = *(btSliderConstraint **)&jarg1; 13550 result = (bool)(arg1)->getPoweredAngMotor(); 13551 jresult = (jboolean)result; 13552 return jresult; 13553 } 13554 13555 13556 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setTargetAngMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13557 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13558 btScalar arg2 ; 13559 13560 (void)jenv; 13561 (void)jcls; 13562 (void)jarg1_; 13563 arg1 = *(btSliderConstraint **)&jarg1; 13564 arg2 = (btScalar)jarg2; 13565 (arg1)->setTargetAngMotorVelocity(arg2); 13566 } 13567 13568 13569 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getTargetAngMotorVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13570 jfloat jresult = 0 ; 13571 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13572 btScalar result; 13573 13574 (void)jenv; 13575 (void)jcls; 13576 (void)jarg1_; 13577 arg1 = *(btSliderConstraint **)&jarg1; 13578 result = (btScalar)(arg1)->getTargetAngMotorVelocity(); 13579 jresult = (jfloat)result; 13580 return jresult; 13581 } 13582 13583 13584 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setMaxAngMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13585 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13586 btScalar arg2 ; 13587 13588 (void)jenv; 13589 (void)jcls; 13590 (void)jarg1_; 13591 arg1 = *(btSliderConstraint **)&jarg1; 13592 arg2 = (btScalar)jarg2; 13593 (arg1)->setMaxAngMotorForce(arg2); 13594 } 13595 13596 13597 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getMaxAngMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13598 jfloat jresult = 0 ; 13599 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13600 btScalar result; 13601 13602 (void)jenv; 13603 (void)jcls; 13604 (void)jarg1_; 13605 arg1 = *(btSliderConstraint **)&jarg1; 13606 result = (btScalar)(arg1)->getMaxAngMotorForce(); 13607 jresult = (jfloat)result; 13608 return jresult; 13609 } 13610 13611 13612 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLinearPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13613 jfloat jresult = 0 ; 13614 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13615 btScalar result; 13616 13617 (void)jenv; 13618 (void)jcls; 13619 (void)jarg1_; 13620 arg1 = *(btSliderConstraint **)&jarg1; 13621 result = (btScalar)((btSliderConstraint const *)arg1)->getLinearPos(); 13622 jresult = (jfloat)result; 13623 return jresult; 13624 } 13625 13626 13627 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAngularPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13628 jfloat jresult = 0 ; 13629 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13630 btScalar result; 13631 13632 (void)jenv; 13633 (void)jcls; 13634 (void)jarg1_; 13635 arg1 = *(btSliderConstraint **)&jarg1; 13636 result = (btScalar)((btSliderConstraint const *)arg1)->getAngularPos(); 13637 jresult = (jfloat)result; 13638 return jresult; 13639 } 13640 13641 13642 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSolveLinLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13643 jboolean jresult = 0 ; 13644 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13645 bool result; 13646 13647 (void)jenv; 13648 (void)jcls; 13649 (void)jarg1_; 13650 arg1 = *(btSliderConstraint **)&jarg1; 13651 result = (bool)(arg1)->getSolveLinLimit(); 13652 jresult = (jboolean)result; 13653 return jresult; 13654 } 13655 13656 13657 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getLinDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13658 jfloat jresult = 0 ; 13659 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13660 btScalar result; 13661 13662 (void)jenv; 13663 (void)jcls; 13664 (void)jarg1_; 13665 arg1 = *(btSliderConstraint **)&jarg1; 13666 result = (btScalar)(arg1)->getLinDepth(); 13667 jresult = (jfloat)result; 13668 return jresult; 13669 } 13670 13671 13672 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getSolveAngLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13673 jboolean jresult = 0 ; 13674 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13675 bool result; 13676 13677 (void)jenv; 13678 (void)jcls; 13679 (void)jarg1_; 13680 arg1 = *(btSliderConstraint **)&jarg1; 13681 result = (bool)(arg1)->getSolveAngLimit(); 13682 jresult = (jboolean)result; 13683 return jresult; 13684 } 13685 13686 13687 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAngDepth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13688 jfloat jresult = 0 ; 13689 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13690 btScalar result; 13691 13692 (void)jenv; 13693 (void)jcls; 13694 (void)jarg1_; 13695 arg1 = *(btSliderConstraint **)&jarg1; 13696 result = (btScalar)(arg1)->getAngDepth(); 13697 jresult = (jfloat)result; 13698 return jresult; 13699 } 13700 13701 13702 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1calculateTransforms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 13703 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13704 btTransform *arg2 = 0 ; 13705 btTransform *arg3 = 0 ; 13706 13707 (void)jenv; 13708 (void)jcls; 13709 (void)jarg1_; 13710 arg1 = *(btSliderConstraint **)&jarg1; 13711 btTransform local_arg2; 13712 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 13713 arg2 = &local_arg2; 13714 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 13715 btTransform local_arg3; 13716 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 13717 arg3 = &local_arg3; 13718 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 13719 (arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3); 13720 } 13721 13722 13723 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1testLinLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13724 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13725 13726 (void)jenv; 13727 (void)jcls; 13728 (void)jarg1_; 13729 arg1 = *(btSliderConstraint **)&jarg1; 13730 (arg1)->testLinLimits(); 13731 } 13732 13733 13734 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1testAngLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13735 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13736 13737 (void)jenv; 13738 (void)jcls; 13739 (void)jarg1_; 13740 arg1 = *(btSliderConstraint **)&jarg1; 13741 (arg1)->testAngLimits(); 13742 } 13743 13744 13745 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAncorInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13746 jobject jresult = 0 ; 13747 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13748 btVector3 result; 13749 13750 (void)jenv; 13751 (void)jcls; 13752 (void)jarg1_; 13753 arg1 = *(btSliderConstraint **)&jarg1; 13754 result = (arg1)->getAncorInA(); 13755 jresult = gdx_getReturnVector3(jenv); 13756 gdx_setVector3FrombtVector3(jenv, jresult, result); 13757 return jresult; 13758 } 13759 13760 13761 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getAncorInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13762 jobject jresult = 0 ; 13763 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13764 btVector3 result; 13765 13766 (void)jenv; 13767 (void)jcls; 13768 (void)jarg1_; 13769 arg1 = *(btSliderConstraint **)&jarg1; 13770 result = (arg1)->getAncorInB(); 13771 jresult = gdx_getReturnVector3(jenv); 13772 gdx_setVector3FrombtVector3(jenv, jresult, result); 13773 return jresult; 13774 } 13775 13776 13777 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13778 jboolean jresult = 0 ; 13779 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13780 bool result; 13781 13782 (void)jenv; 13783 (void)jcls; 13784 (void)jarg1_; 13785 arg1 = *(btSliderConstraint **)&jarg1; 13786 result = (bool)(arg1)->getUseFrameOffset(); 13787 jresult = (jboolean)result; 13788 return jresult; 13789 } 13790 13791 13792 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 13793 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13794 bool arg2 ; 13795 13796 (void)jenv; 13797 (void)jcls; 13798 (void)jarg1_; 13799 arg1 = *(btSliderConstraint **)&jarg1; 13800 arg2 = jarg2 ? true : false; 13801 (arg1)->setUseFrameOffset(arg2); 13802 } 13803 13804 13805 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 13806 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13807 btTransform *arg2 = 0 ; 13808 btTransform *arg3 = 0 ; 13809 13810 (void)jenv; 13811 (void)jcls; 13812 (void)jarg1_; 13813 arg1 = *(btSliderConstraint **)&jarg1; 13814 btTransform local_arg2; 13815 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 13816 arg2 = &local_arg2; 13817 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 13818 btTransform local_arg3; 13819 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 13820 arg3 = &local_arg3; 13821 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 13822 (arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3); 13823 } 13824 13825 13826 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 13827 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13828 int arg2 ; 13829 btScalar arg3 ; 13830 int arg4 ; 13831 13832 (void)jenv; 13833 (void)jcls; 13834 (void)jarg1_; 13835 arg1 = *(btSliderConstraint **)&jarg1; 13836 arg2 = (int)jarg2; 13837 arg3 = (btScalar)jarg3; 13838 arg4 = (int)jarg4; 13839 (arg1)->setParam(arg2,arg3,arg4); 13840 } 13841 13842 13843 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 13844 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13845 int arg2 ; 13846 btScalar arg3 ; 13847 13848 (void)jenv; 13849 (void)jcls; 13850 (void)jarg1_; 13851 arg1 = *(btSliderConstraint **)&jarg1; 13852 arg2 = (int)jarg2; 13853 arg3 = (btScalar)jarg3; 13854 (arg1)->setParam(arg2,arg3); 13855 } 13856 13857 13858 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 13859 jfloat jresult = 0 ; 13860 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13861 int arg2 ; 13862 int arg3 ; 13863 btScalar result; 13864 13865 (void)jenv; 13866 (void)jcls; 13867 (void)jarg1_; 13868 arg1 = *(btSliderConstraint **)&jarg1; 13869 arg2 = (int)jarg2; 13870 arg3 = (int)jarg3; 13871 result = (btScalar)((btSliderConstraint const *)arg1)->getParam(arg2,arg3); 13872 jresult = (jfloat)result; 13873 return jresult; 13874 } 13875 13876 13877 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 13878 jfloat jresult = 0 ; 13879 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13880 int arg2 ; 13881 btScalar result; 13882 13883 (void)jenv; 13884 (void)jcls; 13885 (void)jarg1_; 13886 arg1 = *(btSliderConstraint **)&jarg1; 13887 arg2 = (int)jarg2; 13888 result = (btScalar)((btSliderConstraint const *)arg1)->getParam(arg2); 13889 jresult = (jfloat)result; 13890 return jresult; 13891 } 13892 13893 13894 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 13895 btSliderConstraint *arg1 = (btSliderConstraint *) 0 ; 13896 13897 (void)jenv; 13898 (void)jcls; 13899 arg1 = *(btSliderConstraint **)&jarg1; 13900 delete arg1; 13901 } 13902 13903 13904 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 13905 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13906 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 13907 13908 (void)jenv; 13909 (void)jcls; 13910 (void)jarg1_; 13911 (void)jarg2_; 13912 arg1 = *(btSliderConstraintData **)&jarg1; 13913 arg2 = *(btTypedConstraintData **)&jarg2; 13914 if (arg1) (arg1)->m_typeConstraintData = *arg2; 13915 } 13916 13917 13918 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13919 jlong jresult = 0 ; 13920 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13921 btTypedConstraintData *result = 0 ; 13922 13923 (void)jenv; 13924 (void)jcls; 13925 (void)jarg1_; 13926 arg1 = *(btSliderConstraintData **)&jarg1; 13927 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 13928 *(btTypedConstraintData **)&jresult = result; 13929 return jresult; 13930 } 13931 13932 13933 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 13934 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13935 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 13936 13937 (void)jenv; 13938 (void)jcls; 13939 (void)jarg1_; 13940 (void)jarg2_; 13941 arg1 = *(btSliderConstraintData **)&jarg1; 13942 arg2 = *(btTransformFloatData **)&jarg2; 13943 if (arg1) (arg1)->m_rbAFrame = *arg2; 13944 } 13945 13946 13947 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13948 jlong jresult = 0 ; 13949 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13950 btTransformFloatData *result = 0 ; 13951 13952 (void)jenv; 13953 (void)jcls; 13954 (void)jarg1_; 13955 arg1 = *(btSliderConstraintData **)&jarg1; 13956 result = (btTransformFloatData *)& ((arg1)->m_rbAFrame); 13957 *(btTransformFloatData **)&jresult = result; 13958 return jresult; 13959 } 13960 13961 13962 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 13963 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13964 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 13965 13966 (void)jenv; 13967 (void)jcls; 13968 (void)jarg1_; 13969 (void)jarg2_; 13970 arg1 = *(btSliderConstraintData **)&jarg1; 13971 arg2 = *(btTransformFloatData **)&jarg2; 13972 if (arg1) (arg1)->m_rbBFrame = *arg2; 13973 } 13974 13975 13976 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 13977 jlong jresult = 0 ; 13978 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13979 btTransformFloatData *result = 0 ; 13980 13981 (void)jenv; 13982 (void)jcls; 13983 (void)jarg1_; 13984 arg1 = *(btSliderConstraintData **)&jarg1; 13985 result = (btTransformFloatData *)& ((arg1)->m_rbBFrame); 13986 *(btTransformFloatData **)&jresult = result; 13987 return jresult; 13988 } 13989 13990 13991 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 13992 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 13993 float arg2 ; 13994 13995 (void)jenv; 13996 (void)jcls; 13997 (void)jarg1_; 13998 arg1 = *(btSliderConstraintData **)&jarg1; 13999 arg2 = (float)jarg2; 14000 if (arg1) (arg1)->m_linearUpperLimit = arg2; 14001 } 14002 14003 14004 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14005 jfloat jresult = 0 ; 14006 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14007 float result; 14008 14009 (void)jenv; 14010 (void)jcls; 14011 (void)jarg1_; 14012 arg1 = *(btSliderConstraintData **)&jarg1; 14013 result = (float) ((arg1)->m_linearUpperLimit); 14014 jresult = (jfloat)result; 14015 return jresult; 14016 } 14017 14018 14019 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14020 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14021 float arg2 ; 14022 14023 (void)jenv; 14024 (void)jcls; 14025 (void)jarg1_; 14026 arg1 = *(btSliderConstraintData **)&jarg1; 14027 arg2 = (float)jarg2; 14028 if (arg1) (arg1)->m_linearLowerLimit = arg2; 14029 } 14030 14031 14032 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14033 jfloat jresult = 0 ; 14034 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14035 float result; 14036 14037 (void)jenv; 14038 (void)jcls; 14039 (void)jarg1_; 14040 arg1 = *(btSliderConstraintData **)&jarg1; 14041 result = (float) ((arg1)->m_linearLowerLimit); 14042 jresult = (jfloat)result; 14043 return jresult; 14044 } 14045 14046 14047 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14048 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14049 float arg2 ; 14050 14051 (void)jenv; 14052 (void)jcls; 14053 (void)jarg1_; 14054 arg1 = *(btSliderConstraintData **)&jarg1; 14055 arg2 = (float)jarg2; 14056 if (arg1) (arg1)->m_angularUpperLimit = arg2; 14057 } 14058 14059 14060 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14061 jfloat jresult = 0 ; 14062 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14063 float result; 14064 14065 (void)jenv; 14066 (void)jcls; 14067 (void)jarg1_; 14068 arg1 = *(btSliderConstraintData **)&jarg1; 14069 result = (float) ((arg1)->m_angularUpperLimit); 14070 jresult = (jfloat)result; 14071 return jresult; 14072 } 14073 14074 14075 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14076 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14077 float arg2 ; 14078 14079 (void)jenv; 14080 (void)jcls; 14081 (void)jarg1_; 14082 arg1 = *(btSliderConstraintData **)&jarg1; 14083 arg2 = (float)jarg2; 14084 if (arg1) (arg1)->m_angularLowerLimit = arg2; 14085 } 14086 14087 14088 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14089 jfloat jresult = 0 ; 14090 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14091 float result; 14092 14093 (void)jenv; 14094 (void)jcls; 14095 (void)jarg1_; 14096 arg1 = *(btSliderConstraintData **)&jarg1; 14097 result = (float) ((arg1)->m_angularLowerLimit); 14098 jresult = (jfloat)result; 14099 return jresult; 14100 } 14101 14102 14103 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 14104 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14105 int arg2 ; 14106 14107 (void)jenv; 14108 (void)jcls; 14109 (void)jarg1_; 14110 arg1 = *(btSliderConstraintData **)&jarg1; 14111 arg2 = (int)jarg2; 14112 if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2; 14113 } 14114 14115 14116 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14117 jint jresult = 0 ; 14118 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14119 int result; 14120 14121 (void)jenv; 14122 (void)jcls; 14123 (void)jarg1_; 14124 arg1 = *(btSliderConstraintData **)&jarg1; 14125 result = (int) ((arg1)->m_useLinearReferenceFrameA); 14126 jresult = (jint)result; 14127 return jresult; 14128 } 14129 14130 14131 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 14132 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14133 int arg2 ; 14134 14135 (void)jenv; 14136 (void)jcls; 14137 (void)jarg1_; 14138 arg1 = *(btSliderConstraintData **)&jarg1; 14139 arg2 = (int)jarg2; 14140 if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2; 14141 } 14142 14143 14144 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14145 jint jresult = 0 ; 14146 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14147 int result; 14148 14149 (void)jenv; 14150 (void)jcls; 14151 (void)jarg1_; 14152 arg1 = *(btSliderConstraintData **)&jarg1; 14153 result = (int) ((arg1)->m_useOffsetForConstraintFrame); 14154 jresult = (jint)result; 14155 return jresult; 14156 } 14157 14158 14159 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraintData(JNIEnv *jenv, jclass jcls) { 14160 jlong jresult = 0 ; 14161 btSliderConstraintData *result = 0 ; 14162 14163 (void)jenv; 14164 (void)jcls; 14165 result = (btSliderConstraintData *)new btSliderConstraintData(); 14166 *(btSliderConstraintData **)&jresult = result; 14167 return jresult; 14168 } 14169 14170 14171 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 14172 btSliderConstraintData *arg1 = (btSliderConstraintData *) 0 ; 14173 14174 (void)jenv; 14175 (void)jcls; 14176 arg1 = *(btSliderConstraintData **)&jarg1; 14177 delete arg1; 14178 } 14179 14180 14181 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14182 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14183 btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ; 14184 14185 (void)jenv; 14186 (void)jcls; 14187 (void)jarg1_; 14188 (void)jarg2_; 14189 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14190 arg2 = *(btTypedConstraintDoubleData **)&jarg2; 14191 if (arg1) (arg1)->m_typeConstraintData = *arg2; 14192 } 14193 14194 14195 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14196 jlong jresult = 0 ; 14197 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14198 btTypedConstraintDoubleData *result = 0 ; 14199 14200 (void)jenv; 14201 (void)jcls; 14202 (void)jarg1_; 14203 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14204 result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData); 14205 *(btTypedConstraintDoubleData **)&jresult = result; 14206 return jresult; 14207 } 14208 14209 14210 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14211 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14212 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 14213 14214 (void)jenv; 14215 (void)jcls; 14216 (void)jarg1_; 14217 (void)jarg2_; 14218 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14219 arg2 = *(btTransformDoubleData **)&jarg2; 14220 if (arg1) (arg1)->m_rbAFrame = *arg2; 14221 } 14222 14223 14224 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14225 jlong jresult = 0 ; 14226 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14227 btTransformDoubleData *result = 0 ; 14228 14229 (void)jenv; 14230 (void)jcls; 14231 (void)jarg1_; 14232 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14233 result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame); 14234 *(btTransformDoubleData **)&jresult = result; 14235 return jresult; 14236 } 14237 14238 14239 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14240 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14241 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 14242 14243 (void)jenv; 14244 (void)jcls; 14245 (void)jarg1_; 14246 (void)jarg2_; 14247 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14248 arg2 = *(btTransformDoubleData **)&jarg2; 14249 if (arg1) (arg1)->m_rbBFrame = *arg2; 14250 } 14251 14252 14253 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14254 jlong jresult = 0 ; 14255 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14256 btTransformDoubleData *result = 0 ; 14257 14258 (void)jenv; 14259 (void)jcls; 14260 (void)jarg1_; 14261 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14262 result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame); 14263 *(btTransformDoubleData **)&jresult = result; 14264 return jresult; 14265 } 14266 14267 14268 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 14269 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14270 double arg2 ; 14271 14272 (void)jenv; 14273 (void)jcls; 14274 (void)jarg1_; 14275 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14276 arg2 = (double)jarg2; 14277 if (arg1) (arg1)->m_linearUpperLimit = arg2; 14278 } 14279 14280 14281 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14282 jdouble jresult = 0 ; 14283 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14284 double result; 14285 14286 (void)jenv; 14287 (void)jcls; 14288 (void)jarg1_; 14289 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14290 result = (double) ((arg1)->m_linearUpperLimit); 14291 jresult = (jdouble)result; 14292 return jresult; 14293 } 14294 14295 14296 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 14297 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14298 double arg2 ; 14299 14300 (void)jenv; 14301 (void)jcls; 14302 (void)jarg1_; 14303 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14304 arg2 = (double)jarg2; 14305 if (arg1) (arg1)->m_linearLowerLimit = arg2; 14306 } 14307 14308 14309 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14310 jdouble jresult = 0 ; 14311 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14312 double result; 14313 14314 (void)jenv; 14315 (void)jcls; 14316 (void)jarg1_; 14317 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14318 result = (double) ((arg1)->m_linearLowerLimit); 14319 jresult = (jdouble)result; 14320 return jresult; 14321 } 14322 14323 14324 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 14325 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14326 double arg2 ; 14327 14328 (void)jenv; 14329 (void)jcls; 14330 (void)jarg1_; 14331 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14332 arg2 = (double)jarg2; 14333 if (arg1) (arg1)->m_angularUpperLimit = arg2; 14334 } 14335 14336 14337 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14338 jdouble jresult = 0 ; 14339 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14340 double result; 14341 14342 (void)jenv; 14343 (void)jcls; 14344 (void)jarg1_; 14345 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14346 result = (double) ((arg1)->m_angularUpperLimit); 14347 jresult = (jdouble)result; 14348 return jresult; 14349 } 14350 14351 14352 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 14353 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14354 double arg2 ; 14355 14356 (void)jenv; 14357 (void)jcls; 14358 (void)jarg1_; 14359 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14360 arg2 = (double)jarg2; 14361 if (arg1) (arg1)->m_angularLowerLimit = arg2; 14362 } 14363 14364 14365 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14366 jdouble jresult = 0 ; 14367 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14368 double result; 14369 14370 (void)jenv; 14371 (void)jcls; 14372 (void)jarg1_; 14373 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14374 result = (double) ((arg1)->m_angularLowerLimit); 14375 jresult = (jdouble)result; 14376 return jresult; 14377 } 14378 14379 14380 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 14381 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14382 int arg2 ; 14383 14384 (void)jenv; 14385 (void)jcls; 14386 (void)jarg1_; 14387 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14388 arg2 = (int)jarg2; 14389 if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2; 14390 } 14391 14392 14393 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14394 jint jresult = 0 ; 14395 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14396 int result; 14397 14398 (void)jenv; 14399 (void)jcls; 14400 (void)jarg1_; 14401 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14402 result = (int) ((arg1)->m_useLinearReferenceFrameA); 14403 jresult = (jint)result; 14404 return jresult; 14405 } 14406 14407 14408 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 14409 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14410 int arg2 ; 14411 14412 (void)jenv; 14413 (void)jcls; 14414 (void)jarg1_; 14415 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14416 arg2 = (int)jarg2; 14417 if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2; 14418 } 14419 14420 14421 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraintDoubleData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14422 jint jresult = 0 ; 14423 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14424 int result; 14425 14426 (void)jenv; 14427 (void)jcls; 14428 (void)jarg1_; 14429 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14430 result = (int) ((arg1)->m_useOffsetForConstraintFrame); 14431 jresult = (jint)result; 14432 return jresult; 14433 } 14434 14435 14436 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSliderConstraintDoubleData(JNIEnv *jenv, jclass jcls) { 14437 jlong jresult = 0 ; 14438 btSliderConstraintDoubleData *result = 0 ; 14439 14440 (void)jenv; 14441 (void)jcls; 14442 result = (btSliderConstraintDoubleData *)new btSliderConstraintDoubleData(); 14443 *(btSliderConstraintDoubleData **)&jresult = result; 14444 return jresult; 14445 } 14446 14447 14448 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSliderConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 14449 btSliderConstraintDoubleData *arg1 = (btSliderConstraintDoubleData *) 0 ; 14450 14451 (void)jenv; 14452 (void)jcls; 14453 arg1 = *(btSliderConstraintDoubleData **)&jarg1; 14454 delete arg1; 14455 } 14456 14457 14458 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConstraintSetting(JNIEnv *jenv, jclass jcls) { 14459 jlong jresult = 0 ; 14460 btConstraintSetting *result = 0 ; 14461 14462 (void)jenv; 14463 (void)jcls; 14464 result = (btConstraintSetting *)new btConstraintSetting(); 14465 *(btConstraintSetting **)&jresult = result; 14466 return jresult; 14467 } 14468 14469 14470 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1tau_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14471 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14472 btScalar arg2 ; 14473 14474 (void)jenv; 14475 (void)jcls; 14476 (void)jarg1_; 14477 arg1 = *(btConstraintSetting **)&jarg1; 14478 arg2 = (btScalar)jarg2; 14479 if (arg1) (arg1)->m_tau = arg2; 14480 } 14481 14482 14483 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1tau_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14484 jfloat jresult = 0 ; 14485 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14486 btScalar result; 14487 14488 (void)jenv; 14489 (void)jcls; 14490 (void)jarg1_; 14491 arg1 = *(btConstraintSetting **)&jarg1; 14492 result = (btScalar) ((arg1)->m_tau); 14493 jresult = (jfloat)result; 14494 return jresult; 14495 } 14496 14497 14498 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14499 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14500 btScalar arg2 ; 14501 14502 (void)jenv; 14503 (void)jcls; 14504 (void)jarg1_; 14505 arg1 = *(btConstraintSetting **)&jarg1; 14506 arg2 = (btScalar)jarg2; 14507 if (arg1) (arg1)->m_damping = arg2; 14508 } 14509 14510 14511 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14512 jfloat jresult = 0 ; 14513 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14514 btScalar result; 14515 14516 (void)jenv; 14517 (void)jcls; 14518 (void)jarg1_; 14519 arg1 = *(btConstraintSetting **)&jarg1; 14520 result = (btScalar) ((arg1)->m_damping); 14521 jresult = (jfloat)result; 14522 return jresult; 14523 } 14524 14525 14526 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1impulseClamp_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14527 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14528 btScalar arg2 ; 14529 14530 (void)jenv; 14531 (void)jcls; 14532 (void)jarg1_; 14533 arg1 = *(btConstraintSetting **)&jarg1; 14534 arg2 = (btScalar)jarg2; 14535 if (arg1) (arg1)->m_impulseClamp = arg2; 14536 } 14537 14538 14539 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConstraintSetting_1impulseClamp_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14540 jfloat jresult = 0 ; 14541 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14542 btScalar result; 14543 14544 (void)jenv; 14545 (void)jcls; 14546 (void)jarg1_; 14547 arg1 = *(btConstraintSetting **)&jarg1; 14548 result = (btScalar) ((arg1)->m_impulseClamp); 14549 jresult = (jfloat)result; 14550 return jresult; 14551 } 14552 14553 14554 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConstraintSetting(JNIEnv *jenv, jclass jcls, jlong jarg1) { 14555 btConstraintSetting *arg1 = (btConstraintSetting *) 0 ; 14556 14557 (void)jenv; 14558 (void)jcls; 14559 arg1 = *(btConstraintSetting **)&jarg1; 14560 delete arg1; 14561 } 14562 14563 14564 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1useSolveConstraintObsolete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 14565 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14566 bool arg2 ; 14567 14568 (void)jenv; 14569 (void)jcls; 14570 (void)jarg1_; 14571 arg1 = *(btPoint2PointConstraint **)&jarg1; 14572 arg2 = jarg2 ? true : false; 14573 if (arg1) (arg1)->m_useSolveConstraintObsolete = arg2; 14574 } 14575 14576 14577 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1useSolveConstraintObsolete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14578 jboolean jresult = 0 ; 14579 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14580 bool result; 14581 14582 (void)jenv; 14583 (void)jcls; 14584 (void)jarg1_; 14585 arg1 = *(btPoint2PointConstraint **)&jarg1; 14586 result = (bool) ((arg1)->m_useSolveConstraintObsolete); 14587 jresult = (jboolean)result; 14588 return jresult; 14589 } 14590 14591 14592 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setting_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14593 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14594 btConstraintSetting *arg2 = (btConstraintSetting *) 0 ; 14595 14596 (void)jenv; 14597 (void)jcls; 14598 (void)jarg1_; 14599 (void)jarg2_; 14600 arg1 = *(btPoint2PointConstraint **)&jarg1; 14601 arg2 = *(btConstraintSetting **)&jarg2; 14602 if (arg1) (arg1)->m_setting = *arg2; 14603 } 14604 14605 14606 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setting_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14607 jlong jresult = 0 ; 14608 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14609 btConstraintSetting *result = 0 ; 14610 14611 (void)jenv; 14612 (void)jcls; 14613 (void)jarg1_; 14614 arg1 = *(btPoint2PointConstraint **)&jarg1; 14615 result = (btConstraintSetting *)& ((arg1)->m_setting); 14616 *(btConstraintSetting **)&jresult = result; 14617 return jresult; 14618 } 14619 14620 14621 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 14622 jlong jresult = 0 ; 14623 btRigidBody *arg1 = 0 ; 14624 btRigidBody *arg2 = 0 ; 14625 btVector3 *arg3 = 0 ; 14626 btVector3 *arg4 = 0 ; 14627 btPoint2PointConstraint *result = 0 ; 14628 14629 (void)jenv; 14630 (void)jcls; 14631 (void)jarg1_; 14632 (void)jarg2_; 14633 arg1 = *(btRigidBody **)&jarg1; 14634 if (!arg1) { 14635 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 14636 return 0; 14637 } 14638 arg2 = *(btRigidBody **)&jarg2; 14639 if (!arg2) { 14640 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 14641 return 0; 14642 } 14643 btVector3 local_arg3; 14644 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 14645 arg3 = &local_arg3; 14646 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 14647 btVector3 local_arg4; 14648 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 14649 arg4 = &local_arg4; 14650 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 14651 result = (btPoint2PointConstraint *)new btPoint2PointConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4); 14652 *(btPoint2PointConstraint **)&jresult = result; 14653 return jresult; 14654 } 14655 14656 14657 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 14658 jlong jresult = 0 ; 14659 btRigidBody *arg1 = 0 ; 14660 btVector3 *arg2 = 0 ; 14661 btPoint2PointConstraint *result = 0 ; 14662 14663 (void)jenv; 14664 (void)jcls; 14665 (void)jarg1_; 14666 arg1 = *(btRigidBody **)&jarg1; 14667 if (!arg1) { 14668 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 14669 return 0; 14670 } 14671 btVector3 local_arg2; 14672 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 14673 arg2 = &local_arg2; 14674 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 14675 result = (btPoint2PointConstraint *)new btPoint2PointConstraint(*arg1,(btVector3 const &)*arg2); 14676 *(btPoint2PointConstraint **)&jresult = result; 14677 return jresult; 14678 } 14679 14680 14681 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14682 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14683 btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 14684 14685 (void)jenv; 14686 (void)jcls; 14687 (void)jarg1_; 14688 (void)jarg2_; 14689 arg1 = *(btPoint2PointConstraint **)&jarg1; 14690 arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2; 14691 (arg1)->getInfo1NonVirtual(arg2); 14692 } 14693 14694 14695 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 14696 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14697 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 14698 btTransform *arg3 = 0 ; 14699 btTransform *arg4 = 0 ; 14700 14701 (void)jenv; 14702 (void)jcls; 14703 (void)jarg1_; 14704 (void)jarg2_; 14705 arg1 = *(btPoint2PointConstraint **)&jarg1; 14706 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 14707 btTransform local_arg3; 14708 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 14709 arg3 = &local_arg3; 14710 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 14711 btTransform local_arg4; 14712 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 14713 arg4 = &local_arg4; 14714 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 14715 (arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4); 14716 } 14717 14718 14719 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 14720 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14721 btScalar arg2 ; 14722 14723 (void)jenv; 14724 (void)jcls; 14725 (void)jarg1_; 14726 arg1 = *(btPoint2PointConstraint **)&jarg1; 14727 arg2 = (btScalar)jarg2; 14728 (arg1)->updateRHS(arg2); 14729 } 14730 14731 14732 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setPivotA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 14733 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14734 btVector3 *arg2 = 0 ; 14735 14736 (void)jenv; 14737 (void)jcls; 14738 (void)jarg1_; 14739 arg1 = *(btPoint2PointConstraint **)&jarg1; 14740 btVector3 local_arg2; 14741 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 14742 arg2 = &local_arg2; 14743 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 14744 (arg1)->setPivotA((btVector3 const &)*arg2); 14745 } 14746 14747 14748 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setPivotB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 14749 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14750 btVector3 *arg2 = 0 ; 14751 14752 (void)jenv; 14753 (void)jcls; 14754 (void)jarg1_; 14755 arg1 = *(btPoint2PointConstraint **)&jarg1; 14756 btVector3 local_arg2; 14757 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 14758 arg2 = &local_arg2; 14759 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 14760 (arg1)->setPivotB((btVector3 const &)*arg2); 14761 } 14762 14763 14764 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getPivotInA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14765 jobject jresult = 0 ; 14766 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14767 btVector3 *result = 0 ; 14768 14769 (void)jenv; 14770 (void)jcls; 14771 (void)jarg1_; 14772 arg1 = *(btPoint2PointConstraint **)&jarg1; 14773 result = (btVector3 *) &((btPoint2PointConstraint const *)arg1)->getPivotInA(); 14774 jresult = gdx_getReturnVector3(jenv); 14775 gdx_setVector3FrombtVector3(jenv, jresult, result); 14776 return jresult; 14777 } 14778 14779 14780 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getPivotInB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14781 jobject jresult = 0 ; 14782 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14783 btVector3 *result = 0 ; 14784 14785 (void)jenv; 14786 (void)jcls; 14787 (void)jarg1_; 14788 arg1 = *(btPoint2PointConstraint **)&jarg1; 14789 result = (btVector3 *) &((btPoint2PointConstraint const *)arg1)->getPivotInB(); 14790 jresult = gdx_getReturnVector3(jenv); 14791 gdx_setVector3FrombtVector3(jenv, jresult, result); 14792 return jresult; 14793 } 14794 14795 14796 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 14797 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14798 int arg2 ; 14799 btScalar arg3 ; 14800 int arg4 ; 14801 14802 (void)jenv; 14803 (void)jcls; 14804 (void)jarg1_; 14805 arg1 = *(btPoint2PointConstraint **)&jarg1; 14806 arg2 = (int)jarg2; 14807 arg3 = (btScalar)jarg3; 14808 arg4 = (int)jarg4; 14809 (arg1)->setParam(arg2,arg3,arg4); 14810 } 14811 14812 14813 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 14814 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14815 int arg2 ; 14816 btScalar arg3 ; 14817 14818 (void)jenv; 14819 (void)jcls; 14820 (void)jarg1_; 14821 arg1 = *(btPoint2PointConstraint **)&jarg1; 14822 arg2 = (int)jarg2; 14823 arg3 = (btScalar)jarg3; 14824 (arg1)->setParam(arg2,arg3); 14825 } 14826 14827 14828 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 14829 jfloat jresult = 0 ; 14830 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14831 int arg2 ; 14832 int arg3 ; 14833 btScalar result; 14834 14835 (void)jenv; 14836 (void)jcls; 14837 (void)jarg1_; 14838 arg1 = *(btPoint2PointConstraint **)&jarg1; 14839 arg2 = (int)jarg2; 14840 arg3 = (int)jarg3; 14841 result = (btScalar)((btPoint2PointConstraint const *)arg1)->getParam(arg2,arg3); 14842 jresult = (jfloat)result; 14843 return jresult; 14844 } 14845 14846 14847 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 14848 jfloat jresult = 0 ; 14849 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14850 int arg2 ; 14851 btScalar result; 14852 14853 (void)jenv; 14854 (void)jcls; 14855 (void)jarg1_; 14856 arg1 = *(btPoint2PointConstraint **)&jarg1; 14857 arg2 = (int)jarg2; 14858 result = (btScalar)((btPoint2PointConstraint const *)arg1)->getParam(arg2); 14859 jresult = (jfloat)result; 14860 return jresult; 14861 } 14862 14863 14864 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 14865 btPoint2PointConstraint *arg1 = (btPoint2PointConstraint *) 0 ; 14866 14867 (void)jenv; 14868 (void)jcls; 14869 arg1 = *(btPoint2PointConstraint **)&jarg1; 14870 delete arg1; 14871 } 14872 14873 14874 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14875 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14876 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 14877 14878 (void)jenv; 14879 (void)jcls; 14880 (void)jarg1_; 14881 (void)jarg2_; 14882 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14883 arg2 = *(btTypedConstraintData **)&jarg2; 14884 if (arg1) (arg1)->m_typeConstraintData = *arg2; 14885 } 14886 14887 14888 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14889 jlong jresult = 0 ; 14890 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14891 btTypedConstraintData *result = 0 ; 14892 14893 (void)jenv; 14894 (void)jcls; 14895 (void)jarg1_; 14896 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14897 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 14898 *(btTypedConstraintData **)&jresult = result; 14899 return jresult; 14900 } 14901 14902 14903 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14904 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14905 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 14906 14907 (void)jenv; 14908 (void)jcls; 14909 (void)jarg1_; 14910 (void)jarg2_; 14911 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14912 arg2 = *(btVector3FloatData **)&jarg2; 14913 if (arg1) (arg1)->m_pivotInA = *arg2; 14914 } 14915 14916 14917 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14918 jlong jresult = 0 ; 14919 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14920 btVector3FloatData *result = 0 ; 14921 14922 (void)jenv; 14923 (void)jcls; 14924 (void)jarg1_; 14925 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14926 result = (btVector3FloatData *)& ((arg1)->m_pivotInA); 14927 *(btVector3FloatData **)&jresult = result; 14928 return jresult; 14929 } 14930 14931 14932 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14933 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14934 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 14935 14936 (void)jenv; 14937 (void)jcls; 14938 (void)jarg1_; 14939 (void)jarg2_; 14940 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14941 arg2 = *(btVector3FloatData **)&jarg2; 14942 if (arg1) (arg1)->m_pivotInB = *arg2; 14943 } 14944 14945 14946 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintFloatData_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14947 jlong jresult = 0 ; 14948 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14949 btVector3FloatData *result = 0 ; 14950 14951 (void)jenv; 14952 (void)jcls; 14953 (void)jarg1_; 14954 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14955 result = (btVector3FloatData *)& ((arg1)->m_pivotInB); 14956 *(btVector3FloatData **)&jresult = result; 14957 return jresult; 14958 } 14959 14960 14961 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintFloatData(JNIEnv *jenv, jclass jcls) { 14962 jlong jresult = 0 ; 14963 btPoint2PointConstraintFloatData *result = 0 ; 14964 14965 (void)jenv; 14966 (void)jcls; 14967 result = (btPoint2PointConstraintFloatData *)new btPoint2PointConstraintFloatData(); 14968 *(btPoint2PointConstraintFloatData **)&jresult = result; 14969 return jresult; 14970 } 14971 14972 14973 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 14974 btPoint2PointConstraintFloatData *arg1 = (btPoint2PointConstraintFloatData *) 0 ; 14975 14976 (void)jenv; 14977 (void)jcls; 14978 arg1 = *(btPoint2PointConstraintFloatData **)&jarg1; 14979 delete arg1; 14980 } 14981 14982 14983 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 14984 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 14985 btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ; 14986 14987 (void)jenv; 14988 (void)jcls; 14989 (void)jarg1_; 14990 (void)jarg2_; 14991 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 14992 arg2 = *(btTypedConstraintDoubleData **)&jarg2; 14993 if (arg1) (arg1)->m_typeConstraintData = *arg2; 14994 } 14995 14996 14997 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 14998 jlong jresult = 0 ; 14999 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 15000 btTypedConstraintDoubleData *result = 0 ; 15001 15002 (void)jenv; 15003 (void)jcls; 15004 (void)jarg1_; 15005 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 15006 result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData); 15007 *(btTypedConstraintDoubleData **)&jresult = result; 15008 return jresult; 15009 } 15010 15011 15012 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15013 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 15014 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 15015 15016 (void)jenv; 15017 (void)jcls; 15018 (void)jarg1_; 15019 (void)jarg2_; 15020 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 15021 arg2 = *(btVector3DoubleData **)&jarg2; 15022 if (arg1) (arg1)->m_pivotInA = *arg2; 15023 } 15024 15025 15026 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15027 jlong jresult = 0 ; 15028 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 15029 btVector3DoubleData *result = 0 ; 15030 15031 (void)jenv; 15032 (void)jcls; 15033 (void)jarg1_; 15034 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 15035 result = (btVector3DoubleData *)& ((arg1)->m_pivotInA); 15036 *(btVector3DoubleData **)&jresult = result; 15037 return jresult; 15038 } 15039 15040 15041 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15042 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 15043 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 15044 15045 (void)jenv; 15046 (void)jcls; 15047 (void)jarg1_; 15048 (void)jarg2_; 15049 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 15050 arg2 = *(btVector3DoubleData **)&jarg2; 15051 if (arg1) (arg1)->m_pivotInB = *arg2; 15052 } 15053 15054 15055 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData2_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15056 jlong jresult = 0 ; 15057 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 15058 btVector3DoubleData *result = 0 ; 15059 15060 (void)jenv; 15061 (void)jcls; 15062 (void)jarg1_; 15063 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 15064 result = (btVector3DoubleData *)& ((arg1)->m_pivotInB); 15065 *(btVector3DoubleData **)&jresult = result; 15066 return jresult; 15067 } 15068 15069 15070 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintDoubleData2(JNIEnv *jenv, jclass jcls) { 15071 jlong jresult = 0 ; 15072 btPoint2PointConstraintDoubleData2 *result = 0 ; 15073 15074 (void)jenv; 15075 (void)jcls; 15076 result = (btPoint2PointConstraintDoubleData2 *)new btPoint2PointConstraintDoubleData2(); 15077 *(btPoint2PointConstraintDoubleData2 **)&jresult = result; 15078 return jresult; 15079 } 15080 15081 15082 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 15083 btPoint2PointConstraintDoubleData2 *arg1 = (btPoint2PointConstraintDoubleData2 *) 0 ; 15084 15085 (void)jenv; 15086 (void)jcls; 15087 arg1 = *(btPoint2PointConstraintDoubleData2 **)&jarg1; 15088 delete arg1; 15089 } 15090 15091 15092 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15093 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15094 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 15095 15096 (void)jenv; 15097 (void)jcls; 15098 (void)jarg1_; 15099 (void)jarg2_; 15100 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15101 arg2 = *(btTypedConstraintData **)&jarg2; 15102 if (arg1) (arg1)->m_typeConstraintData = *arg2; 15103 } 15104 15105 15106 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15107 jlong jresult = 0 ; 15108 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15109 btTypedConstraintData *result = 0 ; 15110 15111 (void)jenv; 15112 (void)jcls; 15113 (void)jarg1_; 15114 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15115 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 15116 *(btTypedConstraintData **)&jresult = result; 15117 return jresult; 15118 } 15119 15120 15121 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15122 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15123 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 15124 15125 (void)jenv; 15126 (void)jcls; 15127 (void)jarg1_; 15128 (void)jarg2_; 15129 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15130 arg2 = *(btVector3DoubleData **)&jarg2; 15131 if (arg1) (arg1)->m_pivotInA = *arg2; 15132 } 15133 15134 15135 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15136 jlong jresult = 0 ; 15137 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15138 btVector3DoubleData *result = 0 ; 15139 15140 (void)jenv; 15141 (void)jcls; 15142 (void)jarg1_; 15143 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15144 result = (btVector3DoubleData *)& ((arg1)->m_pivotInA); 15145 *(btVector3DoubleData **)&jresult = result; 15146 return jresult; 15147 } 15148 15149 15150 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15151 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15152 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 15153 15154 (void)jenv; 15155 (void)jcls; 15156 (void)jarg1_; 15157 (void)jarg2_; 15158 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15159 arg2 = *(btVector3DoubleData **)&jarg2; 15160 if (arg1) (arg1)->m_pivotInB = *arg2; 15161 } 15162 15163 15164 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraintDoubleData_1pivotInB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15165 jlong jresult = 0 ; 15166 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15167 btVector3DoubleData *result = 0 ; 15168 15169 (void)jenv; 15170 (void)jcls; 15171 (void)jarg1_; 15172 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15173 result = (btVector3DoubleData *)& ((arg1)->m_pivotInB); 15174 *(btVector3DoubleData **)&jresult = result; 15175 return jresult; 15176 } 15177 15178 15179 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btPoint2PointConstraintDoubleData(JNIEnv *jenv, jclass jcls) { 15180 jlong jresult = 0 ; 15181 btPoint2PointConstraintDoubleData *result = 0 ; 15182 15183 (void)jenv; 15184 (void)jcls; 15185 result = (btPoint2PointConstraintDoubleData *)new btPoint2PointConstraintDoubleData(); 15186 *(btPoint2PointConstraintDoubleData **)&jresult = result; 15187 return jresult; 15188 } 15189 15190 15191 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btPoint2PointConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 15192 btPoint2PointConstraintDoubleData *arg1 = (btPoint2PointConstraintDoubleData *) 0 ; 15193 15194 (void)jenv; 15195 (void)jcls; 15196 arg1 = *(btPoint2PointConstraintDoubleData **)&jarg1; 15197 delete arg1; 15198 } 15199 15200 15201 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { 15202 jlong jresult = 0 ; 15203 btJacobianEntry *result = 0 ; 15204 15205 (void)jenv; 15206 (void)jcls; 15207 result = (btJacobianEntry *)new btJacobianEntry(); 15208 *(btJacobianEntry **)&jresult = result; 15209 return jresult; 15210 } 15211 15212 15213 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jfloat jarg9) { 15214 jlong jresult = 0 ; 15215 btMatrix3x3 *arg1 = 0 ; 15216 btMatrix3x3 *arg2 = 0 ; 15217 btVector3 *arg3 = 0 ; 15218 btVector3 *arg4 = 0 ; 15219 btVector3 *arg5 = 0 ; 15220 btVector3 *arg6 = 0 ; 15221 btScalar arg7 ; 15222 btVector3 *arg8 = 0 ; 15223 btScalar arg9 ; 15224 btJacobianEntry *result = 0 ; 15225 15226 (void)jenv; 15227 (void)jcls; 15228 btMatrix3x3 local_arg1; 15229 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1); 15230 arg1 = &local_arg1; 15231 gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1); 15232 btMatrix3x3 local_arg2; 15233 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2); 15234 arg2 = &local_arg2; 15235 gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2); 15236 btVector3 local_arg3; 15237 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 15238 arg3 = &local_arg3; 15239 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 15240 btVector3 local_arg4; 15241 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 15242 arg4 = &local_arg4; 15243 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15244 btVector3 local_arg5; 15245 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 15246 arg5 = &local_arg5; 15247 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 15248 btVector3 local_arg6; 15249 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 15250 arg6 = &local_arg6; 15251 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 15252 arg7 = (btScalar)jarg7; 15253 btVector3 local_arg8; 15254 gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8); 15255 arg8 = &local_arg8; 15256 gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8); 15257 arg9 = (btScalar)jarg9; 15258 result = (btJacobianEntry *)new btJacobianEntry((btMatrix3x3 const &)*arg1,(btMatrix3x3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,arg9); 15259 *(btJacobianEntry **)&jresult = result; 15260 return jresult; 15261 } 15262 15263 15264 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) { 15265 jlong jresult = 0 ; 15266 btVector3 *arg1 = 0 ; 15267 btMatrix3x3 *arg2 = 0 ; 15268 btMatrix3x3 *arg3 = 0 ; 15269 btVector3 *arg4 = 0 ; 15270 btVector3 *arg5 = 0 ; 15271 btJacobianEntry *result = 0 ; 15272 15273 (void)jenv; 15274 (void)jcls; 15275 btVector3 local_arg1; 15276 gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1); 15277 arg1 = &local_arg1; 15278 gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1); 15279 btMatrix3x3 local_arg2; 15280 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg2, jarg2); 15281 arg2 = &local_arg2; 15282 gdxAutoCommitMatrix3 auto_commit_arg2(jenv, jarg2, &local_arg2); 15283 btMatrix3x3 local_arg3; 15284 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg3, jarg3); 15285 arg3 = &local_arg3; 15286 gdxAutoCommitMatrix3 auto_commit_arg3(jenv, jarg3, &local_arg3); 15287 btVector3 local_arg4; 15288 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 15289 arg4 = &local_arg4; 15290 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15291 btVector3 local_arg5; 15292 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 15293 arg5 = &local_arg5; 15294 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 15295 result = (btJacobianEntry *)new btJacobianEntry((btVector3 const &)*arg1,(btMatrix3x3 const &)*arg2,(btMatrix3x3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5); 15296 *(btJacobianEntry **)&jresult = result; 15297 return jresult; 15298 } 15299 15300 15301 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4) { 15302 jlong jresult = 0 ; 15303 btVector3 *arg1 = 0 ; 15304 btVector3 *arg2 = 0 ; 15305 btVector3 *arg3 = 0 ; 15306 btVector3 *arg4 = 0 ; 15307 btJacobianEntry *result = 0 ; 15308 15309 (void)jenv; 15310 (void)jcls; 15311 btVector3 local_arg1; 15312 gdx_setbtVector3FromVector3(jenv, local_arg1, jarg1); 15313 arg1 = &local_arg1; 15314 gdxAutoCommitVector3 auto_commit_arg1(jenv, jarg1, &local_arg1); 15315 btVector3 local_arg2; 15316 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 15317 arg2 = &local_arg2; 15318 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 15319 btVector3 local_arg3; 15320 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 15321 arg3 = &local_arg3; 15322 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 15323 btVector3 local_arg4; 15324 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 15325 arg4 = &local_arg4; 15326 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15327 result = (btJacobianEntry *)new btJacobianEntry((btVector3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4); 15328 *(btJacobianEntry **)&jresult = result; 15329 return jresult; 15330 } 15331 15332 15333 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btJacobianEntry_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jobject jarg1, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5, jfloat jarg6) { 15334 jlong jresult = 0 ; 15335 btMatrix3x3 *arg1 = 0 ; 15336 btVector3 *arg2 = 0 ; 15337 btVector3 *arg3 = 0 ; 15338 btVector3 *arg4 = 0 ; 15339 btVector3 *arg5 = 0 ; 15340 btScalar arg6 ; 15341 btJacobianEntry *result = 0 ; 15342 15343 (void)jenv; 15344 (void)jcls; 15345 btMatrix3x3 local_arg1; 15346 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg1, jarg1); 15347 arg1 = &local_arg1; 15348 gdxAutoCommitMatrix3 auto_commit_arg1(jenv, jarg1, &local_arg1); 15349 btVector3 local_arg2; 15350 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 15351 arg2 = &local_arg2; 15352 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 15353 btVector3 local_arg3; 15354 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 15355 arg3 = &local_arg3; 15356 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 15357 btVector3 local_arg4; 15358 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 15359 arg4 = &local_arg4; 15360 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15361 btVector3 local_arg5; 15362 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 15363 arg5 = &local_arg5; 15364 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 15365 arg6 = (btScalar)jarg6; 15366 result = (btJacobianEntry *)new btJacobianEntry((btMatrix3x3 const &)*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,arg6); 15367 *(btJacobianEntry **)&jresult = result; 15368 return jresult; 15369 } 15370 15371 15372 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getDiagonal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15373 jfloat jresult = 0 ; 15374 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15375 btScalar result; 15376 15377 (void)jenv; 15378 (void)jcls; 15379 (void)jarg1_; 15380 arg1 = *(btJacobianEntry **)&jarg1; 15381 result = (btScalar)((btJacobianEntry const *)arg1)->getDiagonal(); 15382 jresult = (jfloat)result; 15383 return jresult; 15384 } 15385 15386 15387 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getNonDiagonal_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3) { 15388 jfloat jresult = 0 ; 15389 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15390 btJacobianEntry *arg2 = 0 ; 15391 btScalar arg3 ; 15392 btScalar result; 15393 15394 (void)jenv; 15395 (void)jcls; 15396 (void)jarg1_; 15397 (void)jarg2_; 15398 arg1 = *(btJacobianEntry **)&jarg1; 15399 arg2 = *(btJacobianEntry **)&jarg2; 15400 if (!arg2) { 15401 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btJacobianEntry const & reference is null"); 15402 return 0; 15403 } 15404 arg3 = (btScalar)jarg3; 15405 result = (btScalar)((btJacobianEntry const *)arg1)->getNonDiagonal((btJacobianEntry const &)*arg2,arg3); 15406 jresult = (jfloat)result; 15407 return jresult; 15408 } 15409 15410 15411 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getNonDiagonal_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jfloat jarg3, jfloat jarg4) { 15412 jfloat jresult = 0 ; 15413 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15414 btJacobianEntry *arg2 = 0 ; 15415 btScalar arg3 ; 15416 btScalar arg4 ; 15417 btScalar result; 15418 15419 (void)jenv; 15420 (void)jcls; 15421 (void)jarg1_; 15422 (void)jarg2_; 15423 arg1 = *(btJacobianEntry **)&jarg1; 15424 arg2 = *(btJacobianEntry **)&jarg2; 15425 if (!arg2) { 15426 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btJacobianEntry const & reference is null"); 15427 return 0; 15428 } 15429 arg3 = (btScalar)jarg3; 15430 arg4 = (btScalar)jarg4; 15431 result = (btScalar)((btJacobianEntry const *)arg1)->getNonDiagonal((btJacobianEntry const &)*arg2,arg3,arg4); 15432 jresult = (jfloat)result; 15433 return jresult; 15434 } 15435 15436 15437 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1getRelativeVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) { 15438 jfloat jresult = 0 ; 15439 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15440 btVector3 *arg2 = 0 ; 15441 btVector3 *arg3 = 0 ; 15442 btVector3 *arg4 = 0 ; 15443 btVector3 *arg5 = 0 ; 15444 btScalar result; 15445 15446 (void)jenv; 15447 (void)jcls; 15448 (void)jarg1_; 15449 arg1 = *(btJacobianEntry **)&jarg1; 15450 btVector3 local_arg2; 15451 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 15452 arg2 = &local_arg2; 15453 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 15454 btVector3 local_arg3; 15455 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 15456 arg3 = &local_arg3; 15457 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 15458 btVector3 local_arg4; 15459 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 15460 arg4 = &local_arg4; 15461 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15462 btVector3 local_arg5; 15463 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 15464 arg5 = &local_arg5; 15465 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 15466 result = (btScalar)(arg1)->getRelativeVelocity((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5); 15467 jresult = (jfloat)result; 15468 return jresult; 15469 } 15470 15471 15472 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1linearJointAxis_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15473 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15474 btVector3 *arg2 = (btVector3 *) 0 ; 15475 15476 (void)jenv; 15477 (void)jcls; 15478 (void)jarg1_; 15479 (void)jarg2_; 15480 arg1 = *(btJacobianEntry **)&jarg1; 15481 arg2 = *(btVector3 **)&jarg2; 15482 if (arg1) (arg1)->m_linearJointAxis = *arg2; 15483 } 15484 15485 15486 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1linearJointAxis_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15487 jlong jresult = 0 ; 15488 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15489 btVector3 *result = 0 ; 15490 15491 (void)jenv; 15492 (void)jcls; 15493 (void)jarg1_; 15494 arg1 = *(btJacobianEntry **)&jarg1; 15495 result = (btVector3 *)& ((arg1)->m_linearJointAxis); 15496 *(btVector3 **)&jresult = result; 15497 return jresult; 15498 } 15499 15500 15501 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1aJ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15502 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15503 btVector3 *arg2 = (btVector3 *) 0 ; 15504 15505 (void)jenv; 15506 (void)jcls; 15507 (void)jarg1_; 15508 (void)jarg2_; 15509 arg1 = *(btJacobianEntry **)&jarg1; 15510 arg2 = *(btVector3 **)&jarg2; 15511 if (arg1) (arg1)->m_aJ = *arg2; 15512 } 15513 15514 15515 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1aJ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15516 jlong jresult = 0 ; 15517 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15518 btVector3 *result = 0 ; 15519 15520 (void)jenv; 15521 (void)jcls; 15522 (void)jarg1_; 15523 arg1 = *(btJacobianEntry **)&jarg1; 15524 result = (btVector3 *)& ((arg1)->m_aJ); 15525 *(btVector3 **)&jresult = result; 15526 return jresult; 15527 } 15528 15529 15530 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1bJ_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15531 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15532 btVector3 *arg2 = (btVector3 *) 0 ; 15533 15534 (void)jenv; 15535 (void)jcls; 15536 (void)jarg1_; 15537 (void)jarg2_; 15538 arg1 = *(btJacobianEntry **)&jarg1; 15539 arg2 = *(btVector3 **)&jarg2; 15540 if (arg1) (arg1)->m_bJ = *arg2; 15541 } 15542 15543 15544 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1bJ_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15545 jlong jresult = 0 ; 15546 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15547 btVector3 *result = 0 ; 15548 15549 (void)jenv; 15550 (void)jcls; 15551 (void)jarg1_; 15552 arg1 = *(btJacobianEntry **)&jarg1; 15553 result = (btVector3 *)& ((arg1)->m_bJ); 15554 *(btVector3 **)&jresult = result; 15555 return jresult; 15556 } 15557 15558 15559 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_10MinvJt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15560 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15561 btVector3 *arg2 = (btVector3 *) 0 ; 15562 15563 (void)jenv; 15564 (void)jcls; 15565 (void)jarg1_; 15566 (void)jarg2_; 15567 arg1 = *(btJacobianEntry **)&jarg1; 15568 arg2 = *(btVector3 **)&jarg2; 15569 if (arg1) (arg1)->m_0MinvJt = *arg2; 15570 } 15571 15572 15573 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_10MinvJt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15574 jlong jresult = 0 ; 15575 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15576 btVector3 *result = 0 ; 15577 15578 (void)jenv; 15579 (void)jcls; 15580 (void)jarg1_; 15581 arg1 = *(btJacobianEntry **)&jarg1; 15582 result = (btVector3 *)& ((arg1)->m_0MinvJt); 15583 *(btVector3 **)&jresult = result; 15584 return jresult; 15585 } 15586 15587 15588 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_11MinvJt_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 15589 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15590 btVector3 *arg2 = (btVector3 *) 0 ; 15591 15592 (void)jenv; 15593 (void)jcls; 15594 (void)jarg1_; 15595 (void)jarg2_; 15596 arg1 = *(btJacobianEntry **)&jarg1; 15597 arg2 = *(btVector3 **)&jarg2; 15598 if (arg1) (arg1)->m_1MinvJt = *arg2; 15599 } 15600 15601 15602 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_11MinvJt_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15603 jlong jresult = 0 ; 15604 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15605 btVector3 *result = 0 ; 15606 15607 (void)jenv; 15608 (void)jcls; 15609 (void)jarg1_; 15610 arg1 = *(btJacobianEntry **)&jarg1; 15611 result = (btVector3 *)& ((arg1)->m_1MinvJt); 15612 *(btVector3 **)&jresult = result; 15613 return jresult; 15614 } 15615 15616 15617 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1Adiag_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 15618 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15619 btScalar arg2 ; 15620 15621 (void)jenv; 15622 (void)jcls; 15623 (void)jarg1_; 15624 arg1 = *(btJacobianEntry **)&jarg1; 15625 arg2 = (btScalar)jarg2; 15626 if (arg1) (arg1)->m_Adiag = arg2; 15627 } 15628 15629 15630 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btJacobianEntry_1Adiag_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15631 jfloat jresult = 0 ; 15632 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15633 btScalar result; 15634 15635 (void)jenv; 15636 (void)jcls; 15637 (void)jarg1_; 15638 arg1 = *(btJacobianEntry **)&jarg1; 15639 result = (btScalar) ((arg1)->m_Adiag); 15640 jresult = (jfloat)result; 15641 return jresult; 15642 } 15643 15644 15645 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btJacobianEntry(JNIEnv *jenv, jclass jcls, jlong jarg1) { 15646 btJacobianEntry *arg1 = (btJacobianEntry *) 0 ; 15647 15648 (void)jenv; 15649 (void)jcls; 15650 arg1 = *(btJacobianEntry **)&jarg1; 15651 delete arg1; 15652 } 15653 15654 15655 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolve2LinearConstraint(JNIEnv *jenv, jclass jcls, jfloat jarg1, jfloat jarg2) { 15656 jlong jresult = 0 ; 15657 btScalar arg1 ; 15658 btScalar arg2 ; 15659 btSolve2LinearConstraint *result = 0 ; 15660 15661 (void)jenv; 15662 (void)jcls; 15663 arg1 = (btScalar)jarg1; 15664 arg2 = (btScalar)jarg2; 15665 result = (btSolve2LinearConstraint *)new btSolve2LinearConstraint(arg1,arg2); 15666 *(btSolve2LinearConstraint **)&jresult = result; 15667 return jresult; 15668 } 15669 15670 15671 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolve2LinearConstraint_1resolveUnilateralPairConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jobject jarg10, jobject jarg11, jfloat jarg12, jobject jarg13, jobject jarg14, jobject jarg15, jfloat jarg16, jobject jarg17, jobject jarg18, jobject jarg19, jfloat jarg20, jobject jarg21, jlong jarg22, jlong jarg23) { 15672 btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ; 15673 btRigidBody *arg2 = (btRigidBody *) 0 ; 15674 btRigidBody *arg3 = (btRigidBody *) 0 ; 15675 btMatrix3x3 *arg4 = 0 ; 15676 btMatrix3x3 *arg5 = 0 ; 15677 btVector3 *arg6 = 0 ; 15678 btScalar arg7 ; 15679 btVector3 *arg8 = 0 ; 15680 btVector3 *arg9 = 0 ; 15681 btVector3 *arg10 = 0 ; 15682 btVector3 *arg11 = 0 ; 15683 btScalar arg12 ; 15684 btVector3 *arg13 = 0 ; 15685 btVector3 *arg14 = 0 ; 15686 btVector3 *arg15 = 0 ; 15687 btScalar arg16 ; 15688 btVector3 *arg17 = 0 ; 15689 btVector3 *arg18 = 0 ; 15690 btVector3 *arg19 = 0 ; 15691 btScalar arg20 ; 15692 btVector3 *arg21 = 0 ; 15693 btScalar *arg22 = 0 ; 15694 btScalar *arg23 = 0 ; 15695 15696 (void)jenv; 15697 (void)jcls; 15698 (void)jarg1_; 15699 (void)jarg2_; 15700 (void)jarg3_; 15701 arg1 = *(btSolve2LinearConstraint **)&jarg1; 15702 arg2 = *(btRigidBody **)&jarg2; 15703 arg3 = *(btRigidBody **)&jarg3; 15704 btMatrix3x3 local_arg4; 15705 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4); 15706 arg4 = &local_arg4; 15707 gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15708 btMatrix3x3 local_arg5; 15709 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5); 15710 arg5 = &local_arg5; 15711 gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5); 15712 btVector3 local_arg6; 15713 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 15714 arg6 = &local_arg6; 15715 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 15716 arg7 = (btScalar)jarg7; 15717 btVector3 local_arg8; 15718 gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8); 15719 arg8 = &local_arg8; 15720 gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8); 15721 btVector3 local_arg9; 15722 gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9); 15723 arg9 = &local_arg9; 15724 gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9); 15725 btVector3 local_arg10; 15726 gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10); 15727 arg10 = &local_arg10; 15728 gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10); 15729 btVector3 local_arg11; 15730 gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11); 15731 arg11 = &local_arg11; 15732 gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11); 15733 arg12 = (btScalar)jarg12; 15734 btVector3 local_arg13; 15735 gdx_setbtVector3FromVector3(jenv, local_arg13, jarg13); 15736 arg13 = &local_arg13; 15737 gdxAutoCommitVector3 auto_commit_arg13(jenv, jarg13, &local_arg13); 15738 btVector3 local_arg14; 15739 gdx_setbtVector3FromVector3(jenv, local_arg14, jarg14); 15740 arg14 = &local_arg14; 15741 gdxAutoCommitVector3 auto_commit_arg14(jenv, jarg14, &local_arg14); 15742 btVector3 local_arg15; 15743 gdx_setbtVector3FromVector3(jenv, local_arg15, jarg15); 15744 arg15 = &local_arg15; 15745 gdxAutoCommitVector3 auto_commit_arg15(jenv, jarg15, &local_arg15); 15746 arg16 = (btScalar)jarg16; 15747 btVector3 local_arg17; 15748 gdx_setbtVector3FromVector3(jenv, local_arg17, jarg17); 15749 arg17 = &local_arg17; 15750 gdxAutoCommitVector3 auto_commit_arg17(jenv, jarg17, &local_arg17); 15751 btVector3 local_arg18; 15752 gdx_setbtVector3FromVector3(jenv, local_arg18, jarg18); 15753 arg18 = &local_arg18; 15754 gdxAutoCommitVector3 auto_commit_arg18(jenv, jarg18, &local_arg18); 15755 btVector3 local_arg19; 15756 gdx_setbtVector3FromVector3(jenv, local_arg19, jarg19); 15757 arg19 = &local_arg19; 15758 gdxAutoCommitVector3 auto_commit_arg19(jenv, jarg19, &local_arg19); 15759 arg20 = (btScalar)jarg20; 15760 btVector3 local_arg21; 15761 gdx_setbtVector3FromVector3(jenv, local_arg21, jarg21); 15762 arg21 = &local_arg21; 15763 gdxAutoCommitVector3 auto_commit_arg21(jenv, jarg21, &local_arg21); 15764 arg22 = *(btScalar **)&jarg22; 15765 if (!arg22) { 15766 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null"); 15767 return ; 15768 } 15769 arg23 = *(btScalar **)&jarg23; 15770 if (!arg23) { 15771 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null"); 15772 return ; 15773 } 15774 (arg1)->resolveUnilateralPairConstraint(arg2,arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10,(btVector3 const &)*arg11,arg12,(btVector3 const &)*arg13,(btVector3 const &)*arg14,(btVector3 const &)*arg15,arg16,(btVector3 const &)*arg17,(btVector3 const &)*arg18,(btVector3 const &)*arg19,arg20,(btVector3 const &)*arg21,*arg22,*arg23); 15775 } 15776 15777 15778 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolve2LinearConstraint_1resolveBilateralPairConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jobject jarg4, jobject jarg5, jobject jarg6, jfloat jarg7, jobject jarg8, jobject jarg9, jobject jarg10, jobject jarg11, jfloat jarg12, jobject jarg13, jobject jarg14, jobject jarg15, jfloat jarg16, jobject jarg17, jobject jarg18, jobject jarg19, jfloat jarg20, jobject jarg21, jlong jarg22, jlong jarg23) { 15779 btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ; 15780 btRigidBody *arg2 = (btRigidBody *) 0 ; 15781 btRigidBody *arg3 = (btRigidBody *) 0 ; 15782 btMatrix3x3 *arg4 = 0 ; 15783 btMatrix3x3 *arg5 = 0 ; 15784 btVector3 *arg6 = 0 ; 15785 btScalar arg7 ; 15786 btVector3 *arg8 = 0 ; 15787 btVector3 *arg9 = 0 ; 15788 btVector3 *arg10 = 0 ; 15789 btVector3 *arg11 = 0 ; 15790 btScalar arg12 ; 15791 btVector3 *arg13 = 0 ; 15792 btVector3 *arg14 = 0 ; 15793 btVector3 *arg15 = 0 ; 15794 btScalar arg16 ; 15795 btVector3 *arg17 = 0 ; 15796 btVector3 *arg18 = 0 ; 15797 btVector3 *arg19 = 0 ; 15798 btScalar arg20 ; 15799 btVector3 *arg21 = 0 ; 15800 btScalar *arg22 = 0 ; 15801 btScalar *arg23 = 0 ; 15802 15803 (void)jenv; 15804 (void)jcls; 15805 (void)jarg1_; 15806 (void)jarg2_; 15807 (void)jarg3_; 15808 arg1 = *(btSolve2LinearConstraint **)&jarg1; 15809 arg2 = *(btRigidBody **)&jarg2; 15810 arg3 = *(btRigidBody **)&jarg3; 15811 btMatrix3x3 local_arg4; 15812 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4); 15813 arg4 = &local_arg4; 15814 gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4); 15815 btMatrix3x3 local_arg5; 15816 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5); 15817 arg5 = &local_arg5; 15818 gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5); 15819 btVector3 local_arg6; 15820 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 15821 arg6 = &local_arg6; 15822 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 15823 arg7 = (btScalar)jarg7; 15824 btVector3 local_arg8; 15825 gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8); 15826 arg8 = &local_arg8; 15827 gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8); 15828 btVector3 local_arg9; 15829 gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9); 15830 arg9 = &local_arg9; 15831 gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9); 15832 btVector3 local_arg10; 15833 gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10); 15834 arg10 = &local_arg10; 15835 gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10); 15836 btVector3 local_arg11; 15837 gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11); 15838 arg11 = &local_arg11; 15839 gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11); 15840 arg12 = (btScalar)jarg12; 15841 btVector3 local_arg13; 15842 gdx_setbtVector3FromVector3(jenv, local_arg13, jarg13); 15843 arg13 = &local_arg13; 15844 gdxAutoCommitVector3 auto_commit_arg13(jenv, jarg13, &local_arg13); 15845 btVector3 local_arg14; 15846 gdx_setbtVector3FromVector3(jenv, local_arg14, jarg14); 15847 arg14 = &local_arg14; 15848 gdxAutoCommitVector3 auto_commit_arg14(jenv, jarg14, &local_arg14); 15849 btVector3 local_arg15; 15850 gdx_setbtVector3FromVector3(jenv, local_arg15, jarg15); 15851 arg15 = &local_arg15; 15852 gdxAutoCommitVector3 auto_commit_arg15(jenv, jarg15, &local_arg15); 15853 arg16 = (btScalar)jarg16; 15854 btVector3 local_arg17; 15855 gdx_setbtVector3FromVector3(jenv, local_arg17, jarg17); 15856 arg17 = &local_arg17; 15857 gdxAutoCommitVector3 auto_commit_arg17(jenv, jarg17, &local_arg17); 15858 btVector3 local_arg18; 15859 gdx_setbtVector3FromVector3(jenv, local_arg18, jarg18); 15860 arg18 = &local_arg18; 15861 gdxAutoCommitVector3 auto_commit_arg18(jenv, jarg18, &local_arg18); 15862 btVector3 local_arg19; 15863 gdx_setbtVector3FromVector3(jenv, local_arg19, jarg19); 15864 arg19 = &local_arg19; 15865 gdxAutoCommitVector3 auto_commit_arg19(jenv, jarg19, &local_arg19); 15866 arg20 = (btScalar)jarg20; 15867 btVector3 local_arg21; 15868 gdx_setbtVector3FromVector3(jenv, local_arg21, jarg21); 15869 arg21 = &local_arg21; 15870 gdxAutoCommitVector3 auto_commit_arg21(jenv, jarg21, &local_arg21); 15871 arg22 = *(btScalar **)&jarg22; 15872 if (!arg22) { 15873 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null"); 15874 return ; 15875 } 15876 arg23 = *(btScalar **)&jarg23; 15877 if (!arg23) { 15878 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null"); 15879 return ; 15880 } 15881 (arg1)->resolveBilateralPairConstraint(arg2,arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5,(btVector3 const &)*arg6,arg7,(btVector3 const &)*arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10,(btVector3 const &)*arg11,arg12,(btVector3 const &)*arg13,(btVector3 const &)*arg14,(btVector3 const &)*arg15,arg16,(btVector3 const &)*arg17,(btVector3 const &)*arg18,(btVector3 const &)*arg19,arg20,(btVector3 const &)*arg21,*arg22,*arg23); 15882 } 15883 15884 15885 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolve2LinearConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 15886 btSolve2LinearConstraint *arg1 = (btSolve2LinearConstraint *) 0 ; 15887 15888 (void)jenv; 15889 (void)jcls; 15890 arg1 = *(btSolve2LinearConstraint **)&jarg1; 15891 delete arg1; 15892 } 15893 15894 15895 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1loLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 15896 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15897 btScalar arg2 ; 15898 15899 (void)jenv; 15900 (void)jcls; 15901 (void)jarg1_; 15902 arg1 = *(btRotationalLimitMotor **)&jarg1; 15903 arg2 = (btScalar)jarg2; 15904 if (arg1) (arg1)->m_loLimit = arg2; 15905 } 15906 15907 15908 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1loLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15909 jfloat jresult = 0 ; 15910 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15911 btScalar result; 15912 15913 (void)jenv; 15914 (void)jcls; 15915 (void)jarg1_; 15916 arg1 = *(btRotationalLimitMotor **)&jarg1; 15917 result = (btScalar) ((arg1)->m_loLimit); 15918 jresult = (jfloat)result; 15919 return jresult; 15920 } 15921 15922 15923 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1hiLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 15924 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15925 btScalar arg2 ; 15926 15927 (void)jenv; 15928 (void)jcls; 15929 (void)jarg1_; 15930 arg1 = *(btRotationalLimitMotor **)&jarg1; 15931 arg2 = (btScalar)jarg2; 15932 if (arg1) (arg1)->m_hiLimit = arg2; 15933 } 15934 15935 15936 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1hiLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15937 jfloat jresult = 0 ; 15938 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15939 btScalar result; 15940 15941 (void)jenv; 15942 (void)jcls; 15943 (void)jarg1_; 15944 arg1 = *(btRotationalLimitMotor **)&jarg1; 15945 result = (btScalar) ((arg1)->m_hiLimit); 15946 jresult = (jfloat)result; 15947 return jresult; 15948 } 15949 15950 15951 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 15952 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15953 btScalar arg2 ; 15954 15955 (void)jenv; 15956 (void)jcls; 15957 (void)jarg1_; 15958 arg1 = *(btRotationalLimitMotor **)&jarg1; 15959 arg2 = (btScalar)jarg2; 15960 if (arg1) (arg1)->m_targetVelocity = arg2; 15961 } 15962 15963 15964 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15965 jfloat jresult = 0 ; 15966 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15967 btScalar result; 15968 15969 (void)jenv; 15970 (void)jcls; 15971 (void)jarg1_; 15972 arg1 = *(btRotationalLimitMotor **)&jarg1; 15973 result = (btScalar) ((arg1)->m_targetVelocity); 15974 jresult = (jfloat)result; 15975 return jresult; 15976 } 15977 15978 15979 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 15980 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15981 btScalar arg2 ; 15982 15983 (void)jenv; 15984 (void)jcls; 15985 (void)jarg1_; 15986 arg1 = *(btRotationalLimitMotor **)&jarg1; 15987 arg2 = (btScalar)jarg2; 15988 if (arg1) (arg1)->m_maxMotorForce = arg2; 15989 } 15990 15991 15992 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 15993 jfloat jresult = 0 ; 15994 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 15995 btScalar result; 15996 15997 (void)jenv; 15998 (void)jcls; 15999 (void)jarg1_; 16000 arg1 = *(btRotationalLimitMotor **)&jarg1; 16001 result = (btScalar) ((arg1)->m_maxMotorForce); 16002 jresult = (jfloat)result; 16003 return jresult; 16004 } 16005 16006 16007 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxLimitForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16008 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16009 btScalar arg2 ; 16010 16011 (void)jenv; 16012 (void)jcls; 16013 (void)jarg1_; 16014 arg1 = *(btRotationalLimitMotor **)&jarg1; 16015 arg2 = (btScalar)jarg2; 16016 if (arg1) (arg1)->m_maxLimitForce = arg2; 16017 } 16018 16019 16020 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1maxLimitForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16021 jfloat jresult = 0 ; 16022 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16023 btScalar result; 16024 16025 (void)jenv; 16026 (void)jcls; 16027 (void)jarg1_; 16028 arg1 = *(btRotationalLimitMotor **)&jarg1; 16029 result = (btScalar) ((arg1)->m_maxLimitForce); 16030 jresult = (jfloat)result; 16031 return jresult; 16032 } 16033 16034 16035 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16036 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16037 btScalar arg2 ; 16038 16039 (void)jenv; 16040 (void)jcls; 16041 (void)jarg1_; 16042 arg1 = *(btRotationalLimitMotor **)&jarg1; 16043 arg2 = (btScalar)jarg2; 16044 if (arg1) (arg1)->m_damping = arg2; 16045 } 16046 16047 16048 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16049 jfloat jresult = 0 ; 16050 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16051 btScalar result; 16052 16053 (void)jenv; 16054 (void)jcls; 16055 (void)jarg1_; 16056 arg1 = *(btRotationalLimitMotor **)&jarg1; 16057 result = (btScalar) ((arg1)->m_damping); 16058 jresult = (jfloat)result; 16059 return jresult; 16060 } 16061 16062 16063 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16064 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16065 btScalar arg2 ; 16066 16067 (void)jenv; 16068 (void)jcls; 16069 (void)jarg1_; 16070 arg1 = *(btRotationalLimitMotor **)&jarg1; 16071 arg2 = (btScalar)jarg2; 16072 if (arg1) (arg1)->m_limitSoftness = arg2; 16073 } 16074 16075 16076 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16077 jfloat jresult = 0 ; 16078 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16079 btScalar result; 16080 16081 (void)jenv; 16082 (void)jcls; 16083 (void)jarg1_; 16084 arg1 = *(btRotationalLimitMotor **)&jarg1; 16085 result = (btScalar) ((arg1)->m_limitSoftness); 16086 jresult = (jfloat)result; 16087 return jresult; 16088 } 16089 16090 16091 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1normalCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16092 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16093 btScalar arg2 ; 16094 16095 (void)jenv; 16096 (void)jcls; 16097 (void)jarg1_; 16098 arg1 = *(btRotationalLimitMotor **)&jarg1; 16099 arg2 = (btScalar)jarg2; 16100 if (arg1) (arg1)->m_normalCFM = arg2; 16101 } 16102 16103 16104 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1normalCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16105 jfloat jresult = 0 ; 16106 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16107 btScalar result; 16108 16109 (void)jenv; 16110 (void)jcls; 16111 (void)jarg1_; 16112 arg1 = *(btRotationalLimitMotor **)&jarg1; 16113 result = (btScalar) ((arg1)->m_normalCFM); 16114 jresult = (jfloat)result; 16115 return jresult; 16116 } 16117 16118 16119 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16120 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16121 btScalar arg2 ; 16122 16123 (void)jenv; 16124 (void)jcls; 16125 (void)jarg1_; 16126 arg1 = *(btRotationalLimitMotor **)&jarg1; 16127 arg2 = (btScalar)jarg2; 16128 if (arg1) (arg1)->m_stopERP = arg2; 16129 } 16130 16131 16132 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16133 jfloat jresult = 0 ; 16134 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16135 btScalar result; 16136 16137 (void)jenv; 16138 (void)jcls; 16139 (void)jarg1_; 16140 arg1 = *(btRotationalLimitMotor **)&jarg1; 16141 result = (btScalar) ((arg1)->m_stopERP); 16142 jresult = (jfloat)result; 16143 return jresult; 16144 } 16145 16146 16147 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16148 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16149 btScalar arg2 ; 16150 16151 (void)jenv; 16152 (void)jcls; 16153 (void)jarg1_; 16154 arg1 = *(btRotationalLimitMotor **)&jarg1; 16155 arg2 = (btScalar)jarg2; 16156 if (arg1) (arg1)->m_stopCFM = arg2; 16157 } 16158 16159 16160 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16161 jfloat jresult = 0 ; 16162 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16163 btScalar result; 16164 16165 (void)jenv; 16166 (void)jcls; 16167 (void)jarg1_; 16168 arg1 = *(btRotationalLimitMotor **)&jarg1; 16169 result = (btScalar) ((arg1)->m_stopCFM); 16170 jresult = (jfloat)result; 16171 return jresult; 16172 } 16173 16174 16175 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16176 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16177 btScalar arg2 ; 16178 16179 (void)jenv; 16180 (void)jcls; 16181 (void)jarg1_; 16182 arg1 = *(btRotationalLimitMotor **)&jarg1; 16183 arg2 = (btScalar)jarg2; 16184 if (arg1) (arg1)->m_bounce = arg2; 16185 } 16186 16187 16188 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16189 jfloat jresult = 0 ; 16190 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16191 btScalar result; 16192 16193 (void)jenv; 16194 (void)jcls; 16195 (void)jarg1_; 16196 arg1 = *(btRotationalLimitMotor **)&jarg1; 16197 result = (btScalar) ((arg1)->m_bounce); 16198 jresult = (jfloat)result; 16199 return jresult; 16200 } 16201 16202 16203 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 16204 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16205 bool arg2 ; 16206 16207 (void)jenv; 16208 (void)jcls; 16209 (void)jarg1_; 16210 arg1 = *(btRotationalLimitMotor **)&jarg1; 16211 arg2 = jarg2 ? true : false; 16212 if (arg1) (arg1)->m_enableMotor = arg2; 16213 } 16214 16215 16216 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16217 jboolean jresult = 0 ; 16218 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16219 bool result; 16220 16221 (void)jenv; 16222 (void)jcls; 16223 (void)jarg1_; 16224 arg1 = *(btRotationalLimitMotor **)&jarg1; 16225 result = (bool) ((arg1)->m_enableMotor); 16226 jresult = (jboolean)result; 16227 return jresult; 16228 } 16229 16230 16231 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16232 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16233 btScalar arg2 ; 16234 16235 (void)jenv; 16236 (void)jcls; 16237 (void)jarg1_; 16238 arg1 = *(btRotationalLimitMotor **)&jarg1; 16239 arg2 = (btScalar)jarg2; 16240 if (arg1) (arg1)->m_currentLimitError = arg2; 16241 } 16242 16243 16244 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16245 jfloat jresult = 0 ; 16246 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16247 btScalar result; 16248 16249 (void)jenv; 16250 (void)jcls; 16251 (void)jarg1_; 16252 arg1 = *(btRotationalLimitMotor **)&jarg1; 16253 result = (btScalar) ((arg1)->m_currentLimitError); 16254 jresult = (jfloat)result; 16255 return jresult; 16256 } 16257 16258 16259 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentPosition_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16260 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16261 btScalar arg2 ; 16262 16263 (void)jenv; 16264 (void)jcls; 16265 (void)jarg1_; 16266 arg1 = *(btRotationalLimitMotor **)&jarg1; 16267 arg2 = (btScalar)jarg2; 16268 if (arg1) (arg1)->m_currentPosition = arg2; 16269 } 16270 16271 16272 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentPosition_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16273 jfloat jresult = 0 ; 16274 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16275 btScalar result; 16276 16277 (void)jenv; 16278 (void)jcls; 16279 (void)jarg1_; 16280 arg1 = *(btRotationalLimitMotor **)&jarg1; 16281 result = (btScalar) ((arg1)->m_currentPosition); 16282 jresult = (jfloat)result; 16283 return jresult; 16284 } 16285 16286 16287 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 16288 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16289 int arg2 ; 16290 16291 (void)jenv; 16292 (void)jcls; 16293 (void)jarg1_; 16294 arg1 = *(btRotationalLimitMotor **)&jarg1; 16295 arg2 = (int)jarg2; 16296 if (arg1) (arg1)->m_currentLimit = arg2; 16297 } 16298 16299 16300 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16301 jint jresult = 0 ; 16302 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16303 int result; 16304 16305 (void)jenv; 16306 (void)jcls; 16307 (void)jarg1_; 16308 arg1 = *(btRotationalLimitMotor **)&jarg1; 16309 result = (int) ((arg1)->m_currentLimit); 16310 jresult = (jint)result; 16311 return jresult; 16312 } 16313 16314 16315 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1accumulatedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16316 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16317 btScalar arg2 ; 16318 16319 (void)jenv; 16320 (void)jcls; 16321 (void)jarg1_; 16322 arg1 = *(btRotationalLimitMotor **)&jarg1; 16323 arg2 = (btScalar)jarg2; 16324 if (arg1) (arg1)->m_accumulatedImpulse = arg2; 16325 } 16326 16327 16328 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1accumulatedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16329 jfloat jresult = 0 ; 16330 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16331 btScalar result; 16332 16333 (void)jenv; 16334 (void)jcls; 16335 (void)jarg1_; 16336 arg1 = *(btRotationalLimitMotor **)&jarg1; 16337 result = (btScalar) ((arg1)->m_accumulatedImpulse); 16338 jresult = (jfloat)result; 16339 return jresult; 16340 } 16341 16342 16343 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { 16344 jlong jresult = 0 ; 16345 btRotationalLimitMotor *result = 0 ; 16346 16347 (void)jenv; 16348 (void)jcls; 16349 result = (btRotationalLimitMotor *)new btRotationalLimitMotor(); 16350 *(btRotationalLimitMotor **)&jresult = result; 16351 return jresult; 16352 } 16353 16354 16355 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16356 jlong jresult = 0 ; 16357 btRotationalLimitMotor *arg1 = 0 ; 16358 btRotationalLimitMotor *result = 0 ; 16359 16360 (void)jenv; 16361 (void)jcls; 16362 (void)jarg1_; 16363 arg1 = *(btRotationalLimitMotor **)&jarg1; 16364 if (!arg1) { 16365 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRotationalLimitMotor const & reference is null"); 16366 return 0; 16367 } 16368 result = (btRotationalLimitMotor *)new btRotationalLimitMotor((btRotationalLimitMotor const &)*arg1); 16369 *(btRotationalLimitMotor **)&jresult = result; 16370 return jresult; 16371 } 16372 16373 16374 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16375 jboolean jresult = 0 ; 16376 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16377 bool result; 16378 16379 (void)jenv; 16380 (void)jcls; 16381 (void)jarg1_; 16382 arg1 = *(btRotationalLimitMotor **)&jarg1; 16383 result = (bool)(arg1)->isLimited(); 16384 jresult = (jboolean)result; 16385 return jresult; 16386 } 16387 16388 16389 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1needApplyTorques(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16390 jboolean jresult = 0 ; 16391 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16392 bool result; 16393 16394 (void)jenv; 16395 (void)jcls; 16396 (void)jarg1_; 16397 arg1 = *(btRotationalLimitMotor **)&jarg1; 16398 result = (bool)(arg1)->needApplyTorques(); 16399 jresult = (jboolean)result; 16400 return jresult; 16401 } 16402 16403 16404 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16405 jint jresult = 0 ; 16406 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16407 btScalar arg2 ; 16408 int result; 16409 16410 (void)jenv; 16411 (void)jcls; 16412 (void)jarg1_; 16413 arg1 = *(btRotationalLimitMotor **)&jarg1; 16414 arg2 = (btScalar)jarg2; 16415 result = (int)(arg1)->testLimitValue(arg2); 16416 jresult = (jint)result; 16417 return jresult; 16418 } 16419 16420 16421 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor_1solveAngularLimits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jobject jarg3, jfloat jarg4, jlong jarg5, jobject jarg5_, jlong jarg6, jobject jarg6_) { 16422 jfloat jresult = 0 ; 16423 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16424 btScalar arg2 ; 16425 btVector3 *arg3 = 0 ; 16426 btScalar arg4 ; 16427 btRigidBody *arg5 = (btRigidBody *) 0 ; 16428 btRigidBody *arg6 = (btRigidBody *) 0 ; 16429 btScalar result; 16430 16431 (void)jenv; 16432 (void)jcls; 16433 (void)jarg1_; 16434 (void)jarg5_; 16435 (void)jarg6_; 16436 arg1 = *(btRotationalLimitMotor **)&jarg1; 16437 arg2 = (btScalar)jarg2; 16438 btVector3 local_arg3; 16439 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 16440 arg3 = &local_arg3; 16441 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 16442 arg4 = (btScalar)jarg4; 16443 arg5 = *(btRigidBody **)&jarg5; 16444 arg6 = *(btRigidBody **)&jarg6; 16445 result = (btScalar)(arg1)->solveAngularLimits(arg2,*arg3,arg4,arg5,arg6); 16446 jresult = (jfloat)result; 16447 return jresult; 16448 } 16449 16450 16451 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) { 16452 btRotationalLimitMotor *arg1 = (btRotationalLimitMotor *) 0 ; 16453 16454 (void)jenv; 16455 (void)jcls; 16456 arg1 = *(btRotationalLimitMotor **)&jarg1; 16457 delete arg1; 16458 } 16459 16460 16461 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16462 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16463 btVector3 *arg2 = (btVector3 *) 0 ; 16464 16465 (void)jenv; 16466 (void)jcls; 16467 (void)jarg1_; 16468 (void)jarg2_; 16469 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16470 arg2 = *(btVector3 **)&jarg2; 16471 if (arg1) (arg1)->m_lowerLimit = *arg2; 16472 } 16473 16474 16475 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16476 jlong jresult = 0 ; 16477 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16478 btVector3 *result = 0 ; 16479 16480 (void)jenv; 16481 (void)jcls; 16482 (void)jarg1_; 16483 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16484 result = (btVector3 *)& ((arg1)->m_lowerLimit); 16485 *(btVector3 **)&jresult = result; 16486 return jresult; 16487 } 16488 16489 16490 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16491 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16492 btVector3 *arg2 = (btVector3 *) 0 ; 16493 16494 (void)jenv; 16495 (void)jcls; 16496 (void)jarg1_; 16497 (void)jarg2_; 16498 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16499 arg2 = *(btVector3 **)&jarg2; 16500 if (arg1) (arg1)->m_upperLimit = *arg2; 16501 } 16502 16503 16504 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16505 jlong jresult = 0 ; 16506 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16507 btVector3 *result = 0 ; 16508 16509 (void)jenv; 16510 (void)jcls; 16511 (void)jarg1_; 16512 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16513 result = (btVector3 *)& ((arg1)->m_upperLimit); 16514 *(btVector3 **)&jresult = result; 16515 return jresult; 16516 } 16517 16518 16519 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1accumulatedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16520 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16521 btVector3 *arg2 = (btVector3 *) 0 ; 16522 16523 (void)jenv; 16524 (void)jcls; 16525 (void)jarg1_; 16526 (void)jarg2_; 16527 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16528 arg2 = *(btVector3 **)&jarg2; 16529 if (arg1) (arg1)->m_accumulatedImpulse = *arg2; 16530 } 16531 16532 16533 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1accumulatedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16534 jlong jresult = 0 ; 16535 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16536 btVector3 *result = 0 ; 16537 16538 (void)jenv; 16539 (void)jcls; 16540 (void)jarg1_; 16541 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16542 result = (btVector3 *)& ((arg1)->m_accumulatedImpulse); 16543 *(btVector3 **)&jresult = result; 16544 return jresult; 16545 } 16546 16547 16548 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16549 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16550 btScalar arg2 ; 16551 16552 (void)jenv; 16553 (void)jcls; 16554 (void)jarg1_; 16555 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16556 arg2 = (btScalar)jarg2; 16557 if (arg1) (arg1)->m_limitSoftness = arg2; 16558 } 16559 16560 16561 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16562 jfloat jresult = 0 ; 16563 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16564 btScalar result; 16565 16566 (void)jenv; 16567 (void)jcls; 16568 (void)jarg1_; 16569 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16570 result = (btScalar) ((arg1)->m_limitSoftness); 16571 jresult = (jfloat)result; 16572 return jresult; 16573 } 16574 16575 16576 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16577 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16578 btScalar arg2 ; 16579 16580 (void)jenv; 16581 (void)jcls; 16582 (void)jarg1_; 16583 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16584 arg2 = (btScalar)jarg2; 16585 if (arg1) (arg1)->m_damping = arg2; 16586 } 16587 16588 16589 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16590 jfloat jresult = 0 ; 16591 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16592 btScalar result; 16593 16594 (void)jenv; 16595 (void)jcls; 16596 (void)jarg1_; 16597 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16598 result = (btScalar) ((arg1)->m_damping); 16599 jresult = (jfloat)result; 16600 return jresult; 16601 } 16602 16603 16604 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1restitution_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 16605 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16606 btScalar arg2 ; 16607 16608 (void)jenv; 16609 (void)jcls; 16610 (void)jarg1_; 16611 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16612 arg2 = (btScalar)jarg2; 16613 if (arg1) (arg1)->m_restitution = arg2; 16614 } 16615 16616 16617 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1restitution_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16618 jfloat jresult = 0 ; 16619 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16620 btScalar result; 16621 16622 (void)jenv; 16623 (void)jcls; 16624 (void)jarg1_; 16625 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16626 result = (btScalar) ((arg1)->m_restitution); 16627 jresult = (jfloat)result; 16628 return jresult; 16629 } 16630 16631 16632 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1normalCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16633 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16634 btVector3 *arg2 = (btVector3 *) 0 ; 16635 16636 (void)jenv; 16637 (void)jcls; 16638 (void)jarg1_; 16639 (void)jarg2_; 16640 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16641 arg2 = *(btVector3 **)&jarg2; 16642 if (arg1) (arg1)->m_normalCFM = *arg2; 16643 } 16644 16645 16646 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1normalCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16647 jlong jresult = 0 ; 16648 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16649 btVector3 *result = 0 ; 16650 16651 (void)jenv; 16652 (void)jcls; 16653 (void)jarg1_; 16654 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16655 result = (btVector3 *)& ((arg1)->m_normalCFM); 16656 *(btVector3 **)&jresult = result; 16657 return jresult; 16658 } 16659 16660 16661 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16662 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16663 btVector3 *arg2 = (btVector3 *) 0 ; 16664 16665 (void)jenv; 16666 (void)jcls; 16667 (void)jarg1_; 16668 (void)jarg2_; 16669 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16670 arg2 = *(btVector3 **)&jarg2; 16671 if (arg1) (arg1)->m_stopERP = *arg2; 16672 } 16673 16674 16675 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16676 jlong jresult = 0 ; 16677 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16678 btVector3 *result = 0 ; 16679 16680 (void)jenv; 16681 (void)jcls; 16682 (void)jarg1_; 16683 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16684 result = (btVector3 *)& ((arg1)->m_stopERP); 16685 *(btVector3 **)&jresult = result; 16686 return jresult; 16687 } 16688 16689 16690 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16691 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16692 btVector3 *arg2 = (btVector3 *) 0 ; 16693 16694 (void)jenv; 16695 (void)jcls; 16696 (void)jarg1_; 16697 (void)jarg2_; 16698 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16699 arg2 = *(btVector3 **)&jarg2; 16700 if (arg1) (arg1)->m_stopCFM = *arg2; 16701 } 16702 16703 16704 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16705 jlong jresult = 0 ; 16706 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16707 btVector3 *result = 0 ; 16708 16709 (void)jenv; 16710 (void)jcls; 16711 (void)jarg1_; 16712 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16713 result = (btVector3 *)& ((arg1)->m_stopCFM); 16714 *(btVector3 **)&jresult = result; 16715 return jresult; 16716 } 16717 16718 16719 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) { 16720 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16721 bool *arg2 ; 16722 16723 (void)jenv; 16724 (void)jcls; 16725 (void)jarg1_; 16726 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16727 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 16728 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 16729 return ; 16730 } 16731 arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 16732 { 16733 size_t ii; 16734 bool *b = (bool *) arg1->m_enableMotor; 16735 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii); 16736 } 16737 jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0); 16738 } 16739 16740 16741 SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16742 jbooleanArray jresult = 0 ; 16743 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16744 bool *result = 0 ; 16745 16746 (void)jenv; 16747 (void)jcls; 16748 (void)jarg1_; 16749 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16750 result = (bool *)(bool *) ((arg1)->m_enableMotor); 16751 /*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/ 16752 return jresult; 16753 } 16754 16755 16756 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16757 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16758 btVector3 *arg2 = (btVector3 *) 0 ; 16759 16760 (void)jenv; 16761 (void)jcls; 16762 (void)jarg1_; 16763 (void)jarg2_; 16764 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16765 arg2 = *(btVector3 **)&jarg2; 16766 if (arg1) (arg1)->m_targetVelocity = *arg2; 16767 } 16768 16769 16770 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16771 jlong jresult = 0 ; 16772 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16773 btVector3 *result = 0 ; 16774 16775 (void)jenv; 16776 (void)jcls; 16777 (void)jarg1_; 16778 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16779 result = (btVector3 *)& ((arg1)->m_targetVelocity); 16780 *(btVector3 **)&jresult = result; 16781 return jresult; 16782 } 16783 16784 16785 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16786 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16787 btVector3 *arg2 = (btVector3 *) 0 ; 16788 16789 (void)jenv; 16790 (void)jcls; 16791 (void)jarg1_; 16792 (void)jarg2_; 16793 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16794 arg2 = *(btVector3 **)&jarg2; 16795 if (arg1) (arg1)->m_maxMotorForce = *arg2; 16796 } 16797 16798 16799 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16800 jlong jresult = 0 ; 16801 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16802 btVector3 *result = 0 ; 16803 16804 (void)jenv; 16805 (void)jcls; 16806 (void)jarg1_; 16807 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16808 result = (btVector3 *)& ((arg1)->m_maxMotorForce); 16809 *(btVector3 **)&jresult = result; 16810 return jresult; 16811 } 16812 16813 16814 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16815 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16816 btVector3 *arg2 = (btVector3 *) 0 ; 16817 16818 (void)jenv; 16819 (void)jcls; 16820 (void)jarg1_; 16821 (void)jarg2_; 16822 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16823 arg2 = *(btVector3 **)&jarg2; 16824 if (arg1) (arg1)->m_currentLimitError = *arg2; 16825 } 16826 16827 16828 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16829 jlong jresult = 0 ; 16830 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16831 btVector3 *result = 0 ; 16832 16833 (void)jenv; 16834 (void)jcls; 16835 (void)jarg1_; 16836 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16837 result = (btVector3 *)& ((arg1)->m_currentLimitError); 16838 *(btVector3 **)&jresult = result; 16839 return jresult; 16840 } 16841 16842 16843 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLinearDiff_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 16844 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16845 btVector3 *arg2 = (btVector3 *) 0 ; 16846 16847 (void)jenv; 16848 (void)jcls; 16849 (void)jarg1_; 16850 (void)jarg2_; 16851 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16852 arg2 = *(btVector3 **)&jarg2; 16853 if (arg1) (arg1)->m_currentLinearDiff = *arg2; 16854 } 16855 16856 16857 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLinearDiff_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16858 jlong jresult = 0 ; 16859 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16860 btVector3 *result = 0 ; 16861 16862 (void)jenv; 16863 (void)jcls; 16864 (void)jarg1_; 16865 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16866 result = (btVector3 *)& ((arg1)->m_currentLinearDiff); 16867 *(btVector3 **)&jresult = result; 16868 return jresult; 16869 } 16870 16871 16872 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) { 16873 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16874 int *arg2 ; 16875 16876 (void)jenv; 16877 (void)jcls; 16878 (void)jarg1_; 16879 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16880 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 16881 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 16882 return ; 16883 } 16884 arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 16885 { 16886 size_t ii; 16887 int *b = (int *) arg1->m_currentLimit; 16888 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii); 16889 } 16890 jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0); 16891 } 16892 16893 16894 SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16895 jintArray jresult = 0 ; 16896 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16897 int *result = 0 ; 16898 16899 (void)jenv; 16900 (void)jcls; 16901 (void)jarg1_; 16902 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16903 result = (int *)(int *) ((arg1)->m_currentLimit); 16904 /*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 3);*/ 16905 return jresult; 16906 } 16907 16908 16909 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { 16910 jlong jresult = 0 ; 16911 btTranslationalLimitMotor *result = 0 ; 16912 16913 (void)jenv; 16914 (void)jcls; 16915 result = (btTranslationalLimitMotor *)new btTranslationalLimitMotor(); 16916 *(btTranslationalLimitMotor **)&jresult = result; 16917 return jresult; 16918 } 16919 16920 16921 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 16922 jlong jresult = 0 ; 16923 btTranslationalLimitMotor *arg1 = 0 ; 16924 btTranslationalLimitMotor *result = 0 ; 16925 16926 (void)jenv; 16927 (void)jcls; 16928 (void)jarg1_; 16929 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16930 if (!arg1) { 16931 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTranslationalLimitMotor const & reference is null"); 16932 return 0; 16933 } 16934 result = (btTranslationalLimitMotor *)new btTranslationalLimitMotor((btTranslationalLimitMotor const &)*arg1); 16935 *(btTranslationalLimitMotor **)&jresult = result; 16936 return jresult; 16937 } 16938 16939 16940 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 16941 jboolean jresult = 0 ; 16942 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16943 int arg2 ; 16944 bool result; 16945 16946 (void)jenv; 16947 (void)jcls; 16948 (void)jarg1_; 16949 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16950 arg2 = (int)jarg2; 16951 result = (bool)(arg1)->isLimited(arg2); 16952 jresult = (jboolean)result; 16953 return jresult; 16954 } 16955 16956 16957 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1needApplyForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 16958 jboolean jresult = 0 ; 16959 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16960 int arg2 ; 16961 bool result; 16962 16963 (void)jenv; 16964 (void)jcls; 16965 (void)jarg1_; 16966 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16967 arg2 = (int)jarg2; 16968 result = (bool)(arg1)->needApplyForce(arg2); 16969 jresult = (jboolean)result; 16970 return jresult; 16971 } 16972 16973 16974 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 16975 jint jresult = 0 ; 16976 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16977 int arg2 ; 16978 btScalar arg3 ; 16979 int result; 16980 16981 (void)jenv; 16982 (void)jcls; 16983 (void)jarg1_; 16984 arg1 = *(btTranslationalLimitMotor **)&jarg1; 16985 arg2 = (int)jarg2; 16986 arg3 = (btScalar)jarg3; 16987 result = (int)(arg1)->testLimitValue(arg2,arg3); 16988 jresult = (jint)result; 16989 return jresult; 16990 } 16991 16992 16993 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor_1solveLinearAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jlong jarg4, jobject jarg4_, jobject jarg5, jlong jarg6, jobject jarg6_, jobject jarg7, jint jarg8, jobject jarg9, jobject jarg10) { 16994 jfloat jresult = 0 ; 16995 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 16996 btScalar arg2 ; 16997 btScalar arg3 ; 16998 btRigidBody *arg4 = 0 ; 16999 btVector3 *arg5 = 0 ; 17000 btRigidBody *arg6 = 0 ; 17001 btVector3 *arg7 = 0 ; 17002 int arg8 ; 17003 btVector3 *arg9 = 0 ; 17004 btVector3 *arg10 = 0 ; 17005 btScalar result; 17006 17007 (void)jenv; 17008 (void)jcls; 17009 (void)jarg1_; 17010 (void)jarg4_; 17011 (void)jarg6_; 17012 arg1 = *(btTranslationalLimitMotor **)&jarg1; 17013 arg2 = (btScalar)jarg2; 17014 arg3 = (btScalar)jarg3; 17015 arg4 = *(btRigidBody **)&jarg4; 17016 if (!arg4) { 17017 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 17018 return 0; 17019 } 17020 btVector3 local_arg5; 17021 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 17022 arg5 = &local_arg5; 17023 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 17024 arg6 = *(btRigidBody **)&jarg6; 17025 if (!arg6) { 17026 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 17027 return 0; 17028 } 17029 btVector3 local_arg7; 17030 gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7); 17031 arg7 = &local_arg7; 17032 gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7); 17033 arg8 = (int)jarg8; 17034 btVector3 local_arg9; 17035 gdx_setbtVector3FromVector3(jenv, local_arg9, jarg9); 17036 arg9 = &local_arg9; 17037 gdxAutoCommitVector3 auto_commit_arg9(jenv, jarg9, &local_arg9); 17038 btVector3 local_arg10; 17039 gdx_setbtVector3FromVector3(jenv, local_arg10, jarg10); 17040 arg10 = &local_arg10; 17041 gdxAutoCommitVector3 auto_commit_arg10(jenv, jarg10, &local_arg10); 17042 result = (btScalar)(arg1)->solveLinearAxis(arg2,arg3,*arg4,(btVector3 const &)*arg5,*arg6,(btVector3 const &)*arg7,arg8,(btVector3 const &)*arg9,(btVector3 const &)*arg10); 17043 jresult = (jfloat)result; 17044 return jresult; 17045 } 17046 17047 17048 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1) { 17049 btTranslationalLimitMotor *arg1 = (btTranslationalLimitMotor *) 0 ; 17050 17051 (void)jenv; 17052 (void)jcls; 17053 arg1 = *(btTranslationalLimitMotor **)&jarg1; 17054 delete arg1; 17055 } 17056 17057 17058 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1useSolveConstraintObsolete_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 17059 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17060 bool arg2 ; 17061 17062 (void)jenv; 17063 (void)jcls; 17064 (void)jarg1_; 17065 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17066 arg2 = jarg2 ? true : false; 17067 if (arg1) (arg1)->m_useSolveConstraintObsolete = arg2; 17068 } 17069 17070 17071 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1useSolveConstraintObsolete_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17072 jboolean jresult = 0 ; 17073 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17074 bool result; 17075 17076 (void)jenv; 17077 (void)jcls; 17078 (void)jarg1_; 17079 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17080 result = (bool) ((arg1)->m_useSolveConstraintObsolete); 17081 jresult = (jboolean)result; 17082 return jresult; 17083 } 17084 17085 17086 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) { 17087 jlong jresult = 0 ; 17088 btRigidBody *arg1 = 0 ; 17089 btRigidBody *arg2 = 0 ; 17090 btTransform *arg3 = 0 ; 17091 btTransform *arg4 = 0 ; 17092 bool arg5 ; 17093 btGeneric6DofConstraint *result = 0 ; 17094 17095 (void)jenv; 17096 (void)jcls; 17097 (void)jarg1_; 17098 (void)jarg2_; 17099 arg1 = *(btRigidBody **)&jarg1; 17100 if (!arg1) { 17101 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 17102 return 0; 17103 } 17104 arg2 = *(btRigidBody **)&jarg2; 17105 if (!arg2) { 17106 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 17107 return 0; 17108 } 17109 btTransform local_arg3; 17110 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 17111 arg3 = &local_arg3; 17112 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 17113 btTransform local_arg4; 17114 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 17115 arg4 = &local_arg4; 17116 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 17117 arg5 = jarg5 ? true : false; 17118 result = (btGeneric6DofConstraint *)new btGeneric6DofConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5); 17119 *(btGeneric6DofConstraint **)&jresult = result; 17120 return jresult; 17121 } 17122 17123 17124 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) { 17125 jlong jresult = 0 ; 17126 btRigidBody *arg1 = 0 ; 17127 btTransform *arg2 = 0 ; 17128 bool arg3 ; 17129 btGeneric6DofConstraint *result = 0 ; 17130 17131 (void)jenv; 17132 (void)jcls; 17133 (void)jarg1_; 17134 arg1 = *(btRigidBody **)&jarg1; 17135 if (!arg1) { 17136 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 17137 return 0; 17138 } 17139 btTransform local_arg2; 17140 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 17141 arg2 = &local_arg2; 17142 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 17143 arg3 = jarg3 ? true : false; 17144 result = (btGeneric6DofConstraint *)new btGeneric6DofConstraint(*arg1,(btTransform const &)*arg2,arg3); 17145 *(btGeneric6DofConstraint **)&jresult = result; 17146 return jresult; 17147 } 17148 17149 17150 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calculateTransforms_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 17151 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17152 btTransform *arg2 = 0 ; 17153 btTransform *arg3 = 0 ; 17154 17155 (void)jenv; 17156 (void)jcls; 17157 (void)jarg1_; 17158 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17159 btTransform local_arg2; 17160 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 17161 arg2 = &local_arg2; 17162 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 17163 btTransform local_arg3; 17164 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 17165 arg3 = &local_arg3; 17166 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 17167 (arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3); 17168 } 17169 17170 17171 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calculateTransforms_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17172 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17173 17174 (void)jenv; 17175 (void)jcls; 17176 (void)jarg1_; 17177 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17178 (arg1)->calculateTransforms(); 17179 } 17180 17181 17182 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17183 jobject jresult = 0 ; 17184 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17185 btTransform *result = 0 ; 17186 17187 (void)jenv; 17188 (void)jcls; 17189 (void)jarg1_; 17190 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17191 result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getCalculatedTransformA(); 17192 jresult = gdx_getReturnMatrix4(jenv); 17193 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 17194 return jresult; 17195 } 17196 17197 17198 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17199 jobject jresult = 0 ; 17200 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17201 btTransform *result = 0 ; 17202 17203 (void)jenv; 17204 (void)jcls; 17205 (void)jarg1_; 17206 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17207 result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getCalculatedTransformB(); 17208 jresult = gdx_getReturnMatrix4(jenv); 17209 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 17210 return jresult; 17211 } 17212 17213 17214 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetA_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17215 jobject jresult = 0 ; 17216 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17217 btTransform *result = 0 ; 17218 17219 (void)jenv; 17220 (void)jcls; 17221 (void)jarg1_; 17222 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17223 result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getFrameOffsetA(); 17224 jresult = gdx_getReturnMatrix4(jenv); 17225 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 17226 return jresult; 17227 } 17228 17229 17230 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getFrameOffsetB_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17231 jobject jresult = 0 ; 17232 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17233 btTransform *result = 0 ; 17234 17235 (void)jenv; 17236 (void)jcls; 17237 (void)jarg1_; 17238 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17239 result = (btTransform *) &((btGeneric6DofConstraint const *)arg1)->getFrameOffsetB(); 17240 jresult = gdx_getReturnMatrix4(jenv); 17241 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 17242 return jresult; 17243 } 17244 17245 17246 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 17247 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17248 btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 17249 17250 (void)jenv; 17251 (void)jcls; 17252 (void)jarg1_; 17253 (void)jarg2_; 17254 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17255 arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2; 17256 (arg1)->getInfo1NonVirtual(arg2); 17257 } 17258 17259 17260 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8) { 17261 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17262 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 17263 btTransform *arg3 = 0 ; 17264 btTransform *arg4 = 0 ; 17265 btVector3 *arg5 = 0 ; 17266 btVector3 *arg6 = 0 ; 17267 btVector3 *arg7 = 0 ; 17268 btVector3 *arg8 = 0 ; 17269 17270 (void)jenv; 17271 (void)jcls; 17272 (void)jarg1_; 17273 (void)jarg2_; 17274 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17275 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 17276 btTransform local_arg3; 17277 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 17278 arg3 = &local_arg3; 17279 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 17280 btTransform local_arg4; 17281 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 17282 arg4 = &local_arg4; 17283 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 17284 btVector3 local_arg5; 17285 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 17286 arg5 = &local_arg5; 17287 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 17288 btVector3 local_arg6; 17289 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 17290 arg6 = &local_arg6; 17291 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 17292 btVector3 local_arg7; 17293 gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7); 17294 arg7 = &local_arg7; 17295 gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7); 17296 btVector3 local_arg8; 17297 gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8); 17298 arg8 = &local_arg8; 17299 gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8); 17300 (arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8); 17301 } 17302 17303 17304 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 17305 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17306 btScalar arg2 ; 17307 17308 (void)jenv; 17309 (void)jcls; 17310 (void)jarg1_; 17311 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17312 arg2 = (btScalar)jarg2; 17313 (arg1)->updateRHS(arg2); 17314 } 17315 17316 17317 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17318 jobject jresult = 0 ; 17319 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17320 int arg2 ; 17321 btVector3 result; 17322 17323 (void)jenv; 17324 (void)jcls; 17325 (void)jarg1_; 17326 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17327 arg2 = (int)jarg2; 17328 result = ((btGeneric6DofConstraint const *)arg1)->getAxis(arg2); 17329 jresult = gdx_getReturnVector3(jenv); 17330 gdx_setVector3FrombtVector3(jenv, jresult, result); 17331 return jresult; 17332 } 17333 17334 17335 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17336 jfloat jresult = 0 ; 17337 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17338 int arg2 ; 17339 btScalar result; 17340 17341 (void)jenv; 17342 (void)jcls; 17343 (void)jarg1_; 17344 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17345 arg2 = (int)jarg2; 17346 result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getAngle(arg2); 17347 jresult = (jfloat)result; 17348 return jresult; 17349 } 17350 17351 17352 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getRelativePivotPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17353 jfloat jresult = 0 ; 17354 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17355 int arg2 ; 17356 btScalar result; 17357 17358 (void)jenv; 17359 (void)jcls; 17360 (void)jarg1_; 17361 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17362 arg2 = (int)jarg2; 17363 result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getRelativePivotPosition(arg2); 17364 jresult = (jfloat)result; 17365 return jresult; 17366 } 17367 17368 17369 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 17370 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17371 btTransform *arg2 = 0 ; 17372 btTransform *arg3 = 0 ; 17373 17374 (void)jenv; 17375 (void)jcls; 17376 (void)jarg1_; 17377 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17378 btTransform local_arg2; 17379 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 17380 arg2 = &local_arg2; 17381 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 17382 btTransform local_arg3; 17383 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 17384 arg3 = &local_arg3; 17385 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 17386 (arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3); 17387 } 17388 17389 17390 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1testAngularLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17391 jboolean jresult = 0 ; 17392 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17393 int arg2 ; 17394 bool result; 17395 17396 (void)jenv; 17397 (void)jcls; 17398 (void)jarg1_; 17399 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17400 arg2 = (int)jarg2; 17401 result = (bool)(arg1)->testAngularLimitMotor(arg2); 17402 jresult = (jboolean)result; 17403 return jresult; 17404 } 17405 17406 17407 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17408 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17409 btVector3 *arg2 = 0 ; 17410 17411 (void)jenv; 17412 (void)jcls; 17413 (void)jarg1_; 17414 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17415 btVector3 local_arg2; 17416 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17417 arg2 = &local_arg2; 17418 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17419 (arg1)->setLinearLowerLimit((btVector3 const &)*arg2); 17420 } 17421 17422 17423 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17424 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17425 btVector3 *arg2 = 0 ; 17426 17427 (void)jenv; 17428 (void)jcls; 17429 (void)jarg1_; 17430 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17431 btVector3 local_arg2; 17432 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17433 arg2 = &local_arg2; 17434 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17435 (arg1)->getLinearLowerLimit(*arg2); 17436 } 17437 17438 17439 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17440 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17441 btVector3 *arg2 = 0 ; 17442 17443 (void)jenv; 17444 (void)jcls; 17445 (void)jarg1_; 17446 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17447 btVector3 local_arg2; 17448 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17449 arg2 = &local_arg2; 17450 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17451 (arg1)->setLinearUpperLimit((btVector3 const &)*arg2); 17452 } 17453 17454 17455 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17456 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17457 btVector3 *arg2 = 0 ; 17458 17459 (void)jenv; 17460 (void)jcls; 17461 (void)jarg1_; 17462 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17463 btVector3 local_arg2; 17464 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17465 arg2 = &local_arg2; 17466 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17467 (arg1)->getLinearUpperLimit(*arg2); 17468 } 17469 17470 17471 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17472 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17473 btVector3 *arg2 = 0 ; 17474 17475 (void)jenv; 17476 (void)jcls; 17477 (void)jarg1_; 17478 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17479 btVector3 local_arg2; 17480 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17481 arg2 = &local_arg2; 17482 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17483 (arg1)->setAngularLowerLimit((btVector3 const &)*arg2); 17484 } 17485 17486 17487 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17488 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17489 btVector3 *arg2 = 0 ; 17490 17491 (void)jenv; 17492 (void)jcls; 17493 (void)jarg1_; 17494 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17495 btVector3 local_arg2; 17496 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17497 arg2 = &local_arg2; 17498 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17499 (arg1)->getAngularLowerLimit(*arg2); 17500 } 17501 17502 17503 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17504 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17505 btVector3 *arg2 = 0 ; 17506 17507 (void)jenv; 17508 (void)jcls; 17509 (void)jarg1_; 17510 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17511 btVector3 local_arg2; 17512 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17513 arg2 = &local_arg2; 17514 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17515 (arg1)->setAngularUpperLimit((btVector3 const &)*arg2); 17516 } 17517 17518 17519 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 17520 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17521 btVector3 *arg2 = 0 ; 17522 17523 (void)jenv; 17524 (void)jcls; 17525 (void)jarg1_; 17526 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17527 btVector3 local_arg2; 17528 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17529 arg2 = &local_arg2; 17530 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17531 (arg1)->getAngularUpperLimit(*arg2); 17532 } 17533 17534 17535 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17536 jlong jresult = 0 ; 17537 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17538 int arg2 ; 17539 btRotationalLimitMotor *result = 0 ; 17540 17541 (void)jenv; 17542 (void)jcls; 17543 (void)jarg1_; 17544 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17545 arg2 = (int)jarg2; 17546 result = (btRotationalLimitMotor *)(arg1)->getRotationalLimitMotor(arg2); 17547 *(btRotationalLimitMotor **)&jresult = result; 17548 return jresult; 17549 } 17550 17551 17552 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17553 jlong jresult = 0 ; 17554 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17555 btTranslationalLimitMotor *result = 0 ; 17556 17557 (void)jenv; 17558 (void)jcls; 17559 (void)jarg1_; 17560 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17561 result = (btTranslationalLimitMotor *)(arg1)->getTranslationalLimitMotor(); 17562 *(btTranslationalLimitMotor **)&jresult = result; 17563 return jresult; 17564 } 17565 17566 17567 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) { 17568 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17569 int arg2 ; 17570 btScalar arg3 ; 17571 btScalar arg4 ; 17572 17573 (void)jenv; 17574 (void)jcls; 17575 (void)jarg1_; 17576 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17577 arg2 = (int)jarg2; 17578 arg3 = (btScalar)jarg3; 17579 arg4 = (btScalar)jarg4; 17580 (arg1)->setLimit(arg2,arg3,arg4); 17581 } 17582 17583 17584 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17585 jboolean jresult = 0 ; 17586 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17587 int arg2 ; 17588 bool result; 17589 17590 (void)jenv; 17591 (void)jcls; 17592 (void)jarg1_; 17593 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17594 arg2 = (int)jarg2; 17595 result = (bool)(arg1)->isLimited(arg2); 17596 jresult = (jboolean)result; 17597 return jresult; 17598 } 17599 17600 17601 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1calcAnchorPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17602 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17603 17604 (void)jenv; 17605 (void)jcls; 17606 (void)jarg1_; 17607 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17608 (arg1)->calcAnchorPos(); 17609 } 17610 17611 17612 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1get_1limit_1motor_1info2_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jlong jarg9, jobject jarg9_, jint jarg10, jobject jarg11, jint jarg12, jint jarg13) { 17613 jint jresult = 0 ; 17614 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17615 btRotationalLimitMotor *arg2 = (btRotationalLimitMotor *) 0 ; 17616 btTransform *arg3 = 0 ; 17617 btTransform *arg4 = 0 ; 17618 btVector3 *arg5 = 0 ; 17619 btVector3 *arg6 = 0 ; 17620 btVector3 *arg7 = 0 ; 17621 btVector3 *arg8 = 0 ; 17622 btTypedConstraint::btConstraintInfo2 *arg9 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 17623 int arg10 ; 17624 btVector3 *arg11 = 0 ; 17625 int arg12 ; 17626 int arg13 ; 17627 int result; 17628 17629 (void)jenv; 17630 (void)jcls; 17631 (void)jarg1_; 17632 (void)jarg2_; 17633 (void)jarg9_; 17634 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17635 arg2 = *(btRotationalLimitMotor **)&jarg2; 17636 btTransform local_arg3; 17637 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 17638 arg3 = &local_arg3; 17639 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 17640 btTransform local_arg4; 17641 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 17642 arg4 = &local_arg4; 17643 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 17644 btVector3 local_arg5; 17645 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 17646 arg5 = &local_arg5; 17647 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 17648 btVector3 local_arg6; 17649 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 17650 arg6 = &local_arg6; 17651 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 17652 btVector3 local_arg7; 17653 gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7); 17654 arg7 = &local_arg7; 17655 gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7); 17656 btVector3 local_arg8; 17657 gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8); 17658 arg8 = &local_arg8; 17659 gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8); 17660 arg9 = *(btTypedConstraint::btConstraintInfo2 **)&jarg9; 17661 arg10 = (int)jarg10; 17662 btVector3 local_arg11; 17663 gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11); 17664 arg11 = &local_arg11; 17665 gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11); 17666 arg12 = (int)jarg12; 17667 arg13 = (int)jarg13; 17668 result = (int)(arg1)->get_limit_motor_info2(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9,arg10,*arg11,arg12,arg13); 17669 jresult = (jint)result; 17670 return jresult; 17671 } 17672 17673 17674 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1get_1limit_1motor_1info2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jobject jarg7, jobject jarg8, jlong jarg9, jobject jarg9_, jint jarg10, jobject jarg11, jint jarg12) { 17675 jint jresult = 0 ; 17676 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17677 btRotationalLimitMotor *arg2 = (btRotationalLimitMotor *) 0 ; 17678 btTransform *arg3 = 0 ; 17679 btTransform *arg4 = 0 ; 17680 btVector3 *arg5 = 0 ; 17681 btVector3 *arg6 = 0 ; 17682 btVector3 *arg7 = 0 ; 17683 btVector3 *arg8 = 0 ; 17684 btTypedConstraint::btConstraintInfo2 *arg9 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 17685 int arg10 ; 17686 btVector3 *arg11 = 0 ; 17687 int arg12 ; 17688 int result; 17689 17690 (void)jenv; 17691 (void)jcls; 17692 (void)jarg1_; 17693 (void)jarg2_; 17694 (void)jarg9_; 17695 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17696 arg2 = *(btRotationalLimitMotor **)&jarg2; 17697 btTransform local_arg3; 17698 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 17699 arg3 = &local_arg3; 17700 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 17701 btTransform local_arg4; 17702 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 17703 arg4 = &local_arg4; 17704 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 17705 btVector3 local_arg5; 17706 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 17707 arg5 = &local_arg5; 17708 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 17709 btVector3 local_arg6; 17710 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 17711 arg6 = &local_arg6; 17712 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 17713 btVector3 local_arg7; 17714 gdx_setbtVector3FromVector3(jenv, local_arg7, jarg7); 17715 arg7 = &local_arg7; 17716 gdxAutoCommitVector3 auto_commit_arg7(jenv, jarg7, &local_arg7); 17717 btVector3 local_arg8; 17718 gdx_setbtVector3FromVector3(jenv, local_arg8, jarg8); 17719 arg8 = &local_arg8; 17720 gdxAutoCommitVector3 auto_commit_arg8(jenv, jarg8, &local_arg8); 17721 arg9 = *(btTypedConstraint::btConstraintInfo2 **)&jarg9; 17722 arg10 = (int)jarg10; 17723 btVector3 local_arg11; 17724 gdx_setbtVector3FromVector3(jenv, local_arg11, jarg11); 17725 arg11 = &local_arg11; 17726 gdxAutoCommitVector3 auto_commit_arg11(jenv, jarg11, &local_arg11); 17727 arg12 = (int)jarg12; 17728 result = (int)(arg1)->get_limit_motor_info2(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,(btVector3 const &)*arg7,(btVector3 const &)*arg8,arg9,arg10,*arg11,arg12); 17729 jresult = (jint)result; 17730 return jresult; 17731 } 17732 17733 17734 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17735 jboolean jresult = 0 ; 17736 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17737 bool result; 17738 17739 (void)jenv; 17740 (void)jcls; 17741 (void)jarg1_; 17742 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17743 result = (bool)(arg1)->getUseFrameOffset(); 17744 jresult = (jboolean)result; 17745 return jresult; 17746 } 17747 17748 17749 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 17750 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17751 bool arg2 ; 17752 17753 (void)jenv; 17754 (void)jcls; 17755 (void)jarg1_; 17756 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17757 arg2 = jarg2 ? true : false; 17758 (arg1)->setUseFrameOffset(arg2); 17759 } 17760 17761 17762 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 17763 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17764 int arg2 ; 17765 btScalar arg3 ; 17766 int arg4 ; 17767 17768 (void)jenv; 17769 (void)jcls; 17770 (void)jarg1_; 17771 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17772 arg2 = (int)jarg2; 17773 arg3 = (btScalar)jarg3; 17774 arg4 = (int)jarg4; 17775 (arg1)->setParam(arg2,arg3,arg4); 17776 } 17777 17778 17779 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 17780 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17781 int arg2 ; 17782 btScalar arg3 ; 17783 17784 (void)jenv; 17785 (void)jcls; 17786 (void)jarg1_; 17787 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17788 arg2 = (int)jarg2; 17789 arg3 = (btScalar)jarg3; 17790 (arg1)->setParam(arg2,arg3); 17791 } 17792 17793 17794 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 17795 jfloat jresult = 0 ; 17796 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17797 int arg2 ; 17798 int arg3 ; 17799 btScalar result; 17800 17801 (void)jenv; 17802 (void)jcls; 17803 (void)jarg1_; 17804 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17805 arg2 = (int)jarg2; 17806 arg3 = (int)jarg3; 17807 result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getParam(arg2,arg3); 17808 jresult = (jfloat)result; 17809 return jresult; 17810 } 17811 17812 17813 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 17814 jfloat jresult = 0 ; 17815 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17816 int arg2 ; 17817 btScalar result; 17818 17819 (void)jenv; 17820 (void)jcls; 17821 (void)jarg1_; 17822 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17823 arg2 = (int)jarg2; 17824 result = (btScalar)((btGeneric6DofConstraint const *)arg1)->getParam(arg2); 17825 jresult = (jfloat)result; 17826 return jresult; 17827 } 17828 17829 17830 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 17831 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17832 btVector3 *arg2 = 0 ; 17833 btVector3 *arg3 = 0 ; 17834 17835 (void)jenv; 17836 (void)jcls; 17837 (void)jarg1_; 17838 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17839 btVector3 local_arg2; 17840 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 17841 arg2 = &local_arg2; 17842 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 17843 btVector3 local_arg3; 17844 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 17845 arg3 = &local_arg3; 17846 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 17847 (arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3); 17848 } 17849 17850 17851 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 17852 btGeneric6DofConstraint *arg1 = (btGeneric6DofConstraint *) 0 ; 17853 17854 (void)jenv; 17855 (void)jcls; 17856 arg1 = *(btGeneric6DofConstraint **)&jarg1; 17857 delete arg1; 17858 } 17859 17860 17861 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 17862 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17863 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 17864 17865 (void)jenv; 17866 (void)jcls; 17867 (void)jarg1_; 17868 (void)jarg2_; 17869 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17870 arg2 = *(btTypedConstraintData **)&jarg2; 17871 if (arg1) (arg1)->m_typeConstraintData = *arg2; 17872 } 17873 17874 17875 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17876 jlong jresult = 0 ; 17877 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17878 btTypedConstraintData *result = 0 ; 17879 17880 (void)jenv; 17881 (void)jcls; 17882 (void)jarg1_; 17883 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17884 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 17885 *(btTypedConstraintData **)&jresult = result; 17886 return jresult; 17887 } 17888 17889 17890 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 17891 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17892 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 17893 17894 (void)jenv; 17895 (void)jcls; 17896 (void)jarg1_; 17897 (void)jarg2_; 17898 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17899 arg2 = *(btTransformFloatData **)&jarg2; 17900 if (arg1) (arg1)->m_rbAFrame = *arg2; 17901 } 17902 17903 17904 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17905 jlong jresult = 0 ; 17906 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17907 btTransformFloatData *result = 0 ; 17908 17909 (void)jenv; 17910 (void)jcls; 17911 (void)jarg1_; 17912 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17913 result = (btTransformFloatData *)& ((arg1)->m_rbAFrame); 17914 *(btTransformFloatData **)&jresult = result; 17915 return jresult; 17916 } 17917 17918 17919 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 17920 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17921 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 17922 17923 (void)jenv; 17924 (void)jcls; 17925 (void)jarg1_; 17926 (void)jarg2_; 17927 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17928 arg2 = *(btTransformFloatData **)&jarg2; 17929 if (arg1) (arg1)->m_rbBFrame = *arg2; 17930 } 17931 17932 17933 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17934 jlong jresult = 0 ; 17935 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17936 btTransformFloatData *result = 0 ; 17937 17938 (void)jenv; 17939 (void)jcls; 17940 (void)jarg1_; 17941 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17942 result = (btTransformFloatData *)& ((arg1)->m_rbBFrame); 17943 *(btTransformFloatData **)&jresult = result; 17944 return jresult; 17945 } 17946 17947 17948 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 17949 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17950 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 17951 17952 (void)jenv; 17953 (void)jcls; 17954 (void)jarg1_; 17955 (void)jarg2_; 17956 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17957 arg2 = *(btVector3FloatData **)&jarg2; 17958 if (arg1) (arg1)->m_linearUpperLimit = *arg2; 17959 } 17960 17961 17962 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17963 jlong jresult = 0 ; 17964 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17965 btVector3FloatData *result = 0 ; 17966 17967 (void)jenv; 17968 (void)jcls; 17969 (void)jarg1_; 17970 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17971 result = (btVector3FloatData *)& ((arg1)->m_linearUpperLimit); 17972 *(btVector3FloatData **)&jresult = result; 17973 return jresult; 17974 } 17975 17976 17977 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 17978 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17979 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 17980 17981 (void)jenv; 17982 (void)jcls; 17983 (void)jarg1_; 17984 (void)jarg2_; 17985 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 17986 arg2 = *(btVector3FloatData **)&jarg2; 17987 if (arg1) (arg1)->m_linearLowerLimit = *arg2; 17988 } 17989 17990 17991 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 17992 jlong jresult = 0 ; 17993 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 17994 btVector3FloatData *result = 0 ; 17995 17996 (void)jenv; 17997 (void)jcls; 17998 (void)jarg1_; 17999 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18000 result = (btVector3FloatData *)& ((arg1)->m_linearLowerLimit); 18001 *(btVector3FloatData **)&jresult = result; 18002 return jresult; 18003 } 18004 18005 18006 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18007 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18008 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 18009 18010 (void)jenv; 18011 (void)jcls; 18012 (void)jarg1_; 18013 (void)jarg2_; 18014 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18015 arg2 = *(btVector3FloatData **)&jarg2; 18016 if (arg1) (arg1)->m_angularUpperLimit = *arg2; 18017 } 18018 18019 18020 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18021 jlong jresult = 0 ; 18022 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18023 btVector3FloatData *result = 0 ; 18024 18025 (void)jenv; 18026 (void)jcls; 18027 (void)jarg1_; 18028 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18029 result = (btVector3FloatData *)& ((arg1)->m_angularUpperLimit); 18030 *(btVector3FloatData **)&jresult = result; 18031 return jresult; 18032 } 18033 18034 18035 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18036 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18037 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 18038 18039 (void)jenv; 18040 (void)jcls; 18041 (void)jarg1_; 18042 (void)jarg2_; 18043 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18044 arg2 = *(btVector3FloatData **)&jarg2; 18045 if (arg1) (arg1)->m_angularLowerLimit = *arg2; 18046 } 18047 18048 18049 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18050 jlong jresult = 0 ; 18051 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18052 btVector3FloatData *result = 0 ; 18053 18054 (void)jenv; 18055 (void)jcls; 18056 (void)jarg1_; 18057 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18058 result = (btVector3FloatData *)& ((arg1)->m_angularLowerLimit); 18059 *(btVector3FloatData **)&jresult = result; 18060 return jresult; 18061 } 18062 18063 18064 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 18065 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18066 int arg2 ; 18067 18068 (void)jenv; 18069 (void)jcls; 18070 (void)jarg1_; 18071 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18072 arg2 = (int)jarg2; 18073 if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2; 18074 } 18075 18076 18077 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18078 jint jresult = 0 ; 18079 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18080 int result; 18081 18082 (void)jenv; 18083 (void)jcls; 18084 (void)jarg1_; 18085 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18086 result = (int) ((arg1)->m_useLinearReferenceFrameA); 18087 jresult = (jint)result; 18088 return jresult; 18089 } 18090 18091 18092 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 18093 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18094 int arg2 ; 18095 18096 (void)jenv; 18097 (void)jcls; 18098 (void)jarg1_; 18099 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18100 arg2 = (int)jarg2; 18101 if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2; 18102 } 18103 18104 18105 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintData_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18106 jint jresult = 0 ; 18107 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18108 int result; 18109 18110 (void)jenv; 18111 (void)jcls; 18112 (void)jarg1_; 18113 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18114 result = (int) ((arg1)->m_useOffsetForConstraintFrame); 18115 jresult = (jint)result; 18116 return jresult; 18117 } 18118 18119 18120 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraintData(JNIEnv *jenv, jclass jcls) { 18121 jlong jresult = 0 ; 18122 btGeneric6DofConstraintData *result = 0 ; 18123 18124 (void)jenv; 18125 (void)jcls; 18126 result = (btGeneric6DofConstraintData *)new btGeneric6DofConstraintData(); 18127 *(btGeneric6DofConstraintData **)&jresult = result; 18128 return jresult; 18129 } 18130 18131 18132 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 18133 btGeneric6DofConstraintData *arg1 = (btGeneric6DofConstraintData *) 0 ; 18134 18135 (void)jenv; 18136 (void)jcls; 18137 arg1 = *(btGeneric6DofConstraintData **)&jarg1; 18138 delete arg1; 18139 } 18140 18141 18142 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18143 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18144 btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ; 18145 18146 (void)jenv; 18147 (void)jcls; 18148 (void)jarg1_; 18149 (void)jarg2_; 18150 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18151 arg2 = *(btTypedConstraintDoubleData **)&jarg2; 18152 if (arg1) (arg1)->m_typeConstraintData = *arg2; 18153 } 18154 18155 18156 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18157 jlong jresult = 0 ; 18158 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18159 btTypedConstraintDoubleData *result = 0 ; 18160 18161 (void)jenv; 18162 (void)jcls; 18163 (void)jarg1_; 18164 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18165 result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData); 18166 *(btTypedConstraintDoubleData **)&jresult = result; 18167 return jresult; 18168 } 18169 18170 18171 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18172 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18173 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 18174 18175 (void)jenv; 18176 (void)jcls; 18177 (void)jarg1_; 18178 (void)jarg2_; 18179 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18180 arg2 = *(btTransformDoubleData **)&jarg2; 18181 if (arg1) (arg1)->m_rbAFrame = *arg2; 18182 } 18183 18184 18185 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18186 jlong jresult = 0 ; 18187 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18188 btTransformDoubleData *result = 0 ; 18189 18190 (void)jenv; 18191 (void)jcls; 18192 (void)jarg1_; 18193 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18194 result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame); 18195 *(btTransformDoubleData **)&jresult = result; 18196 return jresult; 18197 } 18198 18199 18200 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18201 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18202 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 18203 18204 (void)jenv; 18205 (void)jcls; 18206 (void)jarg1_; 18207 (void)jarg2_; 18208 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18209 arg2 = *(btTransformDoubleData **)&jarg2; 18210 if (arg1) (arg1)->m_rbBFrame = *arg2; 18211 } 18212 18213 18214 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18215 jlong jresult = 0 ; 18216 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18217 btTransformDoubleData *result = 0 ; 18218 18219 (void)jenv; 18220 (void)jcls; 18221 (void)jarg1_; 18222 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18223 result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame); 18224 *(btTransformDoubleData **)&jresult = result; 18225 return jresult; 18226 } 18227 18228 18229 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18230 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18231 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 18232 18233 (void)jenv; 18234 (void)jcls; 18235 (void)jarg1_; 18236 (void)jarg2_; 18237 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18238 arg2 = *(btVector3DoubleData **)&jarg2; 18239 if (arg1) (arg1)->m_linearUpperLimit = *arg2; 18240 } 18241 18242 18243 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18244 jlong jresult = 0 ; 18245 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18246 btVector3DoubleData *result = 0 ; 18247 18248 (void)jenv; 18249 (void)jcls; 18250 (void)jarg1_; 18251 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18252 result = (btVector3DoubleData *)& ((arg1)->m_linearUpperLimit); 18253 *(btVector3DoubleData **)&jresult = result; 18254 return jresult; 18255 } 18256 18257 18258 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18259 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18260 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 18261 18262 (void)jenv; 18263 (void)jcls; 18264 (void)jarg1_; 18265 (void)jarg2_; 18266 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18267 arg2 = *(btVector3DoubleData **)&jarg2; 18268 if (arg1) (arg1)->m_linearLowerLimit = *arg2; 18269 } 18270 18271 18272 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18273 jlong jresult = 0 ; 18274 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18275 btVector3DoubleData *result = 0 ; 18276 18277 (void)jenv; 18278 (void)jcls; 18279 (void)jarg1_; 18280 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18281 result = (btVector3DoubleData *)& ((arg1)->m_linearLowerLimit); 18282 *(btVector3DoubleData **)&jresult = result; 18283 return jresult; 18284 } 18285 18286 18287 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18288 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18289 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 18290 18291 (void)jenv; 18292 (void)jcls; 18293 (void)jarg1_; 18294 (void)jarg2_; 18295 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18296 arg2 = *(btVector3DoubleData **)&jarg2; 18297 if (arg1) (arg1)->m_angularUpperLimit = *arg2; 18298 } 18299 18300 18301 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18302 jlong jresult = 0 ; 18303 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18304 btVector3DoubleData *result = 0 ; 18305 18306 (void)jenv; 18307 (void)jcls; 18308 (void)jarg1_; 18309 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18310 result = (btVector3DoubleData *)& ((arg1)->m_angularUpperLimit); 18311 *(btVector3DoubleData **)&jresult = result; 18312 return jresult; 18313 } 18314 18315 18316 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18317 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18318 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 18319 18320 (void)jenv; 18321 (void)jcls; 18322 (void)jarg1_; 18323 (void)jarg2_; 18324 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18325 arg2 = *(btVector3DoubleData **)&jarg2; 18326 if (arg1) (arg1)->m_angularLowerLimit = *arg2; 18327 } 18328 18329 18330 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18331 jlong jresult = 0 ; 18332 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18333 btVector3DoubleData *result = 0 ; 18334 18335 (void)jenv; 18336 (void)jcls; 18337 (void)jarg1_; 18338 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18339 result = (btVector3DoubleData *)& ((arg1)->m_angularLowerLimit); 18340 *(btVector3DoubleData **)&jresult = result; 18341 return jresult; 18342 } 18343 18344 18345 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useLinearReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 18346 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18347 int arg2 ; 18348 18349 (void)jenv; 18350 (void)jcls; 18351 (void)jarg1_; 18352 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18353 arg2 = (int)jarg2; 18354 if (arg1) (arg1)->m_useLinearReferenceFrameA = arg2; 18355 } 18356 18357 18358 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useLinearReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18359 jint jresult = 0 ; 18360 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18361 int result; 18362 18363 (void)jenv; 18364 (void)jcls; 18365 (void)jarg1_; 18366 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18367 result = (int) ((arg1)->m_useLinearReferenceFrameA); 18368 jresult = (jint)result; 18369 return jresult; 18370 } 18371 18372 18373 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useOffsetForConstraintFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 18374 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18375 int arg2 ; 18376 18377 (void)jenv; 18378 (void)jcls; 18379 (void)jarg1_; 18380 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18381 arg2 = (int)jarg2; 18382 if (arg1) (arg1)->m_useOffsetForConstraintFrame = arg2; 18383 } 18384 18385 18386 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraintDoubleData2_1useOffsetForConstraintFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18387 jint jresult = 0 ; 18388 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18389 int result; 18390 18391 (void)jenv; 18392 (void)jcls; 18393 (void)jarg1_; 18394 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18395 result = (int) ((arg1)->m_useOffsetForConstraintFrame); 18396 jresult = (jint)result; 18397 return jresult; 18398 } 18399 18400 18401 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofConstraintDoubleData2(JNIEnv *jenv, jclass jcls) { 18402 jlong jresult = 0 ; 18403 btGeneric6DofConstraintDoubleData2 *result = 0 ; 18404 18405 (void)jenv; 18406 (void)jcls; 18407 result = (btGeneric6DofConstraintDoubleData2 *)new btGeneric6DofConstraintDoubleData2(); 18408 *(btGeneric6DofConstraintDoubleData2 **)&jresult = result; 18409 return jresult; 18410 } 18411 18412 18413 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 18414 btGeneric6DofConstraintDoubleData2 *arg1 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 18415 18416 (void)jenv; 18417 (void)jcls; 18418 arg1 = *(btGeneric6DofConstraintDoubleData2 **)&jarg1; 18419 delete arg1; 18420 } 18421 18422 18423 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btUniversalConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5) { 18424 jlong jresult = 0 ; 18425 btRigidBody *arg1 = 0 ; 18426 btRigidBody *arg2 = 0 ; 18427 btVector3 *arg3 = 0 ; 18428 btVector3 *arg4 = 0 ; 18429 btVector3 *arg5 = 0 ; 18430 btUniversalConstraint *result = 0 ; 18431 18432 (void)jenv; 18433 (void)jcls; 18434 (void)jarg1_; 18435 (void)jarg2_; 18436 arg1 = *(btRigidBody **)&jarg1; 18437 if (!arg1) { 18438 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18439 return 0; 18440 } 18441 arg2 = *(btRigidBody **)&jarg2; 18442 if (!arg2) { 18443 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18444 return 0; 18445 } 18446 btVector3 local_arg3; 18447 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 18448 arg3 = &local_arg3; 18449 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 18450 btVector3 local_arg4; 18451 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 18452 arg4 = &local_arg4; 18453 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 18454 btVector3 local_arg5; 18455 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 18456 arg5 = &local_arg5; 18457 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 18458 result = (btUniversalConstraint *)new btUniversalConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5); 18459 *(btUniversalConstraint **)&jresult = result; 18460 return jresult; 18461 } 18462 18463 18464 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAnchor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18465 jobject jresult = 0 ; 18466 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18467 btVector3 *result = 0 ; 18468 18469 (void)jenv; 18470 (void)jcls; 18471 (void)jarg1_; 18472 arg1 = *(btUniversalConstraint **)&jarg1; 18473 result = (btVector3 *) &(arg1)->getAnchor(); 18474 jresult = gdx_getReturnVector3(jenv); 18475 gdx_setVector3FrombtVector3(jenv, jresult, result); 18476 return jresult; 18477 } 18478 18479 18480 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAnchor2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18481 jobject jresult = 0 ; 18482 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18483 btVector3 *result = 0 ; 18484 18485 (void)jenv; 18486 (void)jcls; 18487 (void)jarg1_; 18488 arg1 = *(btUniversalConstraint **)&jarg1; 18489 result = (btVector3 *) &(arg1)->getAnchor2(); 18490 jresult = gdx_getReturnVector3(jenv); 18491 gdx_setVector3FrombtVector3(jenv, jresult, result); 18492 return jresult; 18493 } 18494 18495 18496 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAxis1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18497 jobject jresult = 0 ; 18498 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18499 btVector3 *result = 0 ; 18500 18501 (void)jenv; 18502 (void)jcls; 18503 (void)jarg1_; 18504 arg1 = *(btUniversalConstraint **)&jarg1; 18505 result = (btVector3 *) &(arg1)->getAxis1(); 18506 jresult = gdx_getReturnVector3(jenv); 18507 gdx_setVector3FrombtVector3(jenv, jresult, result); 18508 return jresult; 18509 } 18510 18511 18512 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAxis2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18513 jobject jresult = 0 ; 18514 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18515 btVector3 *result = 0 ; 18516 18517 (void)jenv; 18518 (void)jcls; 18519 (void)jarg1_; 18520 arg1 = *(btUniversalConstraint **)&jarg1; 18521 result = (btVector3 *) &(arg1)->getAxis2(); 18522 jresult = gdx_getReturnVector3(jenv); 18523 gdx_setVector3FrombtVector3(jenv, jresult, result); 18524 return jresult; 18525 } 18526 18527 18528 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAngle1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18529 jfloat jresult = 0 ; 18530 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18531 btScalar result; 18532 18533 (void)jenv; 18534 (void)jcls; 18535 (void)jarg1_; 18536 arg1 = *(btUniversalConstraint **)&jarg1; 18537 result = (btScalar)(arg1)->getAngle1(); 18538 jresult = (jfloat)result; 18539 return jresult; 18540 } 18541 18542 18543 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1getAngle2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18544 jfloat jresult = 0 ; 18545 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18546 btScalar result; 18547 18548 (void)jenv; 18549 (void)jcls; 18550 (void)jarg1_; 18551 arg1 = *(btUniversalConstraint **)&jarg1; 18552 result = (btScalar)(arg1)->getAngle2(); 18553 jresult = (jfloat)result; 18554 return jresult; 18555 } 18556 18557 18558 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 18559 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18560 btScalar arg2 ; 18561 btScalar arg3 ; 18562 18563 (void)jenv; 18564 (void)jcls; 18565 (void)jarg1_; 18566 arg1 = *(btUniversalConstraint **)&jarg1; 18567 arg2 = (btScalar)jarg2; 18568 arg3 = (btScalar)jarg3; 18569 (arg1)->setUpperLimit(arg2,arg3); 18570 } 18571 18572 18573 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 18574 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18575 btScalar arg2 ; 18576 btScalar arg3 ; 18577 18578 (void)jenv; 18579 (void)jcls; 18580 (void)jarg1_; 18581 arg1 = *(btUniversalConstraint **)&jarg1; 18582 arg2 = (btScalar)jarg2; 18583 arg3 = (btScalar)jarg3; 18584 (arg1)->setLowerLimit(arg2,arg3); 18585 } 18586 18587 18588 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 18589 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18590 btVector3 *arg2 = 0 ; 18591 btVector3 *arg3 = 0 ; 18592 18593 (void)jenv; 18594 (void)jcls; 18595 (void)jarg1_; 18596 arg1 = *(btUniversalConstraint **)&jarg1; 18597 btVector3 local_arg2; 18598 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 18599 arg2 = &local_arg2; 18600 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 18601 btVector3 local_arg3; 18602 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 18603 arg3 = &local_arg3; 18604 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 18605 (arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3); 18606 } 18607 18608 18609 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btUniversalConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 18610 btUniversalConstraint *arg1 = (btUniversalConstraint *) 0 ; 18611 18612 (void)jenv; 18613 (void)jcls; 18614 arg1 = *(btUniversalConstraint **)&jarg1; 18615 delete arg1; 18616 } 18617 18618 18619 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1setContactManifold(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18620 btContactConstraint *arg1 = (btContactConstraint *) 0 ; 18621 btPersistentManifold *arg2 = (btPersistentManifold *) 0 ; 18622 18623 (void)jenv; 18624 (void)jcls; 18625 (void)jarg1_; 18626 (void)jarg2_; 18627 arg1 = *(btContactConstraint **)&jarg1; 18628 arg2 = *(btPersistentManifold **)&jarg2; 18629 (arg1)->setContactManifold(arg2); 18630 } 18631 18632 18633 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1getContactManifold_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18634 jlong jresult = 0 ; 18635 btContactConstraint *arg1 = (btContactConstraint *) 0 ; 18636 btPersistentManifold *result = 0 ; 18637 18638 (void)jenv; 18639 (void)jcls; 18640 (void)jarg1_; 18641 arg1 = *(btContactConstraint **)&jarg1; 18642 result = (btPersistentManifold *)(arg1)->getContactManifold(); 18643 *(btPersistentManifold **)&jresult = result; 18644 return jresult; 18645 } 18646 18647 18648 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btContactConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 18649 btContactConstraint *arg1 = (btContactConstraint *) 0 ; 18650 18651 (void)jenv; 18652 (void)jcls; 18653 arg1 = *(btContactConstraint **)&jarg1; 18654 delete arg1; 18655 } 18656 18657 18658 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_resolveSingleCollision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jlong jarg5, jobject jarg5_, jfloat jarg6) { 18659 jfloat jresult = 0 ; 18660 btRigidBody *arg1 = (btRigidBody *) 0 ; 18661 btCollisionObject *arg2 = (btCollisionObject *) 0 ; 18662 btVector3 *arg3 = 0 ; 18663 btVector3 *arg4 = 0 ; 18664 btContactSolverInfo *arg5 = 0 ; 18665 btScalar arg6 ; 18666 btScalar result; 18667 18668 (void)jenv; 18669 (void)jcls; 18670 (void)jarg1_; 18671 (void)jarg2_; 18672 (void)jarg5_; 18673 arg1 = *(btRigidBody **)&jarg1; 18674 arg2 = *(btCollisionObject **)&jarg2; 18675 btVector3 local_arg3; 18676 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 18677 arg3 = &local_arg3; 18678 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 18679 btVector3 local_arg4; 18680 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 18681 arg4 = &local_arg4; 18682 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 18683 arg5 = *(btContactSolverInfo **)&jarg5; 18684 if (!arg5) { 18685 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btContactSolverInfo const & reference is null"); 18686 return 0; 18687 } 18688 arg6 = (btScalar)jarg6; 18689 result = (btScalar)resolveSingleCollision(arg1,arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btContactSolverInfo const &)*arg5,arg6); 18690 jresult = (jfloat)result; 18691 return jresult; 18692 } 18693 18694 18695 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_resolveSingleBilateral(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_, jobject jarg4, jfloat jarg5, jobject jarg6, jlong jarg7, jfloat jarg8) { 18696 btRigidBody *arg1 = 0 ; 18697 btVector3 *arg2 = 0 ; 18698 btRigidBody *arg3 = 0 ; 18699 btVector3 *arg4 = 0 ; 18700 btScalar arg5 ; 18701 btVector3 *arg6 = 0 ; 18702 btScalar *arg7 = 0 ; 18703 btScalar arg8 ; 18704 18705 (void)jenv; 18706 (void)jcls; 18707 (void)jarg1_; 18708 (void)jarg3_; 18709 arg1 = *(btRigidBody **)&jarg1; 18710 if (!arg1) { 18711 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18712 return ; 18713 } 18714 btVector3 local_arg2; 18715 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 18716 arg2 = &local_arg2; 18717 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 18718 arg3 = *(btRigidBody **)&jarg3; 18719 if (!arg3) { 18720 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18721 return ; 18722 } 18723 btVector3 local_arg4; 18724 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 18725 arg4 = &local_arg4; 18726 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 18727 arg5 = (btScalar)jarg5; 18728 btVector3 local_arg6; 18729 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 18730 arg6 = &local_arg6; 18731 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 18732 arg7 = *(btScalar **)&jarg7; 18733 if (!arg7) { 18734 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btScalar & reference is null"); 18735 return ; 18736 } 18737 arg8 = (btScalar)jarg8; 18738 resolveSingleBilateral(*arg1,(btVector3 const &)*arg2,*arg3,(btVector3 const &)*arg4,arg5,(btVector3 const &)*arg6,*arg7,arg8); 18739 } 18740 18741 18742 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 18743 jlong jresult = 0 ; 18744 btRigidBody *arg1 = 0 ; 18745 btRigidBody *arg2 = 0 ; 18746 btTransform *arg3 = 0 ; 18747 btTransform *arg4 = 0 ; 18748 btConeTwistConstraint *result = 0 ; 18749 18750 (void)jenv; 18751 (void)jcls; 18752 (void)jarg1_; 18753 (void)jarg2_; 18754 arg1 = *(btRigidBody **)&jarg1; 18755 if (!arg1) { 18756 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18757 return 0; 18758 } 18759 arg2 = *(btRigidBody **)&jarg2; 18760 if (!arg2) { 18761 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18762 return 0; 18763 } 18764 btTransform local_arg3; 18765 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 18766 arg3 = &local_arg3; 18767 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 18768 btTransform local_arg4; 18769 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 18770 arg4 = &local_arg4; 18771 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 18772 result = (btConeTwistConstraint *)new btConeTwistConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4); 18773 *(btConeTwistConstraint **)&jresult = result; 18774 return jresult; 18775 } 18776 18777 18778 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 18779 jlong jresult = 0 ; 18780 btRigidBody *arg1 = 0 ; 18781 btTransform *arg2 = 0 ; 18782 btConeTwistConstraint *result = 0 ; 18783 18784 (void)jenv; 18785 (void)jcls; 18786 (void)jarg1_; 18787 arg1 = *(btRigidBody **)&jarg1; 18788 if (!arg1) { 18789 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 18790 return 0; 18791 } 18792 btTransform local_arg2; 18793 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 18794 arg2 = &local_arg2; 18795 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 18796 result = (btConeTwistConstraint *)new btConeTwistConstraint(*arg1,(btTransform const &)*arg2); 18797 *(btConeTwistConstraint **)&jresult = result; 18798 return jresult; 18799 } 18800 18801 18802 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 18803 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18804 btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 18805 18806 (void)jenv; 18807 (void)jcls; 18808 (void)jarg1_; 18809 (void)jarg2_; 18810 arg1 = *(btConeTwistConstraint **)&jarg1; 18811 arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2; 18812 (arg1)->getInfo1NonVirtual(arg2); 18813 } 18814 18815 18816 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) { 18817 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18818 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 18819 btTransform *arg3 = 0 ; 18820 btTransform *arg4 = 0 ; 18821 btMatrix3x3 *arg5 = 0 ; 18822 btMatrix3x3 *arg6 = 0 ; 18823 18824 (void)jenv; 18825 (void)jcls; 18826 (void)jarg1_; 18827 (void)jarg2_; 18828 arg1 = *(btConeTwistConstraint **)&jarg1; 18829 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 18830 btTransform local_arg3; 18831 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 18832 arg3 = &local_arg3; 18833 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 18834 btTransform local_arg4; 18835 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 18836 arg4 = &local_arg4; 18837 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 18838 btMatrix3x3 local_arg5; 18839 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5); 18840 arg5 = &local_arg5; 18841 gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5); 18842 btMatrix3x3 local_arg6; 18843 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg6, jarg6); 18844 arg6 = &local_arg6; 18845 gdxAutoCommitMatrix3 auto_commit_arg6(jenv, jarg6, &local_arg6); 18846 (arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btMatrix3x3 const &)*arg5,(btMatrix3x3 const &)*arg6); 18847 } 18848 18849 18850 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 18851 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18852 btScalar arg2 ; 18853 18854 (void)jenv; 18855 (void)jcls; 18856 (void)jarg1_; 18857 arg1 = *(btConeTwistConstraint **)&jarg1; 18858 arg2 = (btScalar)jarg2; 18859 (arg1)->updateRHS(arg2); 18860 } 18861 18862 18863 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRigidBodyA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18864 jlong jresult = 0 ; 18865 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18866 btRigidBody *result = 0 ; 18867 18868 (void)jenv; 18869 (void)jcls; 18870 (void)jarg1_; 18871 arg1 = *(btConeTwistConstraint **)&jarg1; 18872 result = (btRigidBody *) &((btConeTwistConstraint const *)arg1)->getRigidBodyA(); 18873 *(btRigidBody **)&jresult = result; 18874 return jresult; 18875 } 18876 18877 18878 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getRigidBodyB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 18879 jlong jresult = 0 ; 18880 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18881 btRigidBody *result = 0 ; 18882 18883 (void)jenv; 18884 (void)jcls; 18885 (void)jarg1_; 18886 arg1 = *(btConeTwistConstraint **)&jarg1; 18887 result = (btRigidBody *) &((btConeTwistConstraint const *)arg1)->getRigidBodyB(); 18888 *(btRigidBody **)&jresult = result; 18889 return jresult; 18890 } 18891 18892 18893 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 18894 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18895 bool arg2 ; 18896 18897 (void)jenv; 18898 (void)jcls; 18899 (void)jarg1_; 18900 arg1 = *(btConeTwistConstraint **)&jarg1; 18901 arg2 = jarg2 ? true : false; 18902 (arg1)->setAngularOnly(arg2); 18903 } 18904 18905 18906 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 18907 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18908 int arg2 ; 18909 btScalar arg3 ; 18910 18911 (void)jenv; 18912 (void)jcls; 18913 (void)jarg1_; 18914 arg1 = *(btConeTwistConstraint **)&jarg1; 18915 arg2 = (int)jarg2; 18916 arg3 = (btScalar)jarg3; 18917 (arg1)->setLimit(arg2,arg3); 18918 } 18919 18920 18921 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6, jfloat jarg7) { 18922 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18923 btScalar arg2 ; 18924 btScalar arg3 ; 18925 btScalar arg4 ; 18926 btScalar arg5 ; 18927 btScalar arg6 ; 18928 btScalar arg7 ; 18929 18930 (void)jenv; 18931 (void)jcls; 18932 (void)jarg1_; 18933 arg1 = *(btConeTwistConstraint **)&jarg1; 18934 arg2 = (btScalar)jarg2; 18935 arg3 = (btScalar)jarg3; 18936 arg4 = (btScalar)jarg4; 18937 arg5 = (btScalar)jarg5; 18938 arg6 = (btScalar)jarg6; 18939 arg7 = (btScalar)jarg7; 18940 (arg1)->setLimit(arg2,arg3,arg4,arg5,arg6,arg7); 18941 } 18942 18943 18944 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) { 18945 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18946 btScalar arg2 ; 18947 btScalar arg3 ; 18948 btScalar arg4 ; 18949 btScalar arg5 ; 18950 btScalar arg6 ; 18951 18952 (void)jenv; 18953 (void)jcls; 18954 (void)jarg1_; 18955 arg1 = *(btConeTwistConstraint **)&jarg1; 18956 arg2 = (btScalar)jarg2; 18957 arg3 = (btScalar)jarg3; 18958 arg4 = (btScalar)jarg4; 18959 arg5 = (btScalar)jarg5; 18960 arg6 = (btScalar)jarg6; 18961 (arg1)->setLimit(arg2,arg3,arg4,arg5,arg6); 18962 } 18963 18964 18965 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) { 18966 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18967 btScalar arg2 ; 18968 btScalar arg3 ; 18969 btScalar arg4 ; 18970 btScalar arg5 ; 18971 18972 (void)jenv; 18973 (void)jcls; 18974 (void)jarg1_; 18975 arg1 = *(btConeTwistConstraint **)&jarg1; 18976 arg2 = (btScalar)jarg2; 18977 arg3 = (btScalar)jarg3; 18978 arg4 = (btScalar)jarg4; 18979 arg5 = (btScalar)jarg5; 18980 (arg1)->setLimit(arg2,arg3,arg4,arg5); 18981 } 18982 18983 18984 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setLimit_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) { 18985 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 18986 btScalar arg2 ; 18987 btScalar arg3 ; 18988 btScalar arg4 ; 18989 18990 (void)jenv; 18991 (void)jcls; 18992 (void)jarg1_; 18993 arg1 = *(btConeTwistConstraint **)&jarg1; 18994 arg2 = (btScalar)jarg2; 18995 arg3 = (btScalar)jarg3; 18996 arg4 = (btScalar)jarg4; 18997 (arg1)->setLimit(arg2,arg3,arg4); 18998 } 18999 19000 19001 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getAFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19002 jobject jresult = 0 ; 19003 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19004 btTransform *result = 0 ; 19005 19006 (void)jenv; 19007 (void)jcls; 19008 (void)jarg1_; 19009 arg1 = *(btConeTwistConstraint **)&jarg1; 19010 result = (btTransform *) &(arg1)->getAFrame(); 19011 jresult = gdx_getReturnMatrix4(jenv); 19012 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 19013 return jresult; 19014 } 19015 19016 19017 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getBFrame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19018 jobject jresult = 0 ; 19019 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19020 btTransform *result = 0 ; 19021 19022 (void)jenv; 19023 (void)jcls; 19024 (void)jarg1_; 19025 arg1 = *(btConeTwistConstraint **)&jarg1; 19026 result = (btTransform *) &(arg1)->getBFrame(); 19027 jresult = gdx_getReturnMatrix4(jenv); 19028 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 19029 return jresult; 19030 } 19031 19032 19033 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSolveTwistLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19034 jint jresult = 0 ; 19035 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19036 int result; 19037 19038 (void)jenv; 19039 (void)jcls; 19040 (void)jarg1_; 19041 arg1 = *(btConeTwistConstraint **)&jarg1; 19042 result = (int)(arg1)->getSolveTwistLimit(); 19043 jresult = (jint)result; 19044 return jresult; 19045 } 19046 19047 19048 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSolveSwingLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19049 jint jresult = 0 ; 19050 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19051 int result; 19052 19053 (void)jenv; 19054 (void)jcls; 19055 (void)jarg1_; 19056 arg1 = *(btConeTwistConstraint **)&jarg1; 19057 result = (int)(arg1)->getSolveSwingLimit(); 19058 jresult = (jint)result; 19059 return jresult; 19060 } 19061 19062 19063 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistLimitSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19064 jfloat jresult = 0 ; 19065 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19066 btScalar result; 19067 19068 (void)jenv; 19069 (void)jcls; 19070 (void)jarg1_; 19071 arg1 = *(btConeTwistConstraint **)&jarg1; 19072 result = (btScalar)(arg1)->getTwistLimitSign(); 19073 jresult = (jfloat)result; 19074 return jresult; 19075 } 19076 19077 19078 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1calcAngleInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19079 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19080 19081 (void)jenv; 19082 (void)jcls; 19083 (void)jarg1_; 19084 arg1 = *(btConeTwistConstraint **)&jarg1; 19085 (arg1)->calcAngleInfo(); 19086 } 19087 19088 19089 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1calcAngleInfo2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jobject jarg5) { 19090 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19091 btTransform *arg2 = 0 ; 19092 btTransform *arg3 = 0 ; 19093 btMatrix3x3 *arg4 = 0 ; 19094 btMatrix3x3 *arg5 = 0 ; 19095 19096 (void)jenv; 19097 (void)jcls; 19098 (void)jarg1_; 19099 arg1 = *(btConeTwistConstraint **)&jarg1; 19100 btTransform local_arg2; 19101 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 19102 arg2 = &local_arg2; 19103 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 19104 btTransform local_arg3; 19105 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 19106 arg3 = &local_arg3; 19107 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 19108 btMatrix3x3 local_arg4; 19109 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg4, jarg4); 19110 arg4 = &local_arg4; 19111 gdxAutoCommitMatrix3 auto_commit_arg4(jenv, jarg4, &local_arg4); 19112 btMatrix3x3 local_arg5; 19113 gdx_setbtMatrix3x3FromMatrix3(jenv, local_arg5, jarg5); 19114 arg5 = &local_arg5; 19115 gdxAutoCommitMatrix3 auto_commit_arg5(jenv, jarg5, &local_arg5); 19116 (arg1)->calcAngleInfo2((btTransform const &)*arg2,(btTransform const &)*arg3,(btMatrix3x3 const &)*arg4,(btMatrix3x3 const &)*arg5); 19117 } 19118 19119 19120 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSwingSpan1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19121 jfloat jresult = 0 ; 19122 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19123 btScalar result; 19124 19125 (void)jenv; 19126 (void)jcls; 19127 (void)jarg1_; 19128 arg1 = *(btConeTwistConstraint **)&jarg1; 19129 result = (btScalar)(arg1)->getSwingSpan1(); 19130 jresult = (jfloat)result; 19131 return jresult; 19132 } 19133 19134 19135 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getSwingSpan2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19136 jfloat jresult = 0 ; 19137 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19138 btScalar result; 19139 19140 (void)jenv; 19141 (void)jcls; 19142 (void)jarg1_; 19143 arg1 = *(btConeTwistConstraint **)&jarg1; 19144 result = (btScalar)(arg1)->getSwingSpan2(); 19145 jresult = (jfloat)result; 19146 return jresult; 19147 } 19148 19149 19150 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistSpan(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19151 jfloat jresult = 0 ; 19152 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19153 btScalar result; 19154 19155 (void)jenv; 19156 (void)jcls; 19157 (void)jarg1_; 19158 arg1 = *(btConeTwistConstraint **)&jarg1; 19159 result = (btScalar)(arg1)->getTwistSpan(); 19160 jresult = (jfloat)result; 19161 return jresult; 19162 } 19163 19164 19165 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getTwistAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19166 jfloat jresult = 0 ; 19167 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19168 btScalar result; 19169 19170 (void)jenv; 19171 (void)jcls; 19172 (void)jarg1_; 19173 arg1 = *(btConeTwistConstraint **)&jarg1; 19174 result = (btScalar)(arg1)->getTwistAngle(); 19175 jresult = (jfloat)result; 19176 return jresult; 19177 } 19178 19179 19180 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1isPastSwingLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19181 jboolean jresult = 0 ; 19182 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19183 bool result; 19184 19185 (void)jenv; 19186 (void)jcls; 19187 (void)jarg1_; 19188 arg1 = *(btConeTwistConstraint **)&jarg1; 19189 result = (bool)(arg1)->isPastSwingLimit(); 19190 jresult = (jboolean)result; 19191 return jresult; 19192 } 19193 19194 19195 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19196 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19197 btScalar arg2 ; 19198 19199 (void)jenv; 19200 (void)jcls; 19201 (void)jarg1_; 19202 arg1 = *(btConeTwistConstraint **)&jarg1; 19203 arg2 = (btScalar)jarg2; 19204 (arg1)->setDamping(arg2); 19205 } 19206 19207 19208 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 19209 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19210 bool arg2 ; 19211 19212 (void)jenv; 19213 (void)jcls; 19214 (void)jarg1_; 19215 arg1 = *(btConeTwistConstraint **)&jarg1; 19216 arg2 = jarg2 ? true : false; 19217 (arg1)->enableMotor(arg2); 19218 } 19219 19220 19221 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19222 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19223 btScalar arg2 ; 19224 19225 (void)jenv; 19226 (void)jcls; 19227 (void)jarg1_; 19228 arg1 = *(btConeTwistConstraint **)&jarg1; 19229 arg2 = (btScalar)jarg2; 19230 (arg1)->setMaxMotorImpulse(arg2); 19231 } 19232 19233 19234 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMaxMotorImpulseNormalized(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19235 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19236 btScalar arg2 ; 19237 19238 (void)jenv; 19239 (void)jcls; 19240 (void)jarg1_; 19241 arg1 = *(btConeTwistConstraint **)&jarg1; 19242 arg2 = (btScalar)jarg2; 19243 (arg1)->setMaxMotorImpulseNormalized(arg2); 19244 } 19245 19246 19247 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFixThresh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19248 jfloat jresult = 0 ; 19249 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19250 btScalar result; 19251 19252 (void)jenv; 19253 (void)jcls; 19254 (void)jarg1_; 19255 arg1 = *(btConeTwistConstraint **)&jarg1; 19256 result = (btScalar)(arg1)->getFixThresh(); 19257 jresult = (jfloat)result; 19258 return jresult; 19259 } 19260 19261 19262 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setFixThresh(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19263 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19264 btScalar arg2 ; 19265 19266 (void)jenv; 19267 (void)jcls; 19268 (void)jarg1_; 19269 arg1 = *(btConeTwistConstraint **)&jarg1; 19270 arg2 = (btScalar)jarg2; 19271 (arg1)->setFixThresh(arg2); 19272 } 19273 19274 19275 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMotorTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 19276 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19277 btQuaternion *arg2 = 0 ; 19278 19279 (void)jenv; 19280 (void)jcls; 19281 (void)jarg1_; 19282 arg1 = *(btConeTwistConstraint **)&jarg1; 19283 btQuaternion local_arg2; 19284 gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2); 19285 arg2 = &local_arg2; 19286 gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2); 19287 (arg1)->setMotorTarget((btQuaternion const &)*arg2); 19288 } 19289 19290 19291 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setMotorTargetInConstraintSpace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 19292 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19293 btQuaternion *arg2 = 0 ; 19294 19295 (void)jenv; 19296 (void)jcls; 19297 (void)jarg1_; 19298 arg1 = *(btConeTwistConstraint **)&jarg1; 19299 btQuaternion local_arg2; 19300 gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2); 19301 arg2 = &local_arg2; 19302 gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2); 19303 (arg1)->setMotorTargetInConstraintSpace((btQuaternion const &)*arg2); 19304 } 19305 19306 19307 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1GetPointForAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 19308 jobject jresult = 0 ; 19309 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19310 btScalar arg2 ; 19311 btScalar arg3 ; 19312 btVector3 result; 19313 19314 (void)jenv; 19315 (void)jcls; 19316 (void)jarg1_; 19317 arg1 = *(btConeTwistConstraint **)&jarg1; 19318 arg2 = (btScalar)jarg2; 19319 arg3 = (btScalar)jarg3; 19320 result = ((btConeTwistConstraint const *)arg1)->GetPointForAngle(arg2,arg3); 19321 jresult = gdx_getReturnVector3(jenv); 19322 gdx_setVector3FrombtVector3(jenv, jresult, result); 19323 return jresult; 19324 } 19325 19326 19327 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 19328 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19329 int arg2 ; 19330 btScalar arg3 ; 19331 int arg4 ; 19332 19333 (void)jenv; 19334 (void)jcls; 19335 (void)jarg1_; 19336 arg1 = *(btConeTwistConstraint **)&jarg1; 19337 arg2 = (int)jarg2; 19338 arg3 = (btScalar)jarg3; 19339 arg4 = (int)jarg4; 19340 (arg1)->setParam(arg2,arg3,arg4); 19341 } 19342 19343 19344 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 19345 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19346 int arg2 ; 19347 btScalar arg3 ; 19348 19349 (void)jenv; 19350 (void)jcls; 19351 (void)jarg1_; 19352 arg1 = *(btConeTwistConstraint **)&jarg1; 19353 arg2 = (int)jarg2; 19354 arg3 = (btScalar)jarg3; 19355 (arg1)->setParam(arg2,arg3); 19356 } 19357 19358 19359 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 19360 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19361 btTransform *arg2 = 0 ; 19362 btTransform *arg3 = 0 ; 19363 19364 (void)jenv; 19365 (void)jcls; 19366 (void)jarg1_; 19367 arg1 = *(btConeTwistConstraint **)&jarg1; 19368 btTransform local_arg2; 19369 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 19370 arg2 = &local_arg2; 19371 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 19372 btTransform local_arg3; 19373 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 19374 arg3 = &local_arg3; 19375 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 19376 (arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3); 19377 } 19378 19379 19380 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19381 jobject jresult = 0 ; 19382 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19383 btTransform *result = 0 ; 19384 19385 (void)jenv; 19386 (void)jcls; 19387 (void)jarg1_; 19388 arg1 = *(btConeTwistConstraint **)&jarg1; 19389 result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getFrameOffsetA(); 19390 jresult = gdx_getReturnMatrix4(jenv); 19391 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 19392 return jresult; 19393 } 19394 19395 19396 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19397 jobject jresult = 0 ; 19398 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19399 btTransform *result = 0 ; 19400 19401 (void)jenv; 19402 (void)jcls; 19403 (void)jarg1_; 19404 arg1 = *(btConeTwistConstraint **)&jarg1; 19405 result = (btTransform *) &((btConeTwistConstraint const *)arg1)->getFrameOffsetB(); 19406 jresult = gdx_getReturnMatrix4(jenv); 19407 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 19408 return jresult; 19409 } 19410 19411 19412 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 19413 jfloat jresult = 0 ; 19414 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19415 int arg2 ; 19416 int arg3 ; 19417 btScalar result; 19418 19419 (void)jenv; 19420 (void)jcls; 19421 (void)jarg1_; 19422 arg1 = *(btConeTwistConstraint **)&jarg1; 19423 arg2 = (int)jarg2; 19424 arg3 = (int)jarg3; 19425 result = (btScalar)((btConeTwistConstraint const *)arg1)->getParam(arg2,arg3); 19426 jresult = (jfloat)result; 19427 return jresult; 19428 } 19429 19430 19431 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 19432 jfloat jresult = 0 ; 19433 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19434 int arg2 ; 19435 btScalar result; 19436 19437 (void)jenv; 19438 (void)jcls; 19439 (void)jarg1_; 19440 arg1 = *(btConeTwistConstraint **)&jarg1; 19441 arg2 = (int)jarg2; 19442 result = (btScalar)((btConeTwistConstraint const *)arg1)->getParam(arg2); 19443 jresult = (jfloat)result; 19444 return jresult; 19445 } 19446 19447 19448 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 19449 btConeTwistConstraint *arg1 = (btConeTwistConstraint *) 0 ; 19450 19451 (void)jenv; 19452 (void)jcls; 19453 arg1 = *(btConeTwistConstraint **)&jarg1; 19454 delete arg1; 19455 } 19456 19457 19458 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 19459 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19460 btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ; 19461 19462 (void)jenv; 19463 (void)jcls; 19464 (void)jarg1_; 19465 (void)jarg2_; 19466 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19467 arg2 = *(btTypedConstraintDoubleData **)&jarg2; 19468 if (arg1) (arg1)->m_typeConstraintData = *arg2; 19469 } 19470 19471 19472 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19473 jlong jresult = 0 ; 19474 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19475 btTypedConstraintDoubleData *result = 0 ; 19476 19477 (void)jenv; 19478 (void)jcls; 19479 (void)jarg1_; 19480 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19481 result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData); 19482 *(btTypedConstraintDoubleData **)&jresult = result; 19483 return jresult; 19484 } 19485 19486 19487 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 19488 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19489 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 19490 19491 (void)jenv; 19492 (void)jcls; 19493 (void)jarg1_; 19494 (void)jarg2_; 19495 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19496 arg2 = *(btTransformDoubleData **)&jarg2; 19497 if (arg1) (arg1)->m_rbAFrame = *arg2; 19498 } 19499 19500 19501 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19502 jlong jresult = 0 ; 19503 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19504 btTransformDoubleData *result = 0 ; 19505 19506 (void)jenv; 19507 (void)jcls; 19508 (void)jarg1_; 19509 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19510 result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame); 19511 *(btTransformDoubleData **)&jresult = result; 19512 return jresult; 19513 } 19514 19515 19516 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 19517 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19518 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 19519 19520 (void)jenv; 19521 (void)jcls; 19522 (void)jarg1_; 19523 (void)jarg2_; 19524 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19525 arg2 = *(btTransformDoubleData **)&jarg2; 19526 if (arg1) (arg1)->m_rbBFrame = *arg2; 19527 } 19528 19529 19530 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19531 jlong jresult = 0 ; 19532 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19533 btTransformDoubleData *result = 0 ; 19534 19535 (void)jenv; 19536 (void)jcls; 19537 (void)jarg1_; 19538 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19539 result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame); 19540 *(btTransformDoubleData **)&jresult = result; 19541 return jresult; 19542 } 19543 19544 19545 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19546 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19547 double arg2 ; 19548 19549 (void)jenv; 19550 (void)jcls; 19551 (void)jarg1_; 19552 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19553 arg2 = (double)jarg2; 19554 if (arg1) (arg1)->m_swingSpan1 = arg2; 19555 } 19556 19557 19558 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19559 jdouble jresult = 0 ; 19560 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19561 double result; 19562 19563 (void)jenv; 19564 (void)jcls; 19565 (void)jarg1_; 19566 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19567 result = (double) ((arg1)->m_swingSpan1); 19568 jresult = (jdouble)result; 19569 return jresult; 19570 } 19571 19572 19573 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19574 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19575 double arg2 ; 19576 19577 (void)jenv; 19578 (void)jcls; 19579 (void)jarg1_; 19580 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19581 arg2 = (double)jarg2; 19582 if (arg1) (arg1)->m_swingSpan2 = arg2; 19583 } 19584 19585 19586 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1swingSpan2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19587 jdouble jresult = 0 ; 19588 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19589 double result; 19590 19591 (void)jenv; 19592 (void)jcls; 19593 (void)jarg1_; 19594 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19595 result = (double) ((arg1)->m_swingSpan2); 19596 jresult = (jdouble)result; 19597 return jresult; 19598 } 19599 19600 19601 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1twistSpan_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19602 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19603 double arg2 ; 19604 19605 (void)jenv; 19606 (void)jcls; 19607 (void)jarg1_; 19608 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19609 arg2 = (double)jarg2; 19610 if (arg1) (arg1)->m_twistSpan = arg2; 19611 } 19612 19613 19614 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1twistSpan_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19615 jdouble jresult = 0 ; 19616 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19617 double result; 19618 19619 (void)jenv; 19620 (void)jcls; 19621 (void)jarg1_; 19622 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19623 result = (double) ((arg1)->m_twistSpan); 19624 jresult = (jdouble)result; 19625 return jresult; 19626 } 19627 19628 19629 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19630 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19631 double arg2 ; 19632 19633 (void)jenv; 19634 (void)jcls; 19635 (void)jarg1_; 19636 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19637 arg2 = (double)jarg2; 19638 if (arg1) (arg1)->m_limitSoftness = arg2; 19639 } 19640 19641 19642 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19643 jdouble jresult = 0 ; 19644 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19645 double result; 19646 19647 (void)jenv; 19648 (void)jcls; 19649 (void)jarg1_; 19650 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19651 result = (double) ((arg1)->m_limitSoftness); 19652 jresult = (jdouble)result; 19653 return jresult; 19654 } 19655 19656 19657 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19658 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19659 double arg2 ; 19660 19661 (void)jenv; 19662 (void)jcls; 19663 (void)jarg1_; 19664 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19665 arg2 = (double)jarg2; 19666 if (arg1) (arg1)->m_biasFactor = arg2; 19667 } 19668 19669 19670 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19671 jdouble jresult = 0 ; 19672 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19673 double result; 19674 19675 (void)jenv; 19676 (void)jcls; 19677 (void)jarg1_; 19678 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19679 result = (double) ((arg1)->m_biasFactor); 19680 jresult = (jdouble)result; 19681 return jresult; 19682 } 19683 19684 19685 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19686 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19687 double arg2 ; 19688 19689 (void)jenv; 19690 (void)jcls; 19691 (void)jarg1_; 19692 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19693 arg2 = (double)jarg2; 19694 if (arg1) (arg1)->m_relaxationFactor = arg2; 19695 } 19696 19697 19698 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19699 jdouble jresult = 0 ; 19700 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19701 double result; 19702 19703 (void)jenv; 19704 (void)jcls; 19705 (void)jarg1_; 19706 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19707 result = (double) ((arg1)->m_relaxationFactor); 19708 jresult = (jdouble)result; 19709 return jresult; 19710 } 19711 19712 19713 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 19714 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19715 double arg2 ; 19716 19717 (void)jenv; 19718 (void)jcls; 19719 (void)jarg1_; 19720 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19721 arg2 = (double)jarg2; 19722 if (arg1) (arg1)->m_damping = arg2; 19723 } 19724 19725 19726 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintDoubleData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19727 jdouble jresult = 0 ; 19728 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19729 double result; 19730 19731 (void)jenv; 19732 (void)jcls; 19733 (void)jarg1_; 19734 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19735 result = (double) ((arg1)->m_damping); 19736 jresult = (jdouble)result; 19737 return jresult; 19738 } 19739 19740 19741 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraintDoubleData(JNIEnv *jenv, jclass jcls) { 19742 jlong jresult = 0 ; 19743 btConeTwistConstraintDoubleData *result = 0 ; 19744 19745 (void)jenv; 19746 (void)jcls; 19747 result = (btConeTwistConstraintDoubleData *)new btConeTwistConstraintDoubleData(); 19748 *(btConeTwistConstraintDoubleData **)&jresult = result; 19749 return jresult; 19750 } 19751 19752 19753 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 19754 btConeTwistConstraintDoubleData *arg1 = (btConeTwistConstraintDoubleData *) 0 ; 19755 19756 (void)jenv; 19757 (void)jcls; 19758 arg1 = *(btConeTwistConstraintDoubleData **)&jarg1; 19759 delete arg1; 19760 } 19761 19762 19763 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 19764 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19765 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 19766 19767 (void)jenv; 19768 (void)jcls; 19769 (void)jarg1_; 19770 (void)jarg2_; 19771 arg1 = *(btConeTwistConstraintData **)&jarg1; 19772 arg2 = *(btTypedConstraintData **)&jarg2; 19773 if (arg1) (arg1)->m_typeConstraintData = *arg2; 19774 } 19775 19776 19777 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19778 jlong jresult = 0 ; 19779 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19780 btTypedConstraintData *result = 0 ; 19781 19782 (void)jenv; 19783 (void)jcls; 19784 (void)jarg1_; 19785 arg1 = *(btConeTwistConstraintData **)&jarg1; 19786 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 19787 *(btTypedConstraintData **)&jresult = result; 19788 return jresult; 19789 } 19790 19791 19792 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 19793 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19794 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 19795 19796 (void)jenv; 19797 (void)jcls; 19798 (void)jarg1_; 19799 (void)jarg2_; 19800 arg1 = *(btConeTwistConstraintData **)&jarg1; 19801 arg2 = *(btTransformFloatData **)&jarg2; 19802 if (arg1) (arg1)->m_rbAFrame = *arg2; 19803 } 19804 19805 19806 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19807 jlong jresult = 0 ; 19808 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19809 btTransformFloatData *result = 0 ; 19810 19811 (void)jenv; 19812 (void)jcls; 19813 (void)jarg1_; 19814 arg1 = *(btConeTwistConstraintData **)&jarg1; 19815 result = (btTransformFloatData *)& ((arg1)->m_rbAFrame); 19816 *(btTransformFloatData **)&jresult = result; 19817 return jresult; 19818 } 19819 19820 19821 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 19822 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19823 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 19824 19825 (void)jenv; 19826 (void)jcls; 19827 (void)jarg1_; 19828 (void)jarg2_; 19829 arg1 = *(btConeTwistConstraintData **)&jarg1; 19830 arg2 = *(btTransformFloatData **)&jarg2; 19831 if (arg1) (arg1)->m_rbBFrame = *arg2; 19832 } 19833 19834 19835 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19836 jlong jresult = 0 ; 19837 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19838 btTransformFloatData *result = 0 ; 19839 19840 (void)jenv; 19841 (void)jcls; 19842 (void)jarg1_; 19843 arg1 = *(btConeTwistConstraintData **)&jarg1; 19844 result = (btTransformFloatData *)& ((arg1)->m_rbBFrame); 19845 *(btTransformFloatData **)&jresult = result; 19846 return jresult; 19847 } 19848 19849 19850 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19851 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19852 float arg2 ; 19853 19854 (void)jenv; 19855 (void)jcls; 19856 (void)jarg1_; 19857 arg1 = *(btConeTwistConstraintData **)&jarg1; 19858 arg2 = (float)jarg2; 19859 if (arg1) (arg1)->m_swingSpan1 = arg2; 19860 } 19861 19862 19863 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19864 jfloat jresult = 0 ; 19865 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19866 float result; 19867 19868 (void)jenv; 19869 (void)jcls; 19870 (void)jarg1_; 19871 arg1 = *(btConeTwistConstraintData **)&jarg1; 19872 result = (float) ((arg1)->m_swingSpan1); 19873 jresult = (jfloat)result; 19874 return jresult; 19875 } 19876 19877 19878 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19879 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19880 float arg2 ; 19881 19882 (void)jenv; 19883 (void)jcls; 19884 (void)jarg1_; 19885 arg1 = *(btConeTwistConstraintData **)&jarg1; 19886 arg2 = (float)jarg2; 19887 if (arg1) (arg1)->m_swingSpan2 = arg2; 19888 } 19889 19890 19891 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1swingSpan2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19892 jfloat jresult = 0 ; 19893 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19894 float result; 19895 19896 (void)jenv; 19897 (void)jcls; 19898 (void)jarg1_; 19899 arg1 = *(btConeTwistConstraintData **)&jarg1; 19900 result = (float) ((arg1)->m_swingSpan2); 19901 jresult = (jfloat)result; 19902 return jresult; 19903 } 19904 19905 19906 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1twistSpan_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19907 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19908 float arg2 ; 19909 19910 (void)jenv; 19911 (void)jcls; 19912 (void)jarg1_; 19913 arg1 = *(btConeTwistConstraintData **)&jarg1; 19914 arg2 = (float)jarg2; 19915 if (arg1) (arg1)->m_twistSpan = arg2; 19916 } 19917 19918 19919 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1twistSpan_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19920 jfloat jresult = 0 ; 19921 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19922 float result; 19923 19924 (void)jenv; 19925 (void)jcls; 19926 (void)jarg1_; 19927 arg1 = *(btConeTwistConstraintData **)&jarg1; 19928 result = (float) ((arg1)->m_twistSpan); 19929 jresult = (jfloat)result; 19930 return jresult; 19931 } 19932 19933 19934 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19935 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19936 float arg2 ; 19937 19938 (void)jenv; 19939 (void)jcls; 19940 (void)jarg1_; 19941 arg1 = *(btConeTwistConstraintData **)&jarg1; 19942 arg2 = (float)jarg2; 19943 if (arg1) (arg1)->m_limitSoftness = arg2; 19944 } 19945 19946 19947 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19948 jfloat jresult = 0 ; 19949 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19950 float result; 19951 19952 (void)jenv; 19953 (void)jcls; 19954 (void)jarg1_; 19955 arg1 = *(btConeTwistConstraintData **)&jarg1; 19956 result = (float) ((arg1)->m_limitSoftness); 19957 jresult = (jfloat)result; 19958 return jresult; 19959 } 19960 19961 19962 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19963 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19964 float arg2 ; 19965 19966 (void)jenv; 19967 (void)jcls; 19968 (void)jarg1_; 19969 arg1 = *(btConeTwistConstraintData **)&jarg1; 19970 arg2 = (float)jarg2; 19971 if (arg1) (arg1)->m_biasFactor = arg2; 19972 } 19973 19974 19975 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 19976 jfloat jresult = 0 ; 19977 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19978 float result; 19979 19980 (void)jenv; 19981 (void)jcls; 19982 (void)jarg1_; 19983 arg1 = *(btConeTwistConstraintData **)&jarg1; 19984 result = (float) ((arg1)->m_biasFactor); 19985 jresult = (jfloat)result; 19986 return jresult; 19987 } 19988 19989 19990 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 19991 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 19992 float arg2 ; 19993 19994 (void)jenv; 19995 (void)jcls; 19996 (void)jarg1_; 19997 arg1 = *(btConeTwistConstraintData **)&jarg1; 19998 arg2 = (float)jarg2; 19999 if (arg1) (arg1)->m_relaxationFactor = arg2; 20000 } 20001 20002 20003 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20004 jfloat jresult = 0 ; 20005 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 20006 float result; 20007 20008 (void)jenv; 20009 (void)jcls; 20010 (void)jarg1_; 20011 arg1 = *(btConeTwistConstraintData **)&jarg1; 20012 result = (float) ((arg1)->m_relaxationFactor); 20013 jresult = (jfloat)result; 20014 return jresult; 20015 } 20016 20017 20018 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1damping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20019 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 20020 float arg2 ; 20021 20022 (void)jenv; 20023 (void)jcls; 20024 (void)jarg1_; 20025 arg1 = *(btConeTwistConstraintData **)&jarg1; 20026 arg2 = (float)jarg2; 20027 if (arg1) (arg1)->m_damping = arg2; 20028 } 20029 20030 20031 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1damping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20032 jfloat jresult = 0 ; 20033 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 20034 float result; 20035 20036 (void)jenv; 20037 (void)jcls; 20038 (void)jarg1_; 20039 arg1 = *(btConeTwistConstraintData **)&jarg1; 20040 result = (float) ((arg1)->m_damping); 20041 jresult = (jfloat)result; 20042 return jresult; 20043 } 20044 20045 20046 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1pad_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 20047 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 20048 char *arg2 ; 20049 20050 (void)jenv; 20051 (void)jcls; 20052 (void)jarg1_; 20053 arg1 = *(btConeTwistConstraintData **)&jarg1; 20054 arg2 = 0; 20055 if (jarg2) { 20056 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 20057 if (!arg2) return ; 20058 } 20059 { 20060 if(arg2) { 20061 strncpy((char*)arg1->m_pad, (const char *)arg2, 4-1); 20062 arg1->m_pad[4-1] = 0; 20063 } else { 20064 arg1->m_pad[0] = 0; 20065 } 20066 } 20067 20068 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 20069 } 20070 20071 20072 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraintData_1pad_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20073 jstring jresult = 0 ; 20074 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 20075 char *result = 0 ; 20076 20077 (void)jenv; 20078 (void)jcls; 20079 (void)jarg1_; 20080 arg1 = *(btConeTwistConstraintData **)&jarg1; 20081 result = (char *)(char *) ((arg1)->m_pad); 20082 if (result) jresult = jenv->NewStringUTF((const char *)result); 20083 return jresult; 20084 } 20085 20086 20087 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btConeTwistConstraintData(JNIEnv *jenv, jclass jcls) { 20088 jlong jresult = 0 ; 20089 btConeTwistConstraintData *result = 0 ; 20090 20091 (void)jenv; 20092 (void)jcls; 20093 result = (btConeTwistConstraintData *)new btConeTwistConstraintData(); 20094 *(btConeTwistConstraintData **)&jresult = result; 20095 return jresult; 20096 } 20097 20098 20099 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btConeTwistConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 20100 btConeTwistConstraintData *arg1 = (btConeTwistConstraintData *) 0 ; 20101 20102 (void)jenv; 20103 (void)jcls; 20104 arg1 = *(btConeTwistConstraintData **)&jarg1; 20105 delete arg1; 20106 } 20107 20108 20109 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) { 20110 jlong jresult = 0 ; 20111 btRigidBody *arg1 = 0 ; 20112 btRigidBody *arg2 = 0 ; 20113 btTransform *arg3 = 0 ; 20114 btTransform *arg4 = 0 ; 20115 bool arg5 ; 20116 btGeneric6DofSpringConstraint *result = 0 ; 20117 20118 (void)jenv; 20119 (void)jcls; 20120 (void)jarg1_; 20121 (void)jarg2_; 20122 arg1 = *(btRigidBody **)&jarg1; 20123 if (!arg1) { 20124 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 20125 return 0; 20126 } 20127 arg2 = *(btRigidBody **)&jarg2; 20128 if (!arg2) { 20129 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 20130 return 0; 20131 } 20132 btTransform local_arg3; 20133 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 20134 arg3 = &local_arg3; 20135 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 20136 btTransform local_arg4; 20137 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 20138 arg4 = &local_arg4; 20139 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 20140 arg5 = jarg5 ? true : false; 20141 result = (btGeneric6DofSpringConstraint *)new btGeneric6DofSpringConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5); 20142 *(btGeneric6DofSpringConstraint **)&jresult = result; 20143 return jresult; 20144 } 20145 20146 20147 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) { 20148 jlong jresult = 0 ; 20149 btRigidBody *arg1 = 0 ; 20150 btTransform *arg2 = 0 ; 20151 bool arg3 ; 20152 btGeneric6DofSpringConstraint *result = 0 ; 20153 20154 (void)jenv; 20155 (void)jcls; 20156 (void)jarg1_; 20157 arg1 = *(btRigidBody **)&jarg1; 20158 if (!arg1) { 20159 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 20160 return 0; 20161 } 20162 btTransform local_arg2; 20163 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 20164 arg2 = &local_arg2; 20165 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 20166 arg3 = jarg3 ? true : false; 20167 result = (btGeneric6DofSpringConstraint *)new btGeneric6DofSpringConstraint(*arg1,(btTransform const &)*arg2,arg3); 20168 *(btGeneric6DofSpringConstraint **)&jresult = result; 20169 return jresult; 20170 } 20171 20172 20173 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1enableSpring(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) { 20174 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20175 int arg2 ; 20176 bool arg3 ; 20177 20178 (void)jenv; 20179 (void)jcls; 20180 (void)jarg1_; 20181 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20182 arg2 = (int)jarg2; 20183 arg3 = jarg3 ? true : false; 20184 (arg1)->enableSpring(arg2,arg3); 20185 } 20186 20187 20188 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setStiffness(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 20189 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20190 int arg2 ; 20191 btScalar arg3 ; 20192 20193 (void)jenv; 20194 (void)jcls; 20195 (void)jarg1_; 20196 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20197 arg2 = (int)jarg2; 20198 arg3 = (btScalar)jarg3; 20199 (arg1)->setStiffness(arg2,arg3); 20200 } 20201 20202 20203 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setDamping(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 20204 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20205 int arg2 ; 20206 btScalar arg3 ; 20207 20208 (void)jenv; 20209 (void)jcls; 20210 (void)jarg1_; 20211 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20212 arg2 = (int)jarg2; 20213 arg3 = (btScalar)jarg3; 20214 (arg1)->setDamping(arg2,arg3); 20215 } 20216 20217 20218 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20219 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20220 20221 (void)jenv; 20222 (void)jcls; 20223 (void)jarg1_; 20224 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20225 (arg1)->setEquilibriumPoint(); 20226 } 20227 20228 20229 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 20230 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20231 int arg2 ; 20232 20233 (void)jenv; 20234 (void)jcls; 20235 (void)jarg1_; 20236 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20237 arg2 = (int)jarg2; 20238 (arg1)->setEquilibriumPoint(arg2); 20239 } 20240 20241 20242 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setEquilibriumPoint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 20243 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20244 int arg2 ; 20245 btScalar arg3 ; 20246 20247 (void)jenv; 20248 (void)jcls; 20249 (void)jarg1_; 20250 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20251 arg2 = (int)jarg2; 20252 arg3 = (btScalar)jarg3; 20253 (arg1)->setEquilibriumPoint(arg2,arg3); 20254 } 20255 20256 20257 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 20258 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20259 btVector3 *arg2 = 0 ; 20260 btVector3 *arg3 = 0 ; 20261 20262 (void)jenv; 20263 (void)jcls; 20264 (void)jarg1_; 20265 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20266 btVector3 local_arg2; 20267 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 20268 arg2 = &local_arg2; 20269 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 20270 btVector3 local_arg3; 20271 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 20272 arg3 = &local_arg3; 20273 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 20274 (arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3); 20275 } 20276 20277 20278 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 20279 btGeneric6DofSpringConstraint *arg1 = (btGeneric6DofSpringConstraint *) 0 ; 20280 20281 (void)jenv; 20282 (void)jcls; 20283 arg1 = *(btGeneric6DofSpringConstraint **)&jarg1; 20284 delete arg1; 20285 } 20286 20287 20288 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_16dofData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 20289 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20290 btGeneric6DofConstraintData *arg2 = (btGeneric6DofConstraintData *) 0 ; 20291 20292 (void)jenv; 20293 (void)jcls; 20294 (void)jarg1_; 20295 (void)jarg2_; 20296 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20297 arg2 = *(btGeneric6DofConstraintData **)&jarg2; 20298 if (arg1) (arg1)->m_6dofData = *arg2; 20299 } 20300 20301 20302 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_16dofData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20303 jlong jresult = 0 ; 20304 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20305 btGeneric6DofConstraintData *result = 0 ; 20306 20307 (void)jenv; 20308 (void)jcls; 20309 (void)jarg1_; 20310 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20311 result = (btGeneric6DofConstraintData *)& ((arg1)->m_6dofData); 20312 *(btGeneric6DofConstraintData **)&jresult = result; 20313 return jresult; 20314 } 20315 20316 20317 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) { 20318 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20319 int *arg2 ; 20320 20321 (void)jenv; 20322 (void)jcls; 20323 (void)jarg1_; 20324 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20325 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20326 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20327 return ; 20328 } 20329 arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20330 { 20331 size_t ii; 20332 int *b = (int *) arg1->m_springEnabled; 20333 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((int *) arg2 + ii); 20334 } 20335 jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0); 20336 } 20337 20338 20339 SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20340 jintArray jresult = 0 ; 20341 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20342 int *result = 0 ; 20343 20344 (void)jenv; 20345 (void)jcls; 20346 (void)jarg1_; 20347 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20348 result = (int *)(int *) ((arg1)->m_springEnabled); 20349 /*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 6);*/ 20350 return jresult; 20351 } 20352 20353 20354 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) { 20355 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20356 float *arg2 ; 20357 20358 (void)jenv; 20359 (void)jcls; 20360 (void)jarg1_; 20361 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20362 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20363 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20364 return ; 20365 } 20366 arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20367 { 20368 size_t ii; 20369 float *b = (float *) arg1->m_equilibriumPoint; 20370 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii); 20371 } 20372 jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0); 20373 } 20374 20375 20376 SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20377 jfloatArray jresult = 0 ; 20378 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20379 float *result = 0 ; 20380 20381 (void)jenv; 20382 (void)jcls; 20383 (void)jarg1_; 20384 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20385 result = (float *)(float *) ((arg1)->m_equilibriumPoint); 20386 /*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/ 20387 return jresult; 20388 } 20389 20390 20391 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) { 20392 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20393 float *arg2 ; 20394 20395 (void)jenv; 20396 (void)jcls; 20397 (void)jarg1_; 20398 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20399 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20400 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20401 return ; 20402 } 20403 arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20404 { 20405 size_t ii; 20406 float *b = (float *) arg1->m_springStiffness; 20407 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii); 20408 } 20409 jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0); 20410 } 20411 20412 20413 SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20414 jfloatArray jresult = 0 ; 20415 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20416 float *result = 0 ; 20417 20418 (void)jenv; 20419 (void)jcls; 20420 (void)jarg1_; 20421 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20422 result = (float *)(float *) ((arg1)->m_springStiffness); 20423 /*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/ 20424 return jresult; 20425 } 20426 20427 20428 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloatArray jarg2) { 20429 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20430 float *arg2 ; 20431 20432 (void)jenv; 20433 (void)jcls; 20434 (void)jarg1_; 20435 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20436 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20437 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20438 return ; 20439 } 20440 arg2 = (float *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20441 { 20442 size_t ii; 20443 float *b = (float *) arg1->m_springDamping; 20444 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((float *) arg2 + ii); 20445 } 20446 jenv->ReleasePrimitiveArrayCritical(jarg2, (float *)arg2, 0); 20447 } 20448 20449 20450 SWIGEXPORT jfloatArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintData_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20451 jfloatArray jresult = 0 ; 20452 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20453 float *result = 0 ; 20454 20455 (void)jenv; 20456 (void)jcls; 20457 (void)jarg1_; 20458 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20459 result = (float *)(float *) ((arg1)->m_springDamping); 20460 /*jresult = SWIG_JavaArrayOut##Float(jenv, (float *)result, 6);*/ 20461 return jresult; 20462 } 20463 20464 20465 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraintData(JNIEnv *jenv, jclass jcls) { 20466 jlong jresult = 0 ; 20467 btGeneric6DofSpringConstraintData *result = 0 ; 20468 20469 (void)jenv; 20470 (void)jcls; 20471 result = (btGeneric6DofSpringConstraintData *)new btGeneric6DofSpringConstraintData(); 20472 *(btGeneric6DofSpringConstraintData **)&jresult = result; 20473 return jresult; 20474 } 20475 20476 20477 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 20478 btGeneric6DofSpringConstraintData *arg1 = (btGeneric6DofSpringConstraintData *) 0 ; 20479 20480 (void)jenv; 20481 (void)jcls; 20482 arg1 = *(btGeneric6DofSpringConstraintData **)&jarg1; 20483 delete arg1; 20484 } 20485 20486 20487 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_16dofData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 20488 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20489 btGeneric6DofConstraintDoubleData2 *arg2 = (btGeneric6DofConstraintDoubleData2 *) 0 ; 20490 20491 (void)jenv; 20492 (void)jcls; 20493 (void)jarg1_; 20494 (void)jarg2_; 20495 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20496 arg2 = *(btGeneric6DofConstraintDoubleData2 **)&jarg2; 20497 if (arg1) (arg1)->m_6dofData = *arg2; 20498 } 20499 20500 20501 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_16dofData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20502 jlong jresult = 0 ; 20503 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20504 btGeneric6DofConstraintDoubleData2 *result = 0 ; 20505 20506 (void)jenv; 20507 (void)jcls; 20508 (void)jarg1_; 20509 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20510 result = (btGeneric6DofConstraintDoubleData2 *)& ((arg1)->m_6dofData); 20511 *(btGeneric6DofConstraintDoubleData2 **)&jresult = result; 20512 return jresult; 20513 } 20514 20515 20516 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springEnabled_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) { 20517 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20518 int *arg2 ; 20519 20520 (void)jenv; 20521 (void)jcls; 20522 (void)jarg1_; 20523 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20524 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20525 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20526 return ; 20527 } 20528 arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20529 { 20530 size_t ii; 20531 int *b = (int *) arg1->m_springEnabled; 20532 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((int *) arg2 + ii); 20533 } 20534 jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0); 20535 } 20536 20537 20538 SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springEnabled_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20539 jintArray jresult = 0 ; 20540 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20541 int *result = 0 ; 20542 20543 (void)jenv; 20544 (void)jcls; 20545 (void)jarg1_; 20546 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20547 result = (int *)(int *) ((arg1)->m_springEnabled); 20548 /*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 6);*/ 20549 return jresult; 20550 } 20551 20552 20553 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) { 20554 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20555 double *arg2 ; 20556 20557 (void)jenv; 20558 (void)jcls; 20559 (void)jarg1_; 20560 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20561 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20562 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20563 return ; 20564 } 20565 arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20566 { 20567 size_t ii; 20568 double *b = (double *) arg1->m_equilibriumPoint; 20569 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii); 20570 } 20571 jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0); 20572 } 20573 20574 20575 SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20576 jdoubleArray jresult = 0 ; 20577 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20578 double *result = 0 ; 20579 20580 (void)jenv; 20581 (void)jcls; 20582 (void)jarg1_; 20583 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20584 result = (double *)(double *) ((arg1)->m_equilibriumPoint); 20585 /*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/ 20586 return jresult; 20587 } 20588 20589 20590 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) { 20591 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20592 double *arg2 ; 20593 20594 (void)jenv; 20595 (void)jcls; 20596 (void)jarg1_; 20597 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20598 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20599 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20600 return ; 20601 } 20602 arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20603 { 20604 size_t ii; 20605 double *b = (double *) arg1->m_springStiffness; 20606 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii); 20607 } 20608 jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0); 20609 } 20610 20611 20612 SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20613 jdoubleArray jresult = 0 ; 20614 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20615 double *result = 0 ; 20616 20617 (void)jenv; 20618 (void)jcls; 20619 (void)jarg1_; 20620 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20621 result = (double *)(double *) ((arg1)->m_springStiffness); 20622 /*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/ 20623 return jresult; 20624 } 20625 20626 20627 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) { 20628 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20629 double *arg2 ; 20630 20631 (void)jenv; 20632 (void)jcls; 20633 (void)jarg1_; 20634 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20635 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) { 20636 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 20637 return ; 20638 } 20639 arg2 = (double *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 20640 { 20641 size_t ii; 20642 double *b = (double *) arg1->m_springDamping; 20643 for (ii = 0; ii < (size_t)6; ii++) b[ii] = *((double *) arg2 + ii); 20644 } 20645 jenv->ReleasePrimitiveArrayCritical(jarg2, (double *)arg2, 0); 20646 } 20647 20648 20649 SWIGEXPORT jdoubleArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraintDoubleData2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20650 jdoubleArray jresult = 0 ; 20651 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20652 double *result = 0 ; 20653 20654 (void)jenv; 20655 (void)jcls; 20656 (void)jarg1_; 20657 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20658 result = (double *)(double *) ((arg1)->m_springDamping); 20659 /*jresult = SWIG_JavaArrayOut##Double(jenv, (double *)result, 6);*/ 20660 return jresult; 20661 } 20662 20663 20664 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpringConstraintDoubleData2(JNIEnv *jenv, jclass jcls) { 20665 jlong jresult = 0 ; 20666 btGeneric6DofSpringConstraintDoubleData2 *result = 0 ; 20667 20668 (void)jenv; 20669 (void)jcls; 20670 result = (btGeneric6DofSpringConstraintDoubleData2 *)new btGeneric6DofSpringConstraintDoubleData2(); 20671 *(btGeneric6DofSpringConstraintDoubleData2 **)&jresult = result; 20672 return jresult; 20673 } 20674 20675 20676 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpringConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 20677 btGeneric6DofSpringConstraintDoubleData2 *arg1 = (btGeneric6DofSpringConstraintDoubleData2 *) 0 ; 20678 20679 (void)jenv; 20680 (void)jcls; 20681 arg1 = *(btGeneric6DofSpringConstraintDoubleData2 **)&jarg1; 20682 delete arg1; 20683 } 20684 20685 20686 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1loLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20687 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20688 btScalar arg2 ; 20689 20690 (void)jenv; 20691 (void)jcls; 20692 (void)jarg1_; 20693 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20694 arg2 = (btScalar)jarg2; 20695 if (arg1) (arg1)->m_loLimit = arg2; 20696 } 20697 20698 20699 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1loLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20700 jfloat jresult = 0 ; 20701 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20702 btScalar result; 20703 20704 (void)jenv; 20705 (void)jcls; 20706 (void)jarg1_; 20707 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20708 result = (btScalar) ((arg1)->m_loLimit); 20709 jresult = (jfloat)result; 20710 return jresult; 20711 } 20712 20713 20714 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1hiLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20715 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20716 btScalar arg2 ; 20717 20718 (void)jenv; 20719 (void)jcls; 20720 (void)jarg1_; 20721 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20722 arg2 = (btScalar)jarg2; 20723 if (arg1) (arg1)->m_hiLimit = arg2; 20724 } 20725 20726 20727 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1hiLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20728 jfloat jresult = 0 ; 20729 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20730 btScalar result; 20731 20732 (void)jenv; 20733 (void)jcls; 20734 (void)jarg1_; 20735 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20736 result = (btScalar) ((arg1)->m_hiLimit); 20737 jresult = (jfloat)result; 20738 return jresult; 20739 } 20740 20741 20742 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20743 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20744 btScalar arg2 ; 20745 20746 (void)jenv; 20747 (void)jcls; 20748 (void)jarg1_; 20749 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20750 arg2 = (btScalar)jarg2; 20751 if (arg1) (arg1)->m_bounce = arg2; 20752 } 20753 20754 20755 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20756 jfloat jresult = 0 ; 20757 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20758 btScalar result; 20759 20760 (void)jenv; 20761 (void)jcls; 20762 (void)jarg1_; 20763 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20764 result = (btScalar) ((arg1)->m_bounce); 20765 jresult = (jfloat)result; 20766 return jresult; 20767 } 20768 20769 20770 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20771 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20772 btScalar arg2 ; 20773 20774 (void)jenv; 20775 (void)jcls; 20776 (void)jarg1_; 20777 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20778 arg2 = (btScalar)jarg2; 20779 if (arg1) (arg1)->m_stopERP = arg2; 20780 } 20781 20782 20783 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20784 jfloat jresult = 0 ; 20785 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20786 btScalar result; 20787 20788 (void)jenv; 20789 (void)jcls; 20790 (void)jarg1_; 20791 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20792 result = (btScalar) ((arg1)->m_stopERP); 20793 jresult = (jfloat)result; 20794 return jresult; 20795 } 20796 20797 20798 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20799 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20800 btScalar arg2 ; 20801 20802 (void)jenv; 20803 (void)jcls; 20804 (void)jarg1_; 20805 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20806 arg2 = (btScalar)jarg2; 20807 if (arg1) (arg1)->m_stopCFM = arg2; 20808 } 20809 20810 20811 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20812 jfloat jresult = 0 ; 20813 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20814 btScalar result; 20815 20816 (void)jenv; 20817 (void)jcls; 20818 (void)jarg1_; 20819 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20820 result = (btScalar) ((arg1)->m_stopCFM); 20821 jresult = (jfloat)result; 20822 return jresult; 20823 } 20824 20825 20826 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20827 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20828 btScalar arg2 ; 20829 20830 (void)jenv; 20831 (void)jcls; 20832 (void)jarg1_; 20833 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20834 arg2 = (btScalar)jarg2; 20835 if (arg1) (arg1)->m_motorERP = arg2; 20836 } 20837 20838 20839 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20840 jfloat jresult = 0 ; 20841 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20842 btScalar result; 20843 20844 (void)jenv; 20845 (void)jcls; 20846 (void)jarg1_; 20847 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20848 result = (btScalar) ((arg1)->m_motorERP); 20849 jresult = (jfloat)result; 20850 return jresult; 20851 } 20852 20853 20854 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20855 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20856 btScalar arg2 ; 20857 20858 (void)jenv; 20859 (void)jcls; 20860 (void)jarg1_; 20861 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20862 arg2 = (btScalar)jarg2; 20863 if (arg1) (arg1)->m_motorCFM = arg2; 20864 } 20865 20866 20867 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1motorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20868 jfloat jresult = 0 ; 20869 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20870 btScalar result; 20871 20872 (void)jenv; 20873 (void)jcls; 20874 (void)jarg1_; 20875 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20876 result = (btScalar) ((arg1)->m_motorCFM); 20877 jresult = (jfloat)result; 20878 return jresult; 20879 } 20880 20881 20882 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 20883 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20884 bool arg2 ; 20885 20886 (void)jenv; 20887 (void)jcls; 20888 (void)jarg1_; 20889 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20890 arg2 = jarg2 ? true : false; 20891 if (arg1) (arg1)->m_enableMotor = arg2; 20892 } 20893 20894 20895 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20896 jboolean jresult = 0 ; 20897 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20898 bool result; 20899 20900 (void)jenv; 20901 (void)jcls; 20902 (void)jarg1_; 20903 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20904 result = (bool) ((arg1)->m_enableMotor); 20905 jresult = (jboolean)result; 20906 return jresult; 20907 } 20908 20909 20910 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20911 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20912 btScalar arg2 ; 20913 20914 (void)jenv; 20915 (void)jcls; 20916 (void)jarg1_; 20917 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20918 arg2 = (btScalar)jarg2; 20919 if (arg1) (arg1)->m_targetVelocity = arg2; 20920 } 20921 20922 20923 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20924 jfloat jresult = 0 ; 20925 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20926 btScalar result; 20927 20928 (void)jenv; 20929 (void)jcls; 20930 (void)jarg1_; 20931 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20932 result = (btScalar) ((arg1)->m_targetVelocity); 20933 jresult = (jfloat)result; 20934 return jresult; 20935 } 20936 20937 20938 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20939 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20940 btScalar arg2 ; 20941 20942 (void)jenv; 20943 (void)jcls; 20944 (void)jarg1_; 20945 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20946 arg2 = (btScalar)jarg2; 20947 if (arg1) (arg1)->m_maxMotorForce = arg2; 20948 } 20949 20950 20951 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20952 jfloat jresult = 0 ; 20953 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20954 btScalar result; 20955 20956 (void)jenv; 20957 (void)jcls; 20958 (void)jarg1_; 20959 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20960 result = (btScalar) ((arg1)->m_maxMotorForce); 20961 jresult = (jfloat)result; 20962 return jresult; 20963 } 20964 20965 20966 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 20967 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20968 bool arg2 ; 20969 20970 (void)jenv; 20971 (void)jcls; 20972 (void)jarg1_; 20973 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20974 arg2 = jarg2 ? true : false; 20975 if (arg1) (arg1)->m_servoMotor = arg2; 20976 } 20977 20978 20979 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 20980 jboolean jresult = 0 ; 20981 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20982 bool result; 20983 20984 (void)jenv; 20985 (void)jcls; 20986 (void)jarg1_; 20987 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 20988 result = (bool) ((arg1)->m_servoMotor); 20989 jresult = (jboolean)result; 20990 return jresult; 20991 } 20992 20993 20994 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 20995 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 20996 btScalar arg2 ; 20997 20998 (void)jenv; 20999 (void)jcls; 21000 (void)jarg1_; 21001 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21002 arg2 = (btScalar)jarg2; 21003 if (arg1) (arg1)->m_servoTarget = arg2; 21004 } 21005 21006 21007 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1servoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21008 jfloat jresult = 0 ; 21009 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21010 btScalar result; 21011 21012 (void)jenv; 21013 (void)jcls; 21014 (void)jarg1_; 21015 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21016 result = (btScalar) ((arg1)->m_servoTarget); 21017 jresult = (jfloat)result; 21018 return jresult; 21019 } 21020 21021 21022 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 21023 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21024 bool arg2 ; 21025 21026 (void)jenv; 21027 (void)jcls; 21028 (void)jarg1_; 21029 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21030 arg2 = jarg2 ? true : false; 21031 if (arg1) (arg1)->m_enableSpring = arg2; 21032 } 21033 21034 21035 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1enableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21036 jboolean jresult = 0 ; 21037 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21038 bool result; 21039 21040 (void)jenv; 21041 (void)jcls; 21042 (void)jarg1_; 21043 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21044 result = (bool) ((arg1)->m_enableSpring); 21045 jresult = (jboolean)result; 21046 return jresult; 21047 } 21048 21049 21050 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21051 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21052 btScalar arg2 ; 21053 21054 (void)jenv; 21055 (void)jcls; 21056 (void)jarg1_; 21057 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21058 arg2 = (btScalar)jarg2; 21059 if (arg1) (arg1)->m_springStiffness = arg2; 21060 } 21061 21062 21063 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21064 jfloat jresult = 0 ; 21065 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21066 btScalar result; 21067 21068 (void)jenv; 21069 (void)jcls; 21070 (void)jarg1_; 21071 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21072 result = (btScalar) ((arg1)->m_springStiffness); 21073 jresult = (jfloat)result; 21074 return jresult; 21075 } 21076 21077 21078 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 21079 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21080 bool arg2 ; 21081 21082 (void)jenv; 21083 (void)jcls; 21084 (void)jarg1_; 21085 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21086 arg2 = jarg2 ? true : false; 21087 if (arg1) (arg1)->m_springStiffnessLimited = arg2; 21088 } 21089 21090 21091 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21092 jboolean jresult = 0 ; 21093 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21094 bool result; 21095 21096 (void)jenv; 21097 (void)jcls; 21098 (void)jarg1_; 21099 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21100 result = (bool) ((arg1)->m_springStiffnessLimited); 21101 jresult = (jboolean)result; 21102 return jresult; 21103 } 21104 21105 21106 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21107 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21108 btScalar arg2 ; 21109 21110 (void)jenv; 21111 (void)jcls; 21112 (void)jarg1_; 21113 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21114 arg2 = (btScalar)jarg2; 21115 if (arg1) (arg1)->m_springDamping = arg2; 21116 } 21117 21118 21119 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21120 jfloat jresult = 0 ; 21121 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21122 btScalar result; 21123 21124 (void)jenv; 21125 (void)jcls; 21126 (void)jarg1_; 21127 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21128 result = (btScalar) ((arg1)->m_springDamping); 21129 jresult = (jfloat)result; 21130 return jresult; 21131 } 21132 21133 21134 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 21135 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21136 bool arg2 ; 21137 21138 (void)jenv; 21139 (void)jcls; 21140 (void)jarg1_; 21141 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21142 arg2 = jarg2 ? true : false; 21143 if (arg1) (arg1)->m_springDampingLimited = arg2; 21144 } 21145 21146 21147 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1springDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21148 jboolean jresult = 0 ; 21149 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21150 bool result; 21151 21152 (void)jenv; 21153 (void)jcls; 21154 (void)jarg1_; 21155 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21156 result = (bool) ((arg1)->m_springDampingLimited); 21157 jresult = (jboolean)result; 21158 return jresult; 21159 } 21160 21161 21162 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21163 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21164 btScalar arg2 ; 21165 21166 (void)jenv; 21167 (void)jcls; 21168 (void)jarg1_; 21169 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21170 arg2 = (btScalar)jarg2; 21171 if (arg1) (arg1)->m_equilibriumPoint = arg2; 21172 } 21173 21174 21175 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21176 jfloat jresult = 0 ; 21177 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21178 btScalar result; 21179 21180 (void)jenv; 21181 (void)jcls; 21182 (void)jarg1_; 21183 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21184 result = (btScalar) ((arg1)->m_equilibriumPoint); 21185 jresult = (jfloat)result; 21186 return jresult; 21187 } 21188 21189 21190 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21191 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21192 btScalar arg2 ; 21193 21194 (void)jenv; 21195 (void)jcls; 21196 (void)jarg1_; 21197 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21198 arg2 = (btScalar)jarg2; 21199 if (arg1) (arg1)->m_currentLimitError = arg2; 21200 } 21201 21202 21203 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21204 jfloat jresult = 0 ; 21205 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21206 btScalar result; 21207 21208 (void)jenv; 21209 (void)jcls; 21210 (void)jarg1_; 21211 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21212 result = (btScalar) ((arg1)->m_currentLimitError); 21213 jresult = (jfloat)result; 21214 return jresult; 21215 } 21216 21217 21218 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitErrorHi_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21219 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21220 btScalar arg2 ; 21221 21222 (void)jenv; 21223 (void)jcls; 21224 (void)jarg1_; 21225 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21226 arg2 = (btScalar)jarg2; 21227 if (arg1) (arg1)->m_currentLimitErrorHi = arg2; 21228 } 21229 21230 21231 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimitErrorHi_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21232 jfloat jresult = 0 ; 21233 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21234 btScalar result; 21235 21236 (void)jenv; 21237 (void)jcls; 21238 (void)jarg1_; 21239 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21240 result = (btScalar) ((arg1)->m_currentLimitErrorHi); 21241 jresult = (jfloat)result; 21242 return jresult; 21243 } 21244 21245 21246 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentPosition_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21247 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21248 btScalar arg2 ; 21249 21250 (void)jenv; 21251 (void)jcls; 21252 (void)jarg1_; 21253 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21254 arg2 = (btScalar)jarg2; 21255 if (arg1) (arg1)->m_currentPosition = arg2; 21256 } 21257 21258 21259 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentPosition_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21260 jfloat jresult = 0 ; 21261 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21262 btScalar result; 21263 21264 (void)jenv; 21265 (void)jcls; 21266 (void)jarg1_; 21267 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21268 result = (btScalar) ((arg1)->m_currentPosition); 21269 jresult = (jfloat)result; 21270 return jresult; 21271 } 21272 21273 21274 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 21275 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21276 int arg2 ; 21277 21278 (void)jenv; 21279 (void)jcls; 21280 (void)jarg1_; 21281 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21282 arg2 = (int)jarg2; 21283 if (arg1) (arg1)->m_currentLimit = arg2; 21284 } 21285 21286 21287 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21288 jint jresult = 0 ; 21289 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21290 int result; 21291 21292 (void)jenv; 21293 (void)jcls; 21294 (void)jarg1_; 21295 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21296 result = (int) ((arg1)->m_currentLimit); 21297 jresult = (jint)result; 21298 return jresult; 21299 } 21300 21301 21302 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { 21303 jlong jresult = 0 ; 21304 btRotationalLimitMotor2 *result = 0 ; 21305 21306 (void)jenv; 21307 (void)jcls; 21308 result = (btRotationalLimitMotor2 *)new btRotationalLimitMotor2(); 21309 *(btRotationalLimitMotor2 **)&jresult = result; 21310 return jresult; 21311 } 21312 21313 21314 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRotationalLimitMotor2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21315 jlong jresult = 0 ; 21316 btRotationalLimitMotor2 *arg1 = 0 ; 21317 btRotationalLimitMotor2 *result = 0 ; 21318 21319 (void)jenv; 21320 (void)jcls; 21321 (void)jarg1_; 21322 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21323 if (!arg1) { 21324 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRotationalLimitMotor2 const & reference is null"); 21325 return 0; 21326 } 21327 result = (btRotationalLimitMotor2 *)new btRotationalLimitMotor2((btRotationalLimitMotor2 const &)*arg1); 21328 *(btRotationalLimitMotor2 **)&jresult = result; 21329 return jresult; 21330 } 21331 21332 21333 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21334 jboolean jresult = 0 ; 21335 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21336 bool result; 21337 21338 (void)jenv; 21339 (void)jcls; 21340 (void)jarg1_; 21341 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21342 result = (bool)(arg1)->isLimited(); 21343 jresult = (jboolean)result; 21344 return jresult; 21345 } 21346 21347 21348 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRotationalLimitMotor2_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 21349 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21350 btScalar arg2 ; 21351 21352 (void)jenv; 21353 (void)jcls; 21354 (void)jarg1_; 21355 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21356 arg2 = (btScalar)jarg2; 21357 (arg1)->testLimitValue(arg2); 21358 } 21359 21360 21361 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRotationalLimitMotor2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 21362 btRotationalLimitMotor2 *arg1 = (btRotationalLimitMotor2 *) 0 ; 21363 21364 (void)jenv; 21365 (void)jcls; 21366 arg1 = *(btRotationalLimitMotor2 **)&jarg1; 21367 delete arg1; 21368 } 21369 21370 21371 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21372 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21373 btVector3 *arg2 = (btVector3 *) 0 ; 21374 21375 (void)jenv; 21376 (void)jcls; 21377 (void)jarg1_; 21378 (void)jarg2_; 21379 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21380 arg2 = *(btVector3 **)&jarg2; 21381 if (arg1) (arg1)->m_lowerLimit = *arg2; 21382 } 21383 21384 21385 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21386 jlong jresult = 0 ; 21387 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21388 btVector3 *result = 0 ; 21389 21390 (void)jenv; 21391 (void)jcls; 21392 (void)jarg1_; 21393 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21394 result = (btVector3 *)& ((arg1)->m_lowerLimit); 21395 *(btVector3 **)&jresult = result; 21396 return jresult; 21397 } 21398 21399 21400 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21401 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21402 btVector3 *arg2 = (btVector3 *) 0 ; 21403 21404 (void)jenv; 21405 (void)jcls; 21406 (void)jarg1_; 21407 (void)jarg2_; 21408 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21409 arg2 = *(btVector3 **)&jarg2; 21410 if (arg1) (arg1)->m_upperLimit = *arg2; 21411 } 21412 21413 21414 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21415 jlong jresult = 0 ; 21416 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21417 btVector3 *result = 0 ; 21418 21419 (void)jenv; 21420 (void)jcls; 21421 (void)jarg1_; 21422 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21423 result = (btVector3 *)& ((arg1)->m_upperLimit); 21424 *(btVector3 **)&jresult = result; 21425 return jresult; 21426 } 21427 21428 21429 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1bounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21430 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21431 btVector3 *arg2 = (btVector3 *) 0 ; 21432 21433 (void)jenv; 21434 (void)jcls; 21435 (void)jarg1_; 21436 (void)jarg2_; 21437 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21438 arg2 = *(btVector3 **)&jarg2; 21439 if (arg1) (arg1)->m_bounce = *arg2; 21440 } 21441 21442 21443 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1bounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21444 jlong jresult = 0 ; 21445 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21446 btVector3 *result = 0 ; 21447 21448 (void)jenv; 21449 (void)jcls; 21450 (void)jarg1_; 21451 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21452 result = (btVector3 *)& ((arg1)->m_bounce); 21453 *(btVector3 **)&jresult = result; 21454 return jresult; 21455 } 21456 21457 21458 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21459 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21460 btVector3 *arg2 = (btVector3 *) 0 ; 21461 21462 (void)jenv; 21463 (void)jcls; 21464 (void)jarg1_; 21465 (void)jarg2_; 21466 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21467 arg2 = *(btVector3 **)&jarg2; 21468 if (arg1) (arg1)->m_stopERP = *arg2; 21469 } 21470 21471 21472 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21473 jlong jresult = 0 ; 21474 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21475 btVector3 *result = 0 ; 21476 21477 (void)jenv; 21478 (void)jcls; 21479 (void)jarg1_; 21480 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21481 result = (btVector3 *)& ((arg1)->m_stopERP); 21482 *(btVector3 **)&jresult = result; 21483 return jresult; 21484 } 21485 21486 21487 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21488 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21489 btVector3 *arg2 = (btVector3 *) 0 ; 21490 21491 (void)jenv; 21492 (void)jcls; 21493 (void)jarg1_; 21494 (void)jarg2_; 21495 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21496 arg2 = *(btVector3 **)&jarg2; 21497 if (arg1) (arg1)->m_stopCFM = *arg2; 21498 } 21499 21500 21501 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1stopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21502 jlong jresult = 0 ; 21503 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21504 btVector3 *result = 0 ; 21505 21506 (void)jenv; 21507 (void)jcls; 21508 (void)jarg1_; 21509 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21510 result = (btVector3 *)& ((arg1)->m_stopCFM); 21511 *(btVector3 **)&jresult = result; 21512 return jresult; 21513 } 21514 21515 21516 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21517 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21518 btVector3 *arg2 = (btVector3 *) 0 ; 21519 21520 (void)jenv; 21521 (void)jcls; 21522 (void)jarg1_; 21523 (void)jarg2_; 21524 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21525 arg2 = *(btVector3 **)&jarg2; 21526 if (arg1) (arg1)->m_motorERP = *arg2; 21527 } 21528 21529 21530 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21531 jlong jresult = 0 ; 21532 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21533 btVector3 *result = 0 ; 21534 21535 (void)jenv; 21536 (void)jcls; 21537 (void)jarg1_; 21538 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21539 result = (btVector3 *)& ((arg1)->m_motorERP); 21540 *(btVector3 **)&jresult = result; 21541 return jresult; 21542 } 21543 21544 21545 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21546 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21547 btVector3 *arg2 = (btVector3 *) 0 ; 21548 21549 (void)jenv; 21550 (void)jcls; 21551 (void)jarg1_; 21552 (void)jarg2_; 21553 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21554 arg2 = *(btVector3 **)&jarg2; 21555 if (arg1) (arg1)->m_motorCFM = *arg2; 21556 } 21557 21558 21559 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1motorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21560 jlong jresult = 0 ; 21561 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21562 btVector3 *result = 0 ; 21563 21564 (void)jenv; 21565 (void)jcls; 21566 (void)jarg1_; 21567 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21568 result = (btVector3 *)& ((arg1)->m_motorCFM); 21569 *(btVector3 **)&jresult = result; 21570 return jresult; 21571 } 21572 21573 21574 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) { 21575 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21576 bool *arg2 ; 21577 21578 (void)jenv; 21579 (void)jcls; 21580 (void)jarg1_; 21581 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21582 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 21583 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 21584 return ; 21585 } 21586 arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 21587 { 21588 size_t ii; 21589 bool *b = (bool *) arg1->m_enableMotor; 21590 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii); 21591 } 21592 jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0); 21593 } 21594 21595 21596 SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21597 jbooleanArray jresult = 0 ; 21598 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21599 bool *result = 0 ; 21600 21601 (void)jenv; 21602 (void)jcls; 21603 (void)jarg1_; 21604 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21605 result = (bool *)(bool *) ((arg1)->m_enableMotor); 21606 /*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/ 21607 return jresult; 21608 } 21609 21610 21611 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) { 21612 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21613 bool *arg2 ; 21614 21615 (void)jenv; 21616 (void)jcls; 21617 (void)jarg1_; 21618 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21619 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 21620 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 21621 return ; 21622 } 21623 arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 21624 { 21625 size_t ii; 21626 bool *b = (bool *) arg1->m_servoMotor; 21627 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii); 21628 } 21629 jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0); 21630 } 21631 21632 21633 SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21634 jbooleanArray jresult = 0 ; 21635 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21636 bool *result = 0 ; 21637 21638 (void)jenv; 21639 (void)jcls; 21640 (void)jarg1_; 21641 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21642 result = (bool *)(bool *) ((arg1)->m_servoMotor); 21643 /*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/ 21644 return jresult; 21645 } 21646 21647 21648 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) { 21649 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21650 bool *arg2 ; 21651 21652 (void)jenv; 21653 (void)jcls; 21654 (void)jarg1_; 21655 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21656 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 21657 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 21658 return ; 21659 } 21660 arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 21661 { 21662 size_t ii; 21663 bool *b = (bool *) arg1->m_enableSpring; 21664 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii); 21665 } 21666 jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0); 21667 } 21668 21669 21670 SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1enableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21671 jbooleanArray jresult = 0 ; 21672 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21673 bool *result = 0 ; 21674 21675 (void)jenv; 21676 (void)jcls; 21677 (void)jarg1_; 21678 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21679 result = (bool *)(bool *) ((arg1)->m_enableSpring); 21680 /*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/ 21681 return jresult; 21682 } 21683 21684 21685 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21686 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21687 btVector3 *arg2 = (btVector3 *) 0 ; 21688 21689 (void)jenv; 21690 (void)jcls; 21691 (void)jarg1_; 21692 (void)jarg2_; 21693 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21694 arg2 = *(btVector3 **)&jarg2; 21695 if (arg1) (arg1)->m_servoTarget = *arg2; 21696 } 21697 21698 21699 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1servoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21700 jlong jresult = 0 ; 21701 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21702 btVector3 *result = 0 ; 21703 21704 (void)jenv; 21705 (void)jcls; 21706 (void)jarg1_; 21707 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21708 result = (btVector3 *)& ((arg1)->m_servoTarget); 21709 *(btVector3 **)&jresult = result; 21710 return jresult; 21711 } 21712 21713 21714 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21715 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21716 btVector3 *arg2 = (btVector3 *) 0 ; 21717 21718 (void)jenv; 21719 (void)jcls; 21720 (void)jarg1_; 21721 (void)jarg2_; 21722 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21723 arg2 = *(btVector3 **)&jarg2; 21724 if (arg1) (arg1)->m_springStiffness = *arg2; 21725 } 21726 21727 21728 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21729 jlong jresult = 0 ; 21730 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21731 btVector3 *result = 0 ; 21732 21733 (void)jenv; 21734 (void)jcls; 21735 (void)jarg1_; 21736 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21737 result = (btVector3 *)& ((arg1)->m_springStiffness); 21738 *(btVector3 **)&jresult = result; 21739 return jresult; 21740 } 21741 21742 21743 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) { 21744 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21745 bool *arg2 ; 21746 21747 (void)jenv; 21748 (void)jcls; 21749 (void)jarg1_; 21750 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21751 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 21752 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 21753 return ; 21754 } 21755 arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 21756 { 21757 size_t ii; 21758 bool *b = (bool *) arg1->m_springStiffnessLimited; 21759 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii); 21760 } 21761 jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0); 21762 } 21763 21764 21765 SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21766 jbooleanArray jresult = 0 ; 21767 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21768 bool *result = 0 ; 21769 21770 (void)jenv; 21771 (void)jcls; 21772 (void)jarg1_; 21773 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21774 result = (bool *)(bool *) ((arg1)->m_springStiffnessLimited); 21775 /*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/ 21776 return jresult; 21777 } 21778 21779 21780 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21781 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21782 btVector3 *arg2 = (btVector3 *) 0 ; 21783 21784 (void)jenv; 21785 (void)jcls; 21786 (void)jarg1_; 21787 (void)jarg2_; 21788 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21789 arg2 = *(btVector3 **)&jarg2; 21790 if (arg1) (arg1)->m_springDamping = *arg2; 21791 } 21792 21793 21794 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21795 jlong jresult = 0 ; 21796 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21797 btVector3 *result = 0 ; 21798 21799 (void)jenv; 21800 (void)jcls; 21801 (void)jarg1_; 21802 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21803 result = (btVector3 *)& ((arg1)->m_springDamping); 21804 *(btVector3 **)&jresult = result; 21805 return jresult; 21806 } 21807 21808 21809 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbooleanArray jarg2) { 21810 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21811 bool *arg2 ; 21812 21813 (void)jenv; 21814 (void)jcls; 21815 (void)jarg1_; 21816 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21817 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 21818 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 21819 return ; 21820 } 21821 arg2 = (bool *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 21822 { 21823 size_t ii; 21824 bool *b = (bool *) arg1->m_springDampingLimited; 21825 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((bool *) arg2 + ii); 21826 } 21827 jenv->ReleasePrimitiveArrayCritical(jarg2, (bool *)arg2, 0); 21828 } 21829 21830 21831 SWIGEXPORT jbooleanArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1springDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21832 jbooleanArray jresult = 0 ; 21833 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21834 bool *result = 0 ; 21835 21836 (void)jenv; 21837 (void)jcls; 21838 (void)jarg1_; 21839 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21840 result = (bool *)(bool *) ((arg1)->m_springDampingLimited); 21841 /*jresult = SWIG_JavaArrayOut##Bool(jenv, (bool *)result, 3);*/ 21842 return jresult; 21843 } 21844 21845 21846 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1equilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21847 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21848 btVector3 *arg2 = (btVector3 *) 0 ; 21849 21850 (void)jenv; 21851 (void)jcls; 21852 (void)jarg1_; 21853 (void)jarg2_; 21854 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21855 arg2 = *(btVector3 **)&jarg2; 21856 if (arg1) (arg1)->m_equilibriumPoint = *arg2; 21857 } 21858 21859 21860 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1equilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21861 jlong jresult = 0 ; 21862 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21863 btVector3 *result = 0 ; 21864 21865 (void)jenv; 21866 (void)jcls; 21867 (void)jarg1_; 21868 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21869 result = (btVector3 *)& ((arg1)->m_equilibriumPoint); 21870 *(btVector3 **)&jresult = result; 21871 return jresult; 21872 } 21873 21874 21875 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1targetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21876 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21877 btVector3 *arg2 = (btVector3 *) 0 ; 21878 21879 (void)jenv; 21880 (void)jcls; 21881 (void)jarg1_; 21882 (void)jarg2_; 21883 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21884 arg2 = *(btVector3 **)&jarg2; 21885 if (arg1) (arg1)->m_targetVelocity = *arg2; 21886 } 21887 21888 21889 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1targetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21890 jlong jresult = 0 ; 21891 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21892 btVector3 *result = 0 ; 21893 21894 (void)jenv; 21895 (void)jcls; 21896 (void)jarg1_; 21897 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21898 result = (btVector3 *)& ((arg1)->m_targetVelocity); 21899 *(btVector3 **)&jresult = result; 21900 return jresult; 21901 } 21902 21903 21904 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1maxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21905 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21906 btVector3 *arg2 = (btVector3 *) 0 ; 21907 21908 (void)jenv; 21909 (void)jcls; 21910 (void)jarg1_; 21911 (void)jarg2_; 21912 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21913 arg2 = *(btVector3 **)&jarg2; 21914 if (arg1) (arg1)->m_maxMotorForce = *arg2; 21915 } 21916 21917 21918 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1maxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21919 jlong jresult = 0 ; 21920 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21921 btVector3 *result = 0 ; 21922 21923 (void)jenv; 21924 (void)jcls; 21925 (void)jarg1_; 21926 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21927 result = (btVector3 *)& ((arg1)->m_maxMotorForce); 21928 *(btVector3 **)&jresult = result; 21929 return jresult; 21930 } 21931 21932 21933 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitError_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21934 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21935 btVector3 *arg2 = (btVector3 *) 0 ; 21936 21937 (void)jenv; 21938 (void)jcls; 21939 (void)jarg1_; 21940 (void)jarg2_; 21941 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21942 arg2 = *(btVector3 **)&jarg2; 21943 if (arg1) (arg1)->m_currentLimitError = *arg2; 21944 } 21945 21946 21947 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitError_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21948 jlong jresult = 0 ; 21949 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21950 btVector3 *result = 0 ; 21951 21952 (void)jenv; 21953 (void)jcls; 21954 (void)jarg1_; 21955 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21956 result = (btVector3 *)& ((arg1)->m_currentLimitError); 21957 *(btVector3 **)&jresult = result; 21958 return jresult; 21959 } 21960 21961 21962 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitErrorHi_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21963 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21964 btVector3 *arg2 = (btVector3 *) 0 ; 21965 21966 (void)jenv; 21967 (void)jcls; 21968 (void)jarg1_; 21969 (void)jarg2_; 21970 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21971 arg2 = *(btVector3 **)&jarg2; 21972 if (arg1) (arg1)->m_currentLimitErrorHi = *arg2; 21973 } 21974 21975 21976 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimitErrorHi_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 21977 jlong jresult = 0 ; 21978 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21979 btVector3 *result = 0 ; 21980 21981 (void)jenv; 21982 (void)jcls; 21983 (void)jarg1_; 21984 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 21985 result = (btVector3 *)& ((arg1)->m_currentLimitErrorHi); 21986 *(btVector3 **)&jresult = result; 21987 return jresult; 21988 } 21989 21990 21991 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLinearDiff_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 21992 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 21993 btVector3 *arg2 = (btVector3 *) 0 ; 21994 21995 (void)jenv; 21996 (void)jcls; 21997 (void)jarg1_; 21998 (void)jarg2_; 21999 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22000 arg2 = *(btVector3 **)&jarg2; 22001 if (arg1) (arg1)->m_currentLinearDiff = *arg2; 22002 } 22003 22004 22005 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLinearDiff_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22006 jlong jresult = 0 ; 22007 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 22008 btVector3 *result = 0 ; 22009 22010 (void)jenv; 22011 (void)jcls; 22012 (void)jarg1_; 22013 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22014 result = (btVector3 *)& ((arg1)->m_currentLinearDiff); 22015 *(btVector3 **)&jresult = result; 22016 return jresult; 22017 } 22018 22019 22020 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jintArray jarg2) { 22021 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 22022 int *arg2 ; 22023 22024 (void)jenv; 22025 (void)jcls; 22026 (void)jarg1_; 22027 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22028 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) { 22029 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size"); 22030 return ; 22031 } 22032 arg2 = (int *)jenv->GetPrimitiveArrayCritical(jarg2, 0); 22033 { 22034 size_t ii; 22035 int *b = (int *) arg1->m_currentLimit; 22036 for (ii = 0; ii < (size_t)3; ii++) b[ii] = *((int *) arg2 + ii); 22037 } 22038 jenv->ReleasePrimitiveArrayCritical(jarg2, (int *)arg2, 0); 22039 } 22040 22041 22042 SWIGEXPORT jintArray JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1currentLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22043 jintArray jresult = 0 ; 22044 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 22045 int *result = 0 ; 22046 22047 (void)jenv; 22048 (void)jcls; 22049 (void)jarg1_; 22050 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22051 result = (int *)(int *) ((arg1)->m_currentLimit); 22052 /*jresult = SWIG_JavaArrayOut##Int(jenv, (int *)result, 3);*/ 22053 return jresult; 22054 } 22055 22056 22057 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { 22058 jlong jresult = 0 ; 22059 btTranslationalLimitMotor2 *result = 0 ; 22060 22061 (void)jenv; 22062 (void)jcls; 22063 result = (btTranslationalLimitMotor2 *)new btTranslationalLimitMotor2(); 22064 *(btTranslationalLimitMotor2 **)&jresult = result; 22065 return jresult; 22066 } 22067 22068 22069 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btTranslationalLimitMotor2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22070 jlong jresult = 0 ; 22071 btTranslationalLimitMotor2 *arg1 = 0 ; 22072 btTranslationalLimitMotor2 *result = 0 ; 22073 22074 (void)jenv; 22075 (void)jcls; 22076 (void)jarg1_; 22077 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22078 if (!arg1) { 22079 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btTranslationalLimitMotor2 const & reference is null"); 22080 return 0; 22081 } 22082 result = (btTranslationalLimitMotor2 *)new btTranslationalLimitMotor2((btTranslationalLimitMotor2 const &)*arg1); 22083 *(btTranslationalLimitMotor2 **)&jresult = result; 22084 return jresult; 22085 } 22086 22087 22088 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22089 jboolean jresult = 0 ; 22090 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 22091 int arg2 ; 22092 bool result; 22093 22094 (void)jenv; 22095 (void)jcls; 22096 (void)jarg1_; 22097 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22098 arg2 = (int)jarg2; 22099 result = (bool)(arg1)->isLimited(arg2); 22100 jresult = (jboolean)result; 22101 return jresult; 22102 } 22103 22104 22105 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTranslationalLimitMotor2_1testLimitValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22106 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 22107 int arg2 ; 22108 btScalar arg3 ; 22109 22110 (void)jenv; 22111 (void)jcls; 22112 (void)jarg1_; 22113 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22114 arg2 = (int)jarg2; 22115 arg3 = (btScalar)jarg3; 22116 (arg1)->testLimitValue(arg2,arg3); 22117 } 22118 22119 22120 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btTranslationalLimitMotor2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 22121 btTranslationalLimitMotor2 *arg1 = (btTranslationalLimitMotor2 *) 0 ; 22122 22123 (void)jenv; 22124 (void)jcls; 22125 arg1 = *(btTranslationalLimitMotor2 **)&jarg1; 22126 delete arg1; 22127 } 22128 22129 22130 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jint jarg5) { 22131 jlong jresult = 0 ; 22132 btRigidBody *arg1 = 0 ; 22133 btRigidBody *arg2 = 0 ; 22134 btTransform *arg3 = 0 ; 22135 btTransform *arg4 = 0 ; 22136 RotateOrder arg5 ; 22137 btGeneric6DofSpring2Constraint *result = 0 ; 22138 22139 (void)jenv; 22140 (void)jcls; 22141 (void)jarg1_; 22142 (void)jarg2_; 22143 arg1 = *(btRigidBody **)&jarg1; 22144 if (!arg1) { 22145 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 22146 return 0; 22147 } 22148 arg2 = *(btRigidBody **)&jarg2; 22149 if (!arg2) { 22150 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 22151 return 0; 22152 } 22153 btTransform local_arg3; 22154 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 22155 arg3 = &local_arg3; 22156 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 22157 btTransform local_arg4; 22158 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 22159 arg4 = &local_arg4; 22160 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 22161 arg5 = (RotateOrder)jarg5; 22162 result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5); 22163 *(btGeneric6DofSpring2Constraint **)&jresult = result; 22164 return jresult; 22165 } 22166 22167 22168 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 22169 jlong jresult = 0 ; 22170 btRigidBody *arg1 = 0 ; 22171 btRigidBody *arg2 = 0 ; 22172 btTransform *arg3 = 0 ; 22173 btTransform *arg4 = 0 ; 22174 btGeneric6DofSpring2Constraint *result = 0 ; 22175 22176 (void)jenv; 22177 (void)jcls; 22178 (void)jarg1_; 22179 (void)jarg2_; 22180 arg1 = *(btRigidBody **)&jarg1; 22181 if (!arg1) { 22182 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 22183 return 0; 22184 } 22185 arg2 = *(btRigidBody **)&jarg2; 22186 if (!arg2) { 22187 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 22188 return 0; 22189 } 22190 btTransform local_arg3; 22191 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 22192 arg3 = &local_arg3; 22193 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 22194 btTransform local_arg4; 22195 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 22196 arg4 = &local_arg4; 22197 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 22198 result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4); 22199 *(btGeneric6DofSpring2Constraint **)&jresult = result; 22200 return jresult; 22201 } 22202 22203 22204 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) { 22205 jlong jresult = 0 ; 22206 btRigidBody *arg1 = 0 ; 22207 btTransform *arg2 = 0 ; 22208 RotateOrder arg3 ; 22209 btGeneric6DofSpring2Constraint *result = 0 ; 22210 22211 (void)jenv; 22212 (void)jcls; 22213 (void)jarg1_; 22214 arg1 = *(btRigidBody **)&jarg1; 22215 if (!arg1) { 22216 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 22217 return 0; 22218 } 22219 btTransform local_arg2; 22220 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 22221 arg2 = &local_arg2; 22222 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 22223 arg3 = (RotateOrder)jarg3; 22224 result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,(btTransform const &)*arg2,arg3); 22225 *(btGeneric6DofSpring2Constraint **)&jresult = result; 22226 return jresult; 22227 } 22228 22229 22230 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2Constraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22231 jlong jresult = 0 ; 22232 btRigidBody *arg1 = 0 ; 22233 btTransform *arg2 = 0 ; 22234 btGeneric6DofSpring2Constraint *result = 0 ; 22235 22236 (void)jenv; 22237 (void)jcls; 22238 (void)jarg1_; 22239 arg1 = *(btRigidBody **)&jarg1; 22240 if (!arg1) { 22241 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 22242 return 0; 22243 } 22244 btTransform local_arg2; 22245 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 22246 arg2 = &local_arg2; 22247 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 22248 result = (btGeneric6DofSpring2Constraint *)new btGeneric6DofSpring2Constraint(*arg1,(btTransform const &)*arg2); 22249 *(btGeneric6DofSpring2Constraint **)&jresult = result; 22250 return jresult; 22251 } 22252 22253 22254 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRotationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22255 jlong jresult = 0 ; 22256 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22257 int arg2 ; 22258 btRotationalLimitMotor2 *result = 0 ; 22259 22260 (void)jenv; 22261 (void)jcls; 22262 (void)jarg1_; 22263 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22264 arg2 = (int)jarg2; 22265 result = (btRotationalLimitMotor2 *)(arg1)->getRotationalLimitMotor(arg2); 22266 *(btRotationalLimitMotor2 **)&jresult = result; 22267 return jresult; 22268 } 22269 22270 22271 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getTranslationalLimitMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22272 jlong jresult = 0 ; 22273 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22274 btTranslationalLimitMotor2 *result = 0 ; 22275 22276 (void)jenv; 22277 (void)jcls; 22278 (void)jarg1_; 22279 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22280 result = (btTranslationalLimitMotor2 *)(arg1)->getTranslationalLimitMotor(); 22281 *(btTranslationalLimitMotor2 **)&jresult = result; 22282 return jresult; 22283 } 22284 22285 22286 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1calculateTransforms_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 22287 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22288 btTransform *arg2 = 0 ; 22289 btTransform *arg3 = 0 ; 22290 22291 (void)jenv; 22292 (void)jcls; 22293 (void)jarg1_; 22294 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22295 btTransform local_arg2; 22296 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 22297 arg2 = &local_arg2; 22298 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 22299 btTransform local_arg3; 22300 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 22301 arg3 = &local_arg3; 22302 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 22303 (arg1)->calculateTransforms((btTransform const &)*arg2,(btTransform const &)*arg3); 22304 } 22305 22306 22307 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1calculateTransforms_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22308 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22309 22310 (void)jenv; 22311 (void)jcls; 22312 (void)jarg1_; 22313 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22314 (arg1)->calculateTransforms(); 22315 } 22316 22317 22318 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getCalculatedTransformA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22319 jobject jresult = 0 ; 22320 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22321 btTransform *result = 0 ; 22322 22323 (void)jenv; 22324 (void)jcls; 22325 (void)jarg1_; 22326 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22327 result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getCalculatedTransformA(); 22328 jresult = gdx_getReturnMatrix4(jenv); 22329 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 22330 return jresult; 22331 } 22332 22333 22334 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getCalculatedTransformB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22335 jobject jresult = 0 ; 22336 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22337 btTransform *result = 0 ; 22338 22339 (void)jenv; 22340 (void)jcls; 22341 (void)jarg1_; 22342 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22343 result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getCalculatedTransformB(); 22344 jresult = gdx_getReturnMatrix4(jenv); 22345 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 22346 return jresult; 22347 } 22348 22349 22350 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetA_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22351 jobject jresult = 0 ; 22352 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22353 btTransform *result = 0 ; 22354 22355 (void)jenv; 22356 (void)jcls; 22357 (void)jarg1_; 22358 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22359 result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getFrameOffsetA(); 22360 jresult = gdx_getReturnMatrix4(jenv); 22361 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 22362 return jresult; 22363 } 22364 22365 22366 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getFrameOffsetB_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22367 jobject jresult = 0 ; 22368 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22369 btTransform *result = 0 ; 22370 22371 (void)jenv; 22372 (void)jcls; 22373 (void)jarg1_; 22374 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22375 result = (btTransform *) &((btGeneric6DofSpring2Constraint const *)arg1)->getFrameOffsetB(); 22376 jresult = gdx_getReturnMatrix4(jenv); 22377 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 22378 return jresult; 22379 } 22380 22381 22382 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22383 jobject jresult = 0 ; 22384 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22385 int arg2 ; 22386 btVector3 result; 22387 22388 (void)jenv; 22389 (void)jcls; 22390 (void)jarg1_; 22391 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22392 arg2 = (int)jarg2; 22393 result = ((btGeneric6DofSpring2Constraint const *)arg1)->getAxis(arg2); 22394 jresult = gdx_getReturnVector3(jenv); 22395 gdx_setVector3FrombtVector3(jenv, jresult, result); 22396 return jresult; 22397 } 22398 22399 22400 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22401 jfloat jresult = 0 ; 22402 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22403 int arg2 ; 22404 btScalar result; 22405 22406 (void)jenv; 22407 (void)jcls; 22408 (void)jarg1_; 22409 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22410 arg2 = (int)jarg2; 22411 result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getAngle(arg2); 22412 jresult = (jfloat)result; 22413 return jresult; 22414 } 22415 22416 22417 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRelativePivotPosition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22418 jfloat jresult = 0 ; 22419 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22420 int arg2 ; 22421 btScalar result; 22422 22423 (void)jenv; 22424 (void)jcls; 22425 (void)jarg1_; 22426 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22427 arg2 = (int)jarg2; 22428 result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getRelativePivotPosition(arg2); 22429 jresult = (jfloat)result; 22430 return jresult; 22431 } 22432 22433 22434 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 22435 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22436 btTransform *arg2 = 0 ; 22437 btTransform *arg3 = 0 ; 22438 22439 (void)jenv; 22440 (void)jcls; 22441 (void)jarg1_; 22442 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22443 btTransform local_arg2; 22444 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 22445 arg2 = &local_arg2; 22446 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 22447 btTransform local_arg3; 22448 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 22449 arg3 = &local_arg3; 22450 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 22451 (arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3); 22452 } 22453 22454 22455 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22456 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22457 btVector3 *arg2 = 0 ; 22458 22459 (void)jenv; 22460 (void)jcls; 22461 (void)jarg1_; 22462 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22463 btVector3 local_arg2; 22464 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22465 arg2 = &local_arg2; 22466 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22467 (arg1)->setLinearLowerLimit((btVector3 const &)*arg2); 22468 } 22469 22470 22471 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getLinearLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22472 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22473 btVector3 *arg2 = 0 ; 22474 22475 (void)jenv; 22476 (void)jcls; 22477 (void)jarg1_; 22478 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22479 btVector3 local_arg2; 22480 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22481 arg2 = &local_arg2; 22482 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22483 (arg1)->getLinearLowerLimit(*arg2); 22484 } 22485 22486 22487 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22488 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22489 btVector3 *arg2 = 0 ; 22490 22491 (void)jenv; 22492 (void)jcls; 22493 (void)jarg1_; 22494 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22495 btVector3 local_arg2; 22496 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22497 arg2 = &local_arg2; 22498 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22499 (arg1)->setLinearUpperLimit((btVector3 const &)*arg2); 22500 } 22501 22502 22503 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getLinearUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22504 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22505 btVector3 *arg2 = 0 ; 22506 22507 (void)jenv; 22508 (void)jcls; 22509 (void)jarg1_; 22510 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22511 btVector3 local_arg2; 22512 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22513 arg2 = &local_arg2; 22514 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22515 (arg1)->getLinearUpperLimit(*arg2); 22516 } 22517 22518 22519 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22520 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22521 btVector3 *arg2 = 0 ; 22522 22523 (void)jenv; 22524 (void)jcls; 22525 (void)jarg1_; 22526 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22527 btVector3 local_arg2; 22528 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22529 arg2 = &local_arg2; 22530 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22531 (arg1)->setAngularLowerLimit((btVector3 const &)*arg2); 22532 } 22533 22534 22535 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularLowerLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22536 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22537 btVector3 *arg2 = 0 ; 22538 22539 (void)jenv; 22540 (void)jcls; 22541 (void)jarg1_; 22542 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22543 btVector3 local_arg2; 22544 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22545 arg2 = &local_arg2; 22546 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22547 (arg1)->setAngularLowerLimitReversed((btVector3 const &)*arg2); 22548 } 22549 22550 22551 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22552 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22553 btVector3 *arg2 = 0 ; 22554 22555 (void)jenv; 22556 (void)jcls; 22557 (void)jarg1_; 22558 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22559 btVector3 local_arg2; 22560 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22561 arg2 = &local_arg2; 22562 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22563 (arg1)->getAngularLowerLimit(*arg2); 22564 } 22565 22566 22567 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularLowerLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22568 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22569 btVector3 *arg2 = 0 ; 22570 22571 (void)jenv; 22572 (void)jcls; 22573 (void)jarg1_; 22574 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22575 btVector3 local_arg2; 22576 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22577 arg2 = &local_arg2; 22578 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22579 (arg1)->getAngularLowerLimitReversed(*arg2); 22580 } 22581 22582 22583 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22584 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22585 btVector3 *arg2 = 0 ; 22586 22587 (void)jenv; 22588 (void)jcls; 22589 (void)jarg1_; 22590 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22591 btVector3 local_arg2; 22592 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22593 arg2 = &local_arg2; 22594 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22595 (arg1)->setAngularUpperLimit((btVector3 const &)*arg2); 22596 } 22597 22598 22599 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAngularUpperLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22600 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22601 btVector3 *arg2 = 0 ; 22602 22603 (void)jenv; 22604 (void)jcls; 22605 (void)jarg1_; 22606 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22607 btVector3 local_arg2; 22608 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22609 arg2 = &local_arg2; 22610 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22611 (arg1)->setAngularUpperLimitReversed((btVector3 const &)*arg2); 22612 } 22613 22614 22615 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22616 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22617 btVector3 *arg2 = 0 ; 22618 22619 (void)jenv; 22620 (void)jcls; 22621 (void)jarg1_; 22622 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22623 btVector3 local_arg2; 22624 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22625 arg2 = &local_arg2; 22626 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22627 (arg1)->getAngularUpperLimit(*arg2); 22628 } 22629 22630 22631 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getAngularUpperLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 22632 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22633 btVector3 *arg2 = 0 ; 22634 22635 (void)jenv; 22636 (void)jcls; 22637 (void)jarg1_; 22638 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22639 btVector3 local_arg2; 22640 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22641 arg2 = &local_arg2; 22642 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22643 (arg1)->getAngularUpperLimitReversed(*arg2); 22644 } 22645 22646 22647 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) { 22648 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22649 int arg2 ; 22650 btScalar arg3 ; 22651 btScalar arg4 ; 22652 22653 (void)jenv; 22654 (void)jcls; 22655 (void)jarg1_; 22656 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22657 arg2 = (int)jarg2; 22658 arg3 = (btScalar)jarg3; 22659 arg4 = (btScalar)jarg4; 22660 (arg1)->setLimit(arg2,arg3,arg4); 22661 } 22662 22663 22664 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setLimitReversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jfloat jarg4) { 22665 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22666 int arg2 ; 22667 btScalar arg3 ; 22668 btScalar arg4 ; 22669 22670 (void)jenv; 22671 (void)jcls; 22672 (void)jarg1_; 22673 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22674 arg2 = (int)jarg2; 22675 arg3 = (btScalar)jarg3; 22676 arg4 = (btScalar)jarg4; 22677 (arg1)->setLimitReversed(arg2,arg3,arg4); 22678 } 22679 22680 22681 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1isLimited(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22682 jboolean jresult = 0 ; 22683 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22684 int arg2 ; 22685 bool result; 22686 22687 (void)jenv; 22688 (void)jcls; 22689 (void)jarg1_; 22690 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22691 arg2 = (int)jarg2; 22692 result = (bool)(arg1)->isLimited(arg2); 22693 jresult = (jboolean)result; 22694 return jresult; 22695 } 22696 22697 22698 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setRotationOrder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22699 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22700 RotateOrder arg2 ; 22701 22702 (void)jenv; 22703 (void)jcls; 22704 (void)jarg1_; 22705 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22706 arg2 = (RotateOrder)jarg2; 22707 (arg1)->setRotationOrder(arg2); 22708 } 22709 22710 22711 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getRotationOrder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22712 jint jresult = 0 ; 22713 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22714 RotateOrder result; 22715 22716 (void)jenv; 22717 (void)jcls; 22718 (void)jarg1_; 22719 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22720 result = (RotateOrder)(arg1)->getRotationOrder(); 22721 jresult = (jint)result; 22722 return jresult; 22723 } 22724 22725 22726 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 22727 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22728 btVector3 *arg2 = 0 ; 22729 btVector3 *arg3 = 0 ; 22730 22731 (void)jenv; 22732 (void)jcls; 22733 (void)jarg1_; 22734 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22735 btVector3 local_arg2; 22736 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 22737 arg2 = &local_arg2; 22738 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 22739 btVector3 local_arg3; 22740 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 22741 arg3 = &local_arg3; 22742 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 22743 (arg1)->setAxis((btVector3 const &)*arg2,(btVector3 const &)*arg3); 22744 } 22745 22746 22747 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setBounce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22748 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22749 int arg2 ; 22750 btScalar arg3 ; 22751 22752 (void)jenv; 22753 (void)jcls; 22754 (void)jarg1_; 22755 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22756 arg2 = (int)jarg2; 22757 arg3 = (btScalar)jarg3; 22758 (arg1)->setBounce(arg2,arg3); 22759 } 22760 22761 22762 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) { 22763 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22764 int arg2 ; 22765 bool arg3 ; 22766 22767 (void)jenv; 22768 (void)jcls; 22769 (void)jarg1_; 22770 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22771 arg2 = (int)jarg2; 22772 arg3 = jarg3 ? true : false; 22773 (arg1)->enableMotor(arg2,arg3); 22774 } 22775 22776 22777 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setServo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) { 22778 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22779 int arg2 ; 22780 bool arg3 ; 22781 22782 (void)jenv; 22783 (void)jcls; 22784 (void)jarg1_; 22785 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22786 arg2 = (int)jarg2; 22787 arg3 = jarg3 ? true : false; 22788 (arg1)->setServo(arg2,arg3); 22789 } 22790 22791 22792 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setTargetVelocity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22793 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22794 int arg2 ; 22795 btScalar arg3 ; 22796 22797 (void)jenv; 22798 (void)jcls; 22799 (void)jarg1_; 22800 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22801 arg2 = (int)jarg2; 22802 arg3 = (btScalar)jarg3; 22803 (arg1)->setTargetVelocity(arg2,arg3); 22804 } 22805 22806 22807 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setServoTarget(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22808 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22809 int arg2 ; 22810 btScalar arg3 ; 22811 22812 (void)jenv; 22813 (void)jcls; 22814 (void)jarg1_; 22815 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22816 arg2 = (int)jarg2; 22817 arg3 = (btScalar)jarg3; 22818 (arg1)->setServoTarget(arg2,arg3); 22819 } 22820 22821 22822 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setMaxMotorForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22823 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22824 int arg2 ; 22825 btScalar arg3 ; 22826 22827 (void)jenv; 22828 (void)jcls; 22829 (void)jarg1_; 22830 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22831 arg2 = (int)jarg2; 22832 arg3 = (btScalar)jarg3; 22833 (arg1)->setMaxMotorForce(arg2,arg3); 22834 } 22835 22836 22837 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1enableSpring(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) { 22838 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22839 int arg2 ; 22840 bool arg3 ; 22841 22842 (void)jenv; 22843 (void)jcls; 22844 (void)jarg1_; 22845 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22846 arg2 = (int)jarg2; 22847 arg3 = jarg3 ? true : false; 22848 (arg1)->enableSpring(arg2,arg3); 22849 } 22850 22851 22852 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setStiffness_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jboolean jarg4) { 22853 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22854 int arg2 ; 22855 btScalar arg3 ; 22856 bool arg4 ; 22857 22858 (void)jenv; 22859 (void)jcls; 22860 (void)jarg1_; 22861 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22862 arg2 = (int)jarg2; 22863 arg3 = (btScalar)jarg3; 22864 arg4 = jarg4 ? true : false; 22865 (arg1)->setStiffness(arg2,arg3,arg4); 22866 } 22867 22868 22869 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setStiffness_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22870 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22871 int arg2 ; 22872 btScalar arg3 ; 22873 22874 (void)jenv; 22875 (void)jcls; 22876 (void)jarg1_; 22877 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22878 arg2 = (int)jarg2; 22879 arg3 = (btScalar)jarg3; 22880 (arg1)->setStiffness(arg2,arg3); 22881 } 22882 22883 22884 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setDamping_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jboolean jarg4) { 22885 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22886 int arg2 ; 22887 btScalar arg3 ; 22888 bool arg4 ; 22889 22890 (void)jenv; 22891 (void)jcls; 22892 (void)jarg1_; 22893 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22894 arg2 = (int)jarg2; 22895 arg3 = (btScalar)jarg3; 22896 arg4 = jarg4 ? true : false; 22897 (arg1)->setDamping(arg2,arg3,arg4); 22898 } 22899 22900 22901 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setDamping_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22902 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22903 int arg2 ; 22904 btScalar arg3 ; 22905 22906 (void)jenv; 22907 (void)jcls; 22908 (void)jarg1_; 22909 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22910 arg2 = (int)jarg2; 22911 arg3 = (btScalar)jarg3; 22912 (arg1)->setDamping(arg2,arg3); 22913 } 22914 22915 22916 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 22917 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22918 22919 (void)jenv; 22920 (void)jcls; 22921 (void)jarg1_; 22922 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22923 (arg1)->setEquilibriumPoint(); 22924 } 22925 22926 22927 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 22928 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22929 int arg2 ; 22930 22931 (void)jenv; 22932 (void)jcls; 22933 (void)jarg1_; 22934 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22935 arg2 = (int)jarg2; 22936 (arg1)->setEquilibriumPoint(arg2); 22937 } 22938 22939 22940 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setEquilibriumPoint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22941 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22942 int arg2 ; 22943 btScalar arg3 ; 22944 22945 (void)jenv; 22946 (void)jcls; 22947 (void)jarg1_; 22948 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22949 arg2 = (int)jarg2; 22950 arg3 = (btScalar)jarg3; 22951 (arg1)->setEquilibriumPoint(arg2,arg3); 22952 } 22953 22954 22955 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 22956 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22957 int arg2 ; 22958 btScalar arg3 ; 22959 int arg4 ; 22960 22961 (void)jenv; 22962 (void)jcls; 22963 (void)jarg1_; 22964 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22965 arg2 = (int)jarg2; 22966 arg3 = (btScalar)jarg3; 22967 arg4 = (int)jarg4; 22968 (arg1)->setParam(arg2,arg3,arg4); 22969 } 22970 22971 22972 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 22973 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22974 int arg2 ; 22975 btScalar arg3 ; 22976 22977 (void)jenv; 22978 (void)jcls; 22979 (void)jarg1_; 22980 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22981 arg2 = (int)jarg2; 22982 arg3 = (btScalar)jarg3; 22983 (arg1)->setParam(arg2,arg3); 22984 } 22985 22986 22987 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 22988 jfloat jresult = 0 ; 22989 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 22990 int arg2 ; 22991 int arg3 ; 22992 btScalar result; 22993 22994 (void)jenv; 22995 (void)jcls; 22996 (void)jarg1_; 22997 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 22998 arg2 = (int)jarg2; 22999 arg3 = (int)jarg3; 23000 result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getParam(arg2,arg3); 23001 jresult = (jfloat)result; 23002 return jresult; 23003 } 23004 23005 23006 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 23007 jfloat jresult = 0 ; 23008 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 23009 int arg2 ; 23010 btScalar result; 23011 23012 (void)jenv; 23013 (void)jcls; 23014 (void)jarg1_; 23015 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 23016 arg2 = (int)jarg2; 23017 result = (btScalar)((btGeneric6DofSpring2Constraint const *)arg1)->getParam(arg2); 23018 jresult = (jfloat)result; 23019 return jresult; 23020 } 23021 23022 23023 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 23024 btGeneric6DofSpring2Constraint *arg1 = (btGeneric6DofSpring2Constraint *) 0 ; 23025 23026 (void)jenv; 23027 (void)jcls; 23028 arg1 = *(btGeneric6DofSpring2Constraint **)&jarg1; 23029 delete arg1; 23030 } 23031 23032 23033 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23034 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23035 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 23036 23037 (void)jenv; 23038 (void)jcls; 23039 (void)jarg1_; 23040 (void)jarg2_; 23041 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23042 arg2 = *(btTypedConstraintData **)&jarg2; 23043 if (arg1) (arg1)->m_typeConstraintData = *arg2; 23044 } 23045 23046 23047 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23048 jlong jresult = 0 ; 23049 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23050 btTypedConstraintData *result = 0 ; 23051 23052 (void)jenv; 23053 (void)jcls; 23054 (void)jarg1_; 23055 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23056 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 23057 *(btTypedConstraintData **)&jresult = result; 23058 return jresult; 23059 } 23060 23061 23062 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23063 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23064 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 23065 23066 (void)jenv; 23067 (void)jcls; 23068 (void)jarg1_; 23069 (void)jarg2_; 23070 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23071 arg2 = *(btTransformFloatData **)&jarg2; 23072 if (arg1) (arg1)->m_rbAFrame = *arg2; 23073 } 23074 23075 23076 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23077 jlong jresult = 0 ; 23078 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23079 btTransformFloatData *result = 0 ; 23080 23081 (void)jenv; 23082 (void)jcls; 23083 (void)jarg1_; 23084 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23085 result = (btTransformFloatData *)& ((arg1)->m_rbAFrame); 23086 *(btTransformFloatData **)&jresult = result; 23087 return jresult; 23088 } 23089 23090 23091 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23092 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23093 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 23094 23095 (void)jenv; 23096 (void)jcls; 23097 (void)jarg1_; 23098 (void)jarg2_; 23099 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23100 arg2 = *(btTransformFloatData **)&jarg2; 23101 if (arg1) (arg1)->m_rbBFrame = *arg2; 23102 } 23103 23104 23105 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23106 jlong jresult = 0 ; 23107 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23108 btTransformFloatData *result = 0 ; 23109 23110 (void)jenv; 23111 (void)jcls; 23112 (void)jarg1_; 23113 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23114 result = (btTransformFloatData *)& ((arg1)->m_rbBFrame); 23115 *(btTransformFloatData **)&jresult = result; 23116 return jresult; 23117 } 23118 23119 23120 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23121 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23122 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23123 23124 (void)jenv; 23125 (void)jcls; 23126 (void)jarg1_; 23127 (void)jarg2_; 23128 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23129 arg2 = *(btVector3FloatData **)&jarg2; 23130 if (arg1) (arg1)->m_linearUpperLimit = *arg2; 23131 } 23132 23133 23134 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23135 jlong jresult = 0 ; 23136 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23137 btVector3FloatData *result = 0 ; 23138 23139 (void)jenv; 23140 (void)jcls; 23141 (void)jarg1_; 23142 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23143 result = (btVector3FloatData *)& ((arg1)->m_linearUpperLimit); 23144 *(btVector3FloatData **)&jresult = result; 23145 return jresult; 23146 } 23147 23148 23149 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23150 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23151 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23152 23153 (void)jenv; 23154 (void)jcls; 23155 (void)jarg1_; 23156 (void)jarg2_; 23157 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23158 arg2 = *(btVector3FloatData **)&jarg2; 23159 if (arg1) (arg1)->m_linearLowerLimit = *arg2; 23160 } 23161 23162 23163 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23164 jlong jresult = 0 ; 23165 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23166 btVector3FloatData *result = 0 ; 23167 23168 (void)jenv; 23169 (void)jcls; 23170 (void)jarg1_; 23171 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23172 result = (btVector3FloatData *)& ((arg1)->m_linearLowerLimit); 23173 *(btVector3FloatData **)&jresult = result; 23174 return jresult; 23175 } 23176 23177 23178 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23179 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23180 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23181 23182 (void)jenv; 23183 (void)jcls; 23184 (void)jarg1_; 23185 (void)jarg2_; 23186 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23187 arg2 = *(btVector3FloatData **)&jarg2; 23188 if (arg1) (arg1)->m_linearBounce = *arg2; 23189 } 23190 23191 23192 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23193 jlong jresult = 0 ; 23194 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23195 btVector3FloatData *result = 0 ; 23196 23197 (void)jenv; 23198 (void)jcls; 23199 (void)jarg1_; 23200 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23201 result = (btVector3FloatData *)& ((arg1)->m_linearBounce); 23202 *(btVector3FloatData **)&jresult = result; 23203 return jresult; 23204 } 23205 23206 23207 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23208 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23209 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23210 23211 (void)jenv; 23212 (void)jcls; 23213 (void)jarg1_; 23214 (void)jarg2_; 23215 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23216 arg2 = *(btVector3FloatData **)&jarg2; 23217 if (arg1) (arg1)->m_linearStopERP = *arg2; 23218 } 23219 23220 23221 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23222 jlong jresult = 0 ; 23223 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23224 btVector3FloatData *result = 0 ; 23225 23226 (void)jenv; 23227 (void)jcls; 23228 (void)jarg1_; 23229 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23230 result = (btVector3FloatData *)& ((arg1)->m_linearStopERP); 23231 *(btVector3FloatData **)&jresult = result; 23232 return jresult; 23233 } 23234 23235 23236 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23237 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23238 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23239 23240 (void)jenv; 23241 (void)jcls; 23242 (void)jarg1_; 23243 (void)jarg2_; 23244 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23245 arg2 = *(btVector3FloatData **)&jarg2; 23246 if (arg1) (arg1)->m_linearStopCFM = *arg2; 23247 } 23248 23249 23250 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23251 jlong jresult = 0 ; 23252 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23253 btVector3FloatData *result = 0 ; 23254 23255 (void)jenv; 23256 (void)jcls; 23257 (void)jarg1_; 23258 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23259 result = (btVector3FloatData *)& ((arg1)->m_linearStopCFM); 23260 *(btVector3FloatData **)&jresult = result; 23261 return jresult; 23262 } 23263 23264 23265 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23266 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23267 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23268 23269 (void)jenv; 23270 (void)jcls; 23271 (void)jarg1_; 23272 (void)jarg2_; 23273 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23274 arg2 = *(btVector3FloatData **)&jarg2; 23275 if (arg1) (arg1)->m_linearMotorERP = *arg2; 23276 } 23277 23278 23279 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23280 jlong jresult = 0 ; 23281 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23282 btVector3FloatData *result = 0 ; 23283 23284 (void)jenv; 23285 (void)jcls; 23286 (void)jarg1_; 23287 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23288 result = (btVector3FloatData *)& ((arg1)->m_linearMotorERP); 23289 *(btVector3FloatData **)&jresult = result; 23290 return jresult; 23291 } 23292 23293 23294 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23295 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23296 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23297 23298 (void)jenv; 23299 (void)jcls; 23300 (void)jarg1_; 23301 (void)jarg2_; 23302 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23303 arg2 = *(btVector3FloatData **)&jarg2; 23304 if (arg1) (arg1)->m_linearMotorCFM = *arg2; 23305 } 23306 23307 23308 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23309 jlong jresult = 0 ; 23310 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23311 btVector3FloatData *result = 0 ; 23312 23313 (void)jenv; 23314 (void)jcls; 23315 (void)jarg1_; 23316 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23317 result = (btVector3FloatData *)& ((arg1)->m_linearMotorCFM); 23318 *(btVector3FloatData **)&jresult = result; 23319 return jresult; 23320 } 23321 23322 23323 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23324 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23325 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23326 23327 (void)jenv; 23328 (void)jcls; 23329 (void)jarg1_; 23330 (void)jarg2_; 23331 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23332 arg2 = *(btVector3FloatData **)&jarg2; 23333 if (arg1) (arg1)->m_linearTargetVelocity = *arg2; 23334 } 23335 23336 23337 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23338 jlong jresult = 0 ; 23339 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23340 btVector3FloatData *result = 0 ; 23341 23342 (void)jenv; 23343 (void)jcls; 23344 (void)jarg1_; 23345 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23346 result = (btVector3FloatData *)& ((arg1)->m_linearTargetVelocity); 23347 *(btVector3FloatData **)&jresult = result; 23348 return jresult; 23349 } 23350 23351 23352 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23353 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23354 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23355 23356 (void)jenv; 23357 (void)jcls; 23358 (void)jarg1_; 23359 (void)jarg2_; 23360 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23361 arg2 = *(btVector3FloatData **)&jarg2; 23362 if (arg1) (arg1)->m_linearMaxMotorForce = *arg2; 23363 } 23364 23365 23366 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23367 jlong jresult = 0 ; 23368 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23369 btVector3FloatData *result = 0 ; 23370 23371 (void)jenv; 23372 (void)jcls; 23373 (void)jarg1_; 23374 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23375 result = (btVector3FloatData *)& ((arg1)->m_linearMaxMotorForce); 23376 *(btVector3FloatData **)&jresult = result; 23377 return jresult; 23378 } 23379 23380 23381 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23382 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23383 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23384 23385 (void)jenv; 23386 (void)jcls; 23387 (void)jarg1_; 23388 (void)jarg2_; 23389 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23390 arg2 = *(btVector3FloatData **)&jarg2; 23391 if (arg1) (arg1)->m_linearServoTarget = *arg2; 23392 } 23393 23394 23395 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23396 jlong jresult = 0 ; 23397 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23398 btVector3FloatData *result = 0 ; 23399 23400 (void)jenv; 23401 (void)jcls; 23402 (void)jarg1_; 23403 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23404 result = (btVector3FloatData *)& ((arg1)->m_linearServoTarget); 23405 *(btVector3FloatData **)&jresult = result; 23406 return jresult; 23407 } 23408 23409 23410 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23411 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23412 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23413 23414 (void)jenv; 23415 (void)jcls; 23416 (void)jarg1_; 23417 (void)jarg2_; 23418 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23419 arg2 = *(btVector3FloatData **)&jarg2; 23420 if (arg1) (arg1)->m_linearSpringStiffness = *arg2; 23421 } 23422 23423 23424 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23425 jlong jresult = 0 ; 23426 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23427 btVector3FloatData *result = 0 ; 23428 23429 (void)jenv; 23430 (void)jcls; 23431 (void)jarg1_; 23432 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23433 result = (btVector3FloatData *)& ((arg1)->m_linearSpringStiffness); 23434 *(btVector3FloatData **)&jresult = result; 23435 return jresult; 23436 } 23437 23438 23439 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23440 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23441 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23442 23443 (void)jenv; 23444 (void)jcls; 23445 (void)jarg1_; 23446 (void)jarg2_; 23447 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23448 arg2 = *(btVector3FloatData **)&jarg2; 23449 if (arg1) (arg1)->m_linearSpringDamping = *arg2; 23450 } 23451 23452 23453 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23454 jlong jresult = 0 ; 23455 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23456 btVector3FloatData *result = 0 ; 23457 23458 (void)jenv; 23459 (void)jcls; 23460 (void)jarg1_; 23461 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23462 result = (btVector3FloatData *)& ((arg1)->m_linearSpringDamping); 23463 *(btVector3FloatData **)&jresult = result; 23464 return jresult; 23465 } 23466 23467 23468 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23469 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23470 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23471 23472 (void)jenv; 23473 (void)jcls; 23474 (void)jarg1_; 23475 (void)jarg2_; 23476 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23477 arg2 = *(btVector3FloatData **)&jarg2; 23478 if (arg1) (arg1)->m_linearEquilibriumPoint = *arg2; 23479 } 23480 23481 23482 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23483 jlong jresult = 0 ; 23484 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23485 btVector3FloatData *result = 0 ; 23486 23487 (void)jenv; 23488 (void)jcls; 23489 (void)jarg1_; 23490 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23491 result = (btVector3FloatData *)& ((arg1)->m_linearEquilibriumPoint); 23492 *(btVector3FloatData **)&jresult = result; 23493 return jresult; 23494 } 23495 23496 23497 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 23498 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23499 char *arg2 ; 23500 23501 (void)jenv; 23502 (void)jcls; 23503 (void)jarg1_; 23504 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23505 arg2 = 0; 23506 if (jarg2) { 23507 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 23508 if (!arg2) return ; 23509 } 23510 { 23511 if(arg2) { 23512 strncpy((char*)arg1->m_linearEnableMotor, (const char *)arg2, 4-1); 23513 arg1->m_linearEnableMotor[4-1] = 0; 23514 } else { 23515 arg1->m_linearEnableMotor[0] = 0; 23516 } 23517 } 23518 23519 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 23520 } 23521 23522 23523 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23524 jstring jresult = 0 ; 23525 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23526 char *result = 0 ; 23527 23528 (void)jenv; 23529 (void)jcls; 23530 (void)jarg1_; 23531 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23532 result = (char *)(char *) ((arg1)->m_linearEnableMotor); 23533 if (result) jresult = jenv->NewStringUTF((const char *)result); 23534 return jresult; 23535 } 23536 23537 23538 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 23539 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23540 char *arg2 ; 23541 23542 (void)jenv; 23543 (void)jcls; 23544 (void)jarg1_; 23545 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23546 arg2 = 0; 23547 if (jarg2) { 23548 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 23549 if (!arg2) return ; 23550 } 23551 { 23552 if(arg2) { 23553 strncpy((char*)arg1->m_linearServoMotor, (const char *)arg2, 4-1); 23554 arg1->m_linearServoMotor[4-1] = 0; 23555 } else { 23556 arg1->m_linearServoMotor[0] = 0; 23557 } 23558 } 23559 23560 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 23561 } 23562 23563 23564 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23565 jstring jresult = 0 ; 23566 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23567 char *result = 0 ; 23568 23569 (void)jenv; 23570 (void)jcls; 23571 (void)jarg1_; 23572 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23573 result = (char *)(char *) ((arg1)->m_linearServoMotor); 23574 if (result) jresult = jenv->NewStringUTF((const char *)result); 23575 return jresult; 23576 } 23577 23578 23579 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 23580 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23581 char *arg2 ; 23582 23583 (void)jenv; 23584 (void)jcls; 23585 (void)jarg1_; 23586 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23587 arg2 = 0; 23588 if (jarg2) { 23589 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 23590 if (!arg2) return ; 23591 } 23592 { 23593 if(arg2) { 23594 strncpy((char*)arg1->m_linearEnableSpring, (const char *)arg2, 4-1); 23595 arg1->m_linearEnableSpring[4-1] = 0; 23596 } else { 23597 arg1->m_linearEnableSpring[0] = 0; 23598 } 23599 } 23600 23601 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 23602 } 23603 23604 23605 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23606 jstring jresult = 0 ; 23607 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23608 char *result = 0 ; 23609 23610 (void)jenv; 23611 (void)jcls; 23612 (void)jarg1_; 23613 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23614 result = (char *)(char *) ((arg1)->m_linearEnableSpring); 23615 if (result) jresult = jenv->NewStringUTF((const char *)result); 23616 return jresult; 23617 } 23618 23619 23620 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 23621 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23622 char *arg2 ; 23623 23624 (void)jenv; 23625 (void)jcls; 23626 (void)jarg1_; 23627 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23628 arg2 = 0; 23629 if (jarg2) { 23630 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 23631 if (!arg2) return ; 23632 } 23633 { 23634 if(arg2) { 23635 strncpy((char*)arg1->m_linearSpringStiffnessLimited, (const char *)arg2, 4-1); 23636 arg1->m_linearSpringStiffnessLimited[4-1] = 0; 23637 } else { 23638 arg1->m_linearSpringStiffnessLimited[0] = 0; 23639 } 23640 } 23641 23642 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 23643 } 23644 23645 23646 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23647 jstring jresult = 0 ; 23648 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23649 char *result = 0 ; 23650 23651 (void)jenv; 23652 (void)jcls; 23653 (void)jarg1_; 23654 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23655 result = (char *)(char *) ((arg1)->m_linearSpringStiffnessLimited); 23656 if (result) jresult = jenv->NewStringUTF((const char *)result); 23657 return jresult; 23658 } 23659 23660 23661 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 23662 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23663 char *arg2 ; 23664 23665 (void)jenv; 23666 (void)jcls; 23667 (void)jarg1_; 23668 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23669 arg2 = 0; 23670 if (jarg2) { 23671 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 23672 if (!arg2) return ; 23673 } 23674 { 23675 if(arg2) { 23676 strncpy((char*)arg1->m_linearSpringDampingLimited, (const char *)arg2, 4-1); 23677 arg1->m_linearSpringDampingLimited[4-1] = 0; 23678 } else { 23679 arg1->m_linearSpringDampingLimited[0] = 0; 23680 } 23681 } 23682 23683 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 23684 } 23685 23686 23687 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1linearSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23688 jstring jresult = 0 ; 23689 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23690 char *result = 0 ; 23691 23692 (void)jenv; 23693 (void)jcls; 23694 (void)jarg1_; 23695 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23696 result = (char *)(char *) ((arg1)->m_linearSpringDampingLimited); 23697 if (result) jresult = jenv->NewStringUTF((const char *)result); 23698 return jresult; 23699 } 23700 23701 23702 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 23703 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23704 char *arg2 ; 23705 23706 (void)jenv; 23707 (void)jcls; 23708 (void)jarg1_; 23709 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23710 arg2 = 0; 23711 if (jarg2) { 23712 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 23713 if (!arg2) return ; 23714 } 23715 { 23716 if(arg2) { 23717 strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1); 23718 arg1->m_padding1[4-1] = 0; 23719 } else { 23720 arg1->m_padding1[0] = 0; 23721 } 23722 } 23723 23724 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 23725 } 23726 23727 23728 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23729 jstring jresult = 0 ; 23730 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23731 char *result = 0 ; 23732 23733 (void)jenv; 23734 (void)jcls; 23735 (void)jarg1_; 23736 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23737 result = (char *)(char *) ((arg1)->m_padding1); 23738 if (result) jresult = jenv->NewStringUTF((const char *)result); 23739 return jresult; 23740 } 23741 23742 23743 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23744 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23745 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23746 23747 (void)jenv; 23748 (void)jcls; 23749 (void)jarg1_; 23750 (void)jarg2_; 23751 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23752 arg2 = *(btVector3FloatData **)&jarg2; 23753 if (arg1) (arg1)->m_angularUpperLimit = *arg2; 23754 } 23755 23756 23757 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23758 jlong jresult = 0 ; 23759 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23760 btVector3FloatData *result = 0 ; 23761 23762 (void)jenv; 23763 (void)jcls; 23764 (void)jarg1_; 23765 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23766 result = (btVector3FloatData *)& ((arg1)->m_angularUpperLimit); 23767 *(btVector3FloatData **)&jresult = result; 23768 return jresult; 23769 } 23770 23771 23772 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23773 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23774 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23775 23776 (void)jenv; 23777 (void)jcls; 23778 (void)jarg1_; 23779 (void)jarg2_; 23780 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23781 arg2 = *(btVector3FloatData **)&jarg2; 23782 if (arg1) (arg1)->m_angularLowerLimit = *arg2; 23783 } 23784 23785 23786 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23787 jlong jresult = 0 ; 23788 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23789 btVector3FloatData *result = 0 ; 23790 23791 (void)jenv; 23792 (void)jcls; 23793 (void)jarg1_; 23794 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23795 result = (btVector3FloatData *)& ((arg1)->m_angularLowerLimit); 23796 *(btVector3FloatData **)&jresult = result; 23797 return jresult; 23798 } 23799 23800 23801 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23802 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23803 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23804 23805 (void)jenv; 23806 (void)jcls; 23807 (void)jarg1_; 23808 (void)jarg2_; 23809 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23810 arg2 = *(btVector3FloatData **)&jarg2; 23811 if (arg1) (arg1)->m_angularBounce = *arg2; 23812 } 23813 23814 23815 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23816 jlong jresult = 0 ; 23817 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23818 btVector3FloatData *result = 0 ; 23819 23820 (void)jenv; 23821 (void)jcls; 23822 (void)jarg1_; 23823 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23824 result = (btVector3FloatData *)& ((arg1)->m_angularBounce); 23825 *(btVector3FloatData **)&jresult = result; 23826 return jresult; 23827 } 23828 23829 23830 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23831 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23832 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23833 23834 (void)jenv; 23835 (void)jcls; 23836 (void)jarg1_; 23837 (void)jarg2_; 23838 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23839 arg2 = *(btVector3FloatData **)&jarg2; 23840 if (arg1) (arg1)->m_angularStopERP = *arg2; 23841 } 23842 23843 23844 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23845 jlong jresult = 0 ; 23846 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23847 btVector3FloatData *result = 0 ; 23848 23849 (void)jenv; 23850 (void)jcls; 23851 (void)jarg1_; 23852 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23853 result = (btVector3FloatData *)& ((arg1)->m_angularStopERP); 23854 *(btVector3FloatData **)&jresult = result; 23855 return jresult; 23856 } 23857 23858 23859 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23860 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23861 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23862 23863 (void)jenv; 23864 (void)jcls; 23865 (void)jarg1_; 23866 (void)jarg2_; 23867 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23868 arg2 = *(btVector3FloatData **)&jarg2; 23869 if (arg1) (arg1)->m_angularStopCFM = *arg2; 23870 } 23871 23872 23873 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23874 jlong jresult = 0 ; 23875 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23876 btVector3FloatData *result = 0 ; 23877 23878 (void)jenv; 23879 (void)jcls; 23880 (void)jarg1_; 23881 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23882 result = (btVector3FloatData *)& ((arg1)->m_angularStopCFM); 23883 *(btVector3FloatData **)&jresult = result; 23884 return jresult; 23885 } 23886 23887 23888 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23889 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23890 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23891 23892 (void)jenv; 23893 (void)jcls; 23894 (void)jarg1_; 23895 (void)jarg2_; 23896 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23897 arg2 = *(btVector3FloatData **)&jarg2; 23898 if (arg1) (arg1)->m_angularMotorERP = *arg2; 23899 } 23900 23901 23902 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23903 jlong jresult = 0 ; 23904 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23905 btVector3FloatData *result = 0 ; 23906 23907 (void)jenv; 23908 (void)jcls; 23909 (void)jarg1_; 23910 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23911 result = (btVector3FloatData *)& ((arg1)->m_angularMotorERP); 23912 *(btVector3FloatData **)&jresult = result; 23913 return jresult; 23914 } 23915 23916 23917 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23918 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23919 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23920 23921 (void)jenv; 23922 (void)jcls; 23923 (void)jarg1_; 23924 (void)jarg2_; 23925 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23926 arg2 = *(btVector3FloatData **)&jarg2; 23927 if (arg1) (arg1)->m_angularMotorCFM = *arg2; 23928 } 23929 23930 23931 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23932 jlong jresult = 0 ; 23933 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23934 btVector3FloatData *result = 0 ; 23935 23936 (void)jenv; 23937 (void)jcls; 23938 (void)jarg1_; 23939 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23940 result = (btVector3FloatData *)& ((arg1)->m_angularMotorCFM); 23941 *(btVector3FloatData **)&jresult = result; 23942 return jresult; 23943 } 23944 23945 23946 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23947 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23948 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23949 23950 (void)jenv; 23951 (void)jcls; 23952 (void)jarg1_; 23953 (void)jarg2_; 23954 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23955 arg2 = *(btVector3FloatData **)&jarg2; 23956 if (arg1) (arg1)->m_angularTargetVelocity = *arg2; 23957 } 23958 23959 23960 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23961 jlong jresult = 0 ; 23962 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23963 btVector3FloatData *result = 0 ; 23964 23965 (void)jenv; 23966 (void)jcls; 23967 (void)jarg1_; 23968 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23969 result = (btVector3FloatData *)& ((arg1)->m_angularTargetVelocity); 23970 *(btVector3FloatData **)&jresult = result; 23971 return jresult; 23972 } 23973 23974 23975 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 23976 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23977 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 23978 23979 (void)jenv; 23980 (void)jcls; 23981 (void)jarg1_; 23982 (void)jarg2_; 23983 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23984 arg2 = *(btVector3FloatData **)&jarg2; 23985 if (arg1) (arg1)->m_angularMaxMotorForce = *arg2; 23986 } 23987 23988 23989 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 23990 jlong jresult = 0 ; 23991 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 23992 btVector3FloatData *result = 0 ; 23993 23994 (void)jenv; 23995 (void)jcls; 23996 (void)jarg1_; 23997 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 23998 result = (btVector3FloatData *)& ((arg1)->m_angularMaxMotorForce); 23999 *(btVector3FloatData **)&jresult = result; 24000 return jresult; 24001 } 24002 24003 24004 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24005 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24006 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 24007 24008 (void)jenv; 24009 (void)jcls; 24010 (void)jarg1_; 24011 (void)jarg2_; 24012 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24013 arg2 = *(btVector3FloatData **)&jarg2; 24014 if (arg1) (arg1)->m_angularServoTarget = *arg2; 24015 } 24016 24017 24018 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24019 jlong jresult = 0 ; 24020 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24021 btVector3FloatData *result = 0 ; 24022 24023 (void)jenv; 24024 (void)jcls; 24025 (void)jarg1_; 24026 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24027 result = (btVector3FloatData *)& ((arg1)->m_angularServoTarget); 24028 *(btVector3FloatData **)&jresult = result; 24029 return jresult; 24030 } 24031 24032 24033 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24034 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24035 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 24036 24037 (void)jenv; 24038 (void)jcls; 24039 (void)jarg1_; 24040 (void)jarg2_; 24041 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24042 arg2 = *(btVector3FloatData **)&jarg2; 24043 if (arg1) (arg1)->m_angularSpringStiffness = *arg2; 24044 } 24045 24046 24047 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24048 jlong jresult = 0 ; 24049 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24050 btVector3FloatData *result = 0 ; 24051 24052 (void)jenv; 24053 (void)jcls; 24054 (void)jarg1_; 24055 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24056 result = (btVector3FloatData *)& ((arg1)->m_angularSpringStiffness); 24057 *(btVector3FloatData **)&jresult = result; 24058 return jresult; 24059 } 24060 24061 24062 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24063 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24064 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 24065 24066 (void)jenv; 24067 (void)jcls; 24068 (void)jarg1_; 24069 (void)jarg2_; 24070 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24071 arg2 = *(btVector3FloatData **)&jarg2; 24072 if (arg1) (arg1)->m_angularSpringDamping = *arg2; 24073 } 24074 24075 24076 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24077 jlong jresult = 0 ; 24078 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24079 btVector3FloatData *result = 0 ; 24080 24081 (void)jenv; 24082 (void)jcls; 24083 (void)jarg1_; 24084 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24085 result = (btVector3FloatData *)& ((arg1)->m_angularSpringDamping); 24086 *(btVector3FloatData **)&jresult = result; 24087 return jresult; 24088 } 24089 24090 24091 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24092 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24093 btVector3FloatData *arg2 = (btVector3FloatData *) 0 ; 24094 24095 (void)jenv; 24096 (void)jcls; 24097 (void)jarg1_; 24098 (void)jarg2_; 24099 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24100 arg2 = *(btVector3FloatData **)&jarg2; 24101 if (arg1) (arg1)->m_angularEquilibriumPoint = *arg2; 24102 } 24103 24104 24105 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24106 jlong jresult = 0 ; 24107 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24108 btVector3FloatData *result = 0 ; 24109 24110 (void)jenv; 24111 (void)jcls; 24112 (void)jarg1_; 24113 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24114 result = (btVector3FloatData *)& ((arg1)->m_angularEquilibriumPoint); 24115 *(btVector3FloatData **)&jresult = result; 24116 return jresult; 24117 } 24118 24119 24120 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24121 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24122 char *arg2 ; 24123 24124 (void)jenv; 24125 (void)jcls; 24126 (void)jarg1_; 24127 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24128 arg2 = 0; 24129 if (jarg2) { 24130 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24131 if (!arg2) return ; 24132 } 24133 { 24134 if(arg2) { 24135 strncpy((char*)arg1->m_angularEnableMotor, (const char *)arg2, 4-1); 24136 arg1->m_angularEnableMotor[4-1] = 0; 24137 } else { 24138 arg1->m_angularEnableMotor[0] = 0; 24139 } 24140 } 24141 24142 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24143 } 24144 24145 24146 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24147 jstring jresult = 0 ; 24148 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24149 char *result = 0 ; 24150 24151 (void)jenv; 24152 (void)jcls; 24153 (void)jarg1_; 24154 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24155 result = (char *)(char *) ((arg1)->m_angularEnableMotor); 24156 if (result) jresult = jenv->NewStringUTF((const char *)result); 24157 return jresult; 24158 } 24159 24160 24161 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24162 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24163 char *arg2 ; 24164 24165 (void)jenv; 24166 (void)jcls; 24167 (void)jarg1_; 24168 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24169 arg2 = 0; 24170 if (jarg2) { 24171 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24172 if (!arg2) return ; 24173 } 24174 { 24175 if(arg2) { 24176 strncpy((char*)arg1->m_angularServoMotor, (const char *)arg2, 4-1); 24177 arg1->m_angularServoMotor[4-1] = 0; 24178 } else { 24179 arg1->m_angularServoMotor[0] = 0; 24180 } 24181 } 24182 24183 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24184 } 24185 24186 24187 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24188 jstring jresult = 0 ; 24189 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24190 char *result = 0 ; 24191 24192 (void)jenv; 24193 (void)jcls; 24194 (void)jarg1_; 24195 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24196 result = (char *)(char *) ((arg1)->m_angularServoMotor); 24197 if (result) jresult = jenv->NewStringUTF((const char *)result); 24198 return jresult; 24199 } 24200 24201 24202 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24203 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24204 char *arg2 ; 24205 24206 (void)jenv; 24207 (void)jcls; 24208 (void)jarg1_; 24209 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24210 arg2 = 0; 24211 if (jarg2) { 24212 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24213 if (!arg2) return ; 24214 } 24215 { 24216 if(arg2) { 24217 strncpy((char*)arg1->m_angularEnableSpring, (const char *)arg2, 4-1); 24218 arg1->m_angularEnableSpring[4-1] = 0; 24219 } else { 24220 arg1->m_angularEnableSpring[0] = 0; 24221 } 24222 } 24223 24224 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24225 } 24226 24227 24228 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24229 jstring jresult = 0 ; 24230 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24231 char *result = 0 ; 24232 24233 (void)jenv; 24234 (void)jcls; 24235 (void)jarg1_; 24236 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24237 result = (char *)(char *) ((arg1)->m_angularEnableSpring); 24238 if (result) jresult = jenv->NewStringUTF((const char *)result); 24239 return jresult; 24240 } 24241 24242 24243 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24244 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24245 char *arg2 ; 24246 24247 (void)jenv; 24248 (void)jcls; 24249 (void)jarg1_; 24250 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24251 arg2 = 0; 24252 if (jarg2) { 24253 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24254 if (!arg2) return ; 24255 } 24256 { 24257 if(arg2) { 24258 strncpy((char*)arg1->m_angularSpringStiffnessLimited, (const char *)arg2, 4-1); 24259 arg1->m_angularSpringStiffnessLimited[4-1] = 0; 24260 } else { 24261 arg1->m_angularSpringStiffnessLimited[0] = 0; 24262 } 24263 } 24264 24265 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24266 } 24267 24268 24269 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24270 jstring jresult = 0 ; 24271 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24272 char *result = 0 ; 24273 24274 (void)jenv; 24275 (void)jcls; 24276 (void)jarg1_; 24277 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24278 result = (char *)(char *) ((arg1)->m_angularSpringStiffnessLimited); 24279 if (result) jresult = jenv->NewStringUTF((const char *)result); 24280 return jresult; 24281 } 24282 24283 24284 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24285 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24286 char *arg2 ; 24287 24288 (void)jenv; 24289 (void)jcls; 24290 (void)jarg1_; 24291 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24292 arg2 = 0; 24293 if (jarg2) { 24294 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24295 if (!arg2) return ; 24296 } 24297 { 24298 if(arg2) { 24299 strncpy((char*)arg1->m_angularSpringDampingLimited, (const char *)arg2, 4-1); 24300 arg1->m_angularSpringDampingLimited[4-1] = 0; 24301 } else { 24302 arg1->m_angularSpringDampingLimited[0] = 0; 24303 } 24304 } 24305 24306 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24307 } 24308 24309 24310 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1angularSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24311 jstring jresult = 0 ; 24312 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24313 char *result = 0 ; 24314 24315 (void)jenv; 24316 (void)jcls; 24317 (void)jarg1_; 24318 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24319 result = (char *)(char *) ((arg1)->m_angularSpringDampingLimited); 24320 if (result) jresult = jenv->NewStringUTF((const char *)result); 24321 return jresult; 24322 } 24323 24324 24325 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rotateOrder_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 24326 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24327 int arg2 ; 24328 24329 (void)jenv; 24330 (void)jcls; 24331 (void)jarg1_; 24332 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24333 arg2 = (int)jarg2; 24334 if (arg1) (arg1)->m_rotateOrder = arg2; 24335 } 24336 24337 24338 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintData_1rotateOrder_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24339 jint jresult = 0 ; 24340 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24341 int result; 24342 24343 (void)jenv; 24344 (void)jcls; 24345 (void)jarg1_; 24346 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24347 result = (int) ((arg1)->m_rotateOrder); 24348 jresult = (jint)result; 24349 return jresult; 24350 } 24351 24352 24353 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2ConstraintData(JNIEnv *jenv, jclass jcls) { 24354 jlong jresult = 0 ; 24355 btGeneric6DofSpring2ConstraintData *result = 0 ; 24356 24357 (void)jenv; 24358 (void)jcls; 24359 result = (btGeneric6DofSpring2ConstraintData *)new btGeneric6DofSpring2ConstraintData(); 24360 *(btGeneric6DofSpring2ConstraintData **)&jresult = result; 24361 return jresult; 24362 } 24363 24364 24365 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2ConstraintData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 24366 btGeneric6DofSpring2ConstraintData *arg1 = (btGeneric6DofSpring2ConstraintData *) 0 ; 24367 24368 (void)jenv; 24369 (void)jcls; 24370 arg1 = *(btGeneric6DofSpring2ConstraintData **)&jarg1; 24371 delete arg1; 24372 } 24373 24374 24375 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24376 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24377 btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ; 24378 24379 (void)jenv; 24380 (void)jcls; 24381 (void)jarg1_; 24382 (void)jarg2_; 24383 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24384 arg2 = *(btTypedConstraintDoubleData **)&jarg2; 24385 if (arg1) (arg1)->m_typeConstraintData = *arg2; 24386 } 24387 24388 24389 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24390 jlong jresult = 0 ; 24391 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24392 btTypedConstraintDoubleData *result = 0 ; 24393 24394 (void)jenv; 24395 (void)jcls; 24396 (void)jarg1_; 24397 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24398 result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData); 24399 *(btTypedConstraintDoubleData **)&jresult = result; 24400 return jresult; 24401 } 24402 24403 24404 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24405 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24406 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 24407 24408 (void)jenv; 24409 (void)jcls; 24410 (void)jarg1_; 24411 (void)jarg2_; 24412 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24413 arg2 = *(btTransformDoubleData **)&jarg2; 24414 if (arg1) (arg1)->m_rbAFrame = *arg2; 24415 } 24416 24417 24418 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24419 jlong jresult = 0 ; 24420 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24421 btTransformDoubleData *result = 0 ; 24422 24423 (void)jenv; 24424 (void)jcls; 24425 (void)jarg1_; 24426 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24427 result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame); 24428 *(btTransformDoubleData **)&jresult = result; 24429 return jresult; 24430 } 24431 24432 24433 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24434 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24435 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 24436 24437 (void)jenv; 24438 (void)jcls; 24439 (void)jarg1_; 24440 (void)jarg2_; 24441 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24442 arg2 = *(btTransformDoubleData **)&jarg2; 24443 if (arg1) (arg1)->m_rbBFrame = *arg2; 24444 } 24445 24446 24447 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24448 jlong jresult = 0 ; 24449 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24450 btTransformDoubleData *result = 0 ; 24451 24452 (void)jenv; 24453 (void)jcls; 24454 (void)jarg1_; 24455 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24456 result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame); 24457 *(btTransformDoubleData **)&jresult = result; 24458 return jresult; 24459 } 24460 24461 24462 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24463 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24464 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24465 24466 (void)jenv; 24467 (void)jcls; 24468 (void)jarg1_; 24469 (void)jarg2_; 24470 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24471 arg2 = *(btVector3DoubleData **)&jarg2; 24472 if (arg1) (arg1)->m_linearUpperLimit = *arg2; 24473 } 24474 24475 24476 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24477 jlong jresult = 0 ; 24478 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24479 btVector3DoubleData *result = 0 ; 24480 24481 (void)jenv; 24482 (void)jcls; 24483 (void)jarg1_; 24484 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24485 result = (btVector3DoubleData *)& ((arg1)->m_linearUpperLimit); 24486 *(btVector3DoubleData **)&jresult = result; 24487 return jresult; 24488 } 24489 24490 24491 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24492 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24493 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24494 24495 (void)jenv; 24496 (void)jcls; 24497 (void)jarg1_; 24498 (void)jarg2_; 24499 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24500 arg2 = *(btVector3DoubleData **)&jarg2; 24501 if (arg1) (arg1)->m_linearLowerLimit = *arg2; 24502 } 24503 24504 24505 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24506 jlong jresult = 0 ; 24507 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24508 btVector3DoubleData *result = 0 ; 24509 24510 (void)jenv; 24511 (void)jcls; 24512 (void)jarg1_; 24513 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24514 result = (btVector3DoubleData *)& ((arg1)->m_linearLowerLimit); 24515 *(btVector3DoubleData **)&jresult = result; 24516 return jresult; 24517 } 24518 24519 24520 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24521 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24522 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24523 24524 (void)jenv; 24525 (void)jcls; 24526 (void)jarg1_; 24527 (void)jarg2_; 24528 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24529 arg2 = *(btVector3DoubleData **)&jarg2; 24530 if (arg1) (arg1)->m_linearBounce = *arg2; 24531 } 24532 24533 24534 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24535 jlong jresult = 0 ; 24536 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24537 btVector3DoubleData *result = 0 ; 24538 24539 (void)jenv; 24540 (void)jcls; 24541 (void)jarg1_; 24542 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24543 result = (btVector3DoubleData *)& ((arg1)->m_linearBounce); 24544 *(btVector3DoubleData **)&jresult = result; 24545 return jresult; 24546 } 24547 24548 24549 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24550 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24551 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24552 24553 (void)jenv; 24554 (void)jcls; 24555 (void)jarg1_; 24556 (void)jarg2_; 24557 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24558 arg2 = *(btVector3DoubleData **)&jarg2; 24559 if (arg1) (arg1)->m_linearStopERP = *arg2; 24560 } 24561 24562 24563 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24564 jlong jresult = 0 ; 24565 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24566 btVector3DoubleData *result = 0 ; 24567 24568 (void)jenv; 24569 (void)jcls; 24570 (void)jarg1_; 24571 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24572 result = (btVector3DoubleData *)& ((arg1)->m_linearStopERP); 24573 *(btVector3DoubleData **)&jresult = result; 24574 return jresult; 24575 } 24576 24577 24578 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24579 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24580 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24581 24582 (void)jenv; 24583 (void)jcls; 24584 (void)jarg1_; 24585 (void)jarg2_; 24586 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24587 arg2 = *(btVector3DoubleData **)&jarg2; 24588 if (arg1) (arg1)->m_linearStopCFM = *arg2; 24589 } 24590 24591 24592 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24593 jlong jresult = 0 ; 24594 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24595 btVector3DoubleData *result = 0 ; 24596 24597 (void)jenv; 24598 (void)jcls; 24599 (void)jarg1_; 24600 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24601 result = (btVector3DoubleData *)& ((arg1)->m_linearStopCFM); 24602 *(btVector3DoubleData **)&jresult = result; 24603 return jresult; 24604 } 24605 24606 24607 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24608 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24609 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24610 24611 (void)jenv; 24612 (void)jcls; 24613 (void)jarg1_; 24614 (void)jarg2_; 24615 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24616 arg2 = *(btVector3DoubleData **)&jarg2; 24617 if (arg1) (arg1)->m_linearMotorERP = *arg2; 24618 } 24619 24620 24621 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24622 jlong jresult = 0 ; 24623 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24624 btVector3DoubleData *result = 0 ; 24625 24626 (void)jenv; 24627 (void)jcls; 24628 (void)jarg1_; 24629 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24630 result = (btVector3DoubleData *)& ((arg1)->m_linearMotorERP); 24631 *(btVector3DoubleData **)&jresult = result; 24632 return jresult; 24633 } 24634 24635 24636 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24637 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24638 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24639 24640 (void)jenv; 24641 (void)jcls; 24642 (void)jarg1_; 24643 (void)jarg2_; 24644 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24645 arg2 = *(btVector3DoubleData **)&jarg2; 24646 if (arg1) (arg1)->m_linearMotorCFM = *arg2; 24647 } 24648 24649 24650 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24651 jlong jresult = 0 ; 24652 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24653 btVector3DoubleData *result = 0 ; 24654 24655 (void)jenv; 24656 (void)jcls; 24657 (void)jarg1_; 24658 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24659 result = (btVector3DoubleData *)& ((arg1)->m_linearMotorCFM); 24660 *(btVector3DoubleData **)&jresult = result; 24661 return jresult; 24662 } 24663 24664 24665 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24666 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24667 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24668 24669 (void)jenv; 24670 (void)jcls; 24671 (void)jarg1_; 24672 (void)jarg2_; 24673 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24674 arg2 = *(btVector3DoubleData **)&jarg2; 24675 if (arg1) (arg1)->m_linearTargetVelocity = *arg2; 24676 } 24677 24678 24679 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24680 jlong jresult = 0 ; 24681 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24682 btVector3DoubleData *result = 0 ; 24683 24684 (void)jenv; 24685 (void)jcls; 24686 (void)jarg1_; 24687 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24688 result = (btVector3DoubleData *)& ((arg1)->m_linearTargetVelocity); 24689 *(btVector3DoubleData **)&jresult = result; 24690 return jresult; 24691 } 24692 24693 24694 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24695 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24696 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24697 24698 (void)jenv; 24699 (void)jcls; 24700 (void)jarg1_; 24701 (void)jarg2_; 24702 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24703 arg2 = *(btVector3DoubleData **)&jarg2; 24704 if (arg1) (arg1)->m_linearMaxMotorForce = *arg2; 24705 } 24706 24707 24708 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24709 jlong jresult = 0 ; 24710 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24711 btVector3DoubleData *result = 0 ; 24712 24713 (void)jenv; 24714 (void)jcls; 24715 (void)jarg1_; 24716 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24717 result = (btVector3DoubleData *)& ((arg1)->m_linearMaxMotorForce); 24718 *(btVector3DoubleData **)&jresult = result; 24719 return jresult; 24720 } 24721 24722 24723 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24724 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24725 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24726 24727 (void)jenv; 24728 (void)jcls; 24729 (void)jarg1_; 24730 (void)jarg2_; 24731 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24732 arg2 = *(btVector3DoubleData **)&jarg2; 24733 if (arg1) (arg1)->m_linearServoTarget = *arg2; 24734 } 24735 24736 24737 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24738 jlong jresult = 0 ; 24739 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24740 btVector3DoubleData *result = 0 ; 24741 24742 (void)jenv; 24743 (void)jcls; 24744 (void)jarg1_; 24745 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24746 result = (btVector3DoubleData *)& ((arg1)->m_linearServoTarget); 24747 *(btVector3DoubleData **)&jresult = result; 24748 return jresult; 24749 } 24750 24751 24752 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24753 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24754 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24755 24756 (void)jenv; 24757 (void)jcls; 24758 (void)jarg1_; 24759 (void)jarg2_; 24760 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24761 arg2 = *(btVector3DoubleData **)&jarg2; 24762 if (arg1) (arg1)->m_linearSpringStiffness = *arg2; 24763 } 24764 24765 24766 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24767 jlong jresult = 0 ; 24768 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24769 btVector3DoubleData *result = 0 ; 24770 24771 (void)jenv; 24772 (void)jcls; 24773 (void)jarg1_; 24774 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24775 result = (btVector3DoubleData *)& ((arg1)->m_linearSpringStiffness); 24776 *(btVector3DoubleData **)&jresult = result; 24777 return jresult; 24778 } 24779 24780 24781 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24782 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24783 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24784 24785 (void)jenv; 24786 (void)jcls; 24787 (void)jarg1_; 24788 (void)jarg2_; 24789 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24790 arg2 = *(btVector3DoubleData **)&jarg2; 24791 if (arg1) (arg1)->m_linearSpringDamping = *arg2; 24792 } 24793 24794 24795 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24796 jlong jresult = 0 ; 24797 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24798 btVector3DoubleData *result = 0 ; 24799 24800 (void)jenv; 24801 (void)jcls; 24802 (void)jarg1_; 24803 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24804 result = (btVector3DoubleData *)& ((arg1)->m_linearSpringDamping); 24805 *(btVector3DoubleData **)&jresult = result; 24806 return jresult; 24807 } 24808 24809 24810 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 24811 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24812 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 24813 24814 (void)jenv; 24815 (void)jcls; 24816 (void)jarg1_; 24817 (void)jarg2_; 24818 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24819 arg2 = *(btVector3DoubleData **)&jarg2; 24820 if (arg1) (arg1)->m_linearEquilibriumPoint = *arg2; 24821 } 24822 24823 24824 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24825 jlong jresult = 0 ; 24826 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24827 btVector3DoubleData *result = 0 ; 24828 24829 (void)jenv; 24830 (void)jcls; 24831 (void)jarg1_; 24832 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24833 result = (btVector3DoubleData *)& ((arg1)->m_linearEquilibriumPoint); 24834 *(btVector3DoubleData **)&jresult = result; 24835 return jresult; 24836 } 24837 24838 24839 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24840 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24841 char *arg2 ; 24842 24843 (void)jenv; 24844 (void)jcls; 24845 (void)jarg1_; 24846 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24847 arg2 = 0; 24848 if (jarg2) { 24849 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24850 if (!arg2) return ; 24851 } 24852 { 24853 if(arg2) { 24854 strncpy((char*)arg1->m_linearEnableMotor, (const char *)arg2, 4-1); 24855 arg1->m_linearEnableMotor[4-1] = 0; 24856 } else { 24857 arg1->m_linearEnableMotor[0] = 0; 24858 } 24859 } 24860 24861 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24862 } 24863 24864 24865 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24866 jstring jresult = 0 ; 24867 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24868 char *result = 0 ; 24869 24870 (void)jenv; 24871 (void)jcls; 24872 (void)jarg1_; 24873 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24874 result = (char *)(char *) ((arg1)->m_linearEnableMotor); 24875 if (result) jresult = jenv->NewStringUTF((const char *)result); 24876 return jresult; 24877 } 24878 24879 24880 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24881 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24882 char *arg2 ; 24883 24884 (void)jenv; 24885 (void)jcls; 24886 (void)jarg1_; 24887 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24888 arg2 = 0; 24889 if (jarg2) { 24890 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24891 if (!arg2) return ; 24892 } 24893 { 24894 if(arg2) { 24895 strncpy((char*)arg1->m_linearServoMotor, (const char *)arg2, 4-1); 24896 arg1->m_linearServoMotor[4-1] = 0; 24897 } else { 24898 arg1->m_linearServoMotor[0] = 0; 24899 } 24900 } 24901 24902 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24903 } 24904 24905 24906 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24907 jstring jresult = 0 ; 24908 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24909 char *result = 0 ; 24910 24911 (void)jenv; 24912 (void)jcls; 24913 (void)jarg1_; 24914 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24915 result = (char *)(char *) ((arg1)->m_linearServoMotor); 24916 if (result) jresult = jenv->NewStringUTF((const char *)result); 24917 return jresult; 24918 } 24919 24920 24921 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24922 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24923 char *arg2 ; 24924 24925 (void)jenv; 24926 (void)jcls; 24927 (void)jarg1_; 24928 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24929 arg2 = 0; 24930 if (jarg2) { 24931 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24932 if (!arg2) return ; 24933 } 24934 { 24935 if(arg2) { 24936 strncpy((char*)arg1->m_linearEnableSpring, (const char *)arg2, 4-1); 24937 arg1->m_linearEnableSpring[4-1] = 0; 24938 } else { 24939 arg1->m_linearEnableSpring[0] = 0; 24940 } 24941 } 24942 24943 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24944 } 24945 24946 24947 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24948 jstring jresult = 0 ; 24949 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24950 char *result = 0 ; 24951 24952 (void)jenv; 24953 (void)jcls; 24954 (void)jarg1_; 24955 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24956 result = (char *)(char *) ((arg1)->m_linearEnableSpring); 24957 if (result) jresult = jenv->NewStringUTF((const char *)result); 24958 return jresult; 24959 } 24960 24961 24962 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 24963 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24964 char *arg2 ; 24965 24966 (void)jenv; 24967 (void)jcls; 24968 (void)jarg1_; 24969 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24970 arg2 = 0; 24971 if (jarg2) { 24972 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 24973 if (!arg2) return ; 24974 } 24975 { 24976 if(arg2) { 24977 strncpy((char*)arg1->m_linearSpringStiffnessLimited, (const char *)arg2, 4-1); 24978 arg1->m_linearSpringStiffnessLimited[4-1] = 0; 24979 } else { 24980 arg1->m_linearSpringStiffnessLimited[0] = 0; 24981 } 24982 } 24983 24984 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 24985 } 24986 24987 24988 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 24989 jstring jresult = 0 ; 24990 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 24991 char *result = 0 ; 24992 24993 (void)jenv; 24994 (void)jcls; 24995 (void)jarg1_; 24996 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 24997 result = (char *)(char *) ((arg1)->m_linearSpringStiffnessLimited); 24998 if (result) jresult = jenv->NewStringUTF((const char *)result); 24999 return jresult; 25000 } 25001 25002 25003 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25004 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25005 char *arg2 ; 25006 25007 (void)jenv; 25008 (void)jcls; 25009 (void)jarg1_; 25010 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25011 arg2 = 0; 25012 if (jarg2) { 25013 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25014 if (!arg2) return ; 25015 } 25016 { 25017 if(arg2) { 25018 strncpy((char*)arg1->m_linearSpringDampingLimited, (const char *)arg2, 4-1); 25019 arg1->m_linearSpringDampingLimited[4-1] = 0; 25020 } else { 25021 arg1->m_linearSpringDampingLimited[0] = 0; 25022 } 25023 } 25024 25025 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25026 } 25027 25028 25029 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1linearSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25030 jstring jresult = 0 ; 25031 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25032 char *result = 0 ; 25033 25034 (void)jenv; 25035 (void)jcls; 25036 (void)jarg1_; 25037 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25038 result = (char *)(char *) ((arg1)->m_linearSpringDampingLimited); 25039 if (result) jresult = jenv->NewStringUTF((const char *)result); 25040 return jresult; 25041 } 25042 25043 25044 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25045 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25046 char *arg2 ; 25047 25048 (void)jenv; 25049 (void)jcls; 25050 (void)jarg1_; 25051 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25052 arg2 = 0; 25053 if (jarg2) { 25054 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25055 if (!arg2) return ; 25056 } 25057 { 25058 if(arg2) { 25059 strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1); 25060 arg1->m_padding1[4-1] = 0; 25061 } else { 25062 arg1->m_padding1[0] = 0; 25063 } 25064 } 25065 25066 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25067 } 25068 25069 25070 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25071 jstring jresult = 0 ; 25072 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25073 char *result = 0 ; 25074 25075 (void)jenv; 25076 (void)jcls; 25077 (void)jarg1_; 25078 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25079 result = (char *)(char *) ((arg1)->m_padding1); 25080 if (result) jresult = jenv->NewStringUTF((const char *)result); 25081 return jresult; 25082 } 25083 25084 25085 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularUpperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25086 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25087 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25088 25089 (void)jenv; 25090 (void)jcls; 25091 (void)jarg1_; 25092 (void)jarg2_; 25093 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25094 arg2 = *(btVector3DoubleData **)&jarg2; 25095 if (arg1) (arg1)->m_angularUpperLimit = *arg2; 25096 } 25097 25098 25099 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularUpperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25100 jlong jresult = 0 ; 25101 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25102 btVector3DoubleData *result = 0 ; 25103 25104 (void)jenv; 25105 (void)jcls; 25106 (void)jarg1_; 25107 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25108 result = (btVector3DoubleData *)& ((arg1)->m_angularUpperLimit); 25109 *(btVector3DoubleData **)&jresult = result; 25110 return jresult; 25111 } 25112 25113 25114 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularLowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25115 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25116 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25117 25118 (void)jenv; 25119 (void)jcls; 25120 (void)jarg1_; 25121 (void)jarg2_; 25122 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25123 arg2 = *(btVector3DoubleData **)&jarg2; 25124 if (arg1) (arg1)->m_angularLowerLimit = *arg2; 25125 } 25126 25127 25128 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularLowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25129 jlong jresult = 0 ; 25130 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25131 btVector3DoubleData *result = 0 ; 25132 25133 (void)jenv; 25134 (void)jcls; 25135 (void)jarg1_; 25136 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25137 result = (btVector3DoubleData *)& ((arg1)->m_angularLowerLimit); 25138 *(btVector3DoubleData **)&jresult = result; 25139 return jresult; 25140 } 25141 25142 25143 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularBounce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25144 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25145 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25146 25147 (void)jenv; 25148 (void)jcls; 25149 (void)jarg1_; 25150 (void)jarg2_; 25151 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25152 arg2 = *(btVector3DoubleData **)&jarg2; 25153 if (arg1) (arg1)->m_angularBounce = *arg2; 25154 } 25155 25156 25157 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularBounce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25158 jlong jresult = 0 ; 25159 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25160 btVector3DoubleData *result = 0 ; 25161 25162 (void)jenv; 25163 (void)jcls; 25164 (void)jarg1_; 25165 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25166 result = (btVector3DoubleData *)& ((arg1)->m_angularBounce); 25167 *(btVector3DoubleData **)&jresult = result; 25168 return jresult; 25169 } 25170 25171 25172 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25173 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25174 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25175 25176 (void)jenv; 25177 (void)jcls; 25178 (void)jarg1_; 25179 (void)jarg2_; 25180 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25181 arg2 = *(btVector3DoubleData **)&jarg2; 25182 if (arg1) (arg1)->m_angularStopERP = *arg2; 25183 } 25184 25185 25186 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25187 jlong jresult = 0 ; 25188 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25189 btVector3DoubleData *result = 0 ; 25190 25191 (void)jenv; 25192 (void)jcls; 25193 (void)jarg1_; 25194 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25195 result = (btVector3DoubleData *)& ((arg1)->m_angularStopERP); 25196 *(btVector3DoubleData **)&jresult = result; 25197 return jresult; 25198 } 25199 25200 25201 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25202 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25203 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25204 25205 (void)jenv; 25206 (void)jcls; 25207 (void)jarg1_; 25208 (void)jarg2_; 25209 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25210 arg2 = *(btVector3DoubleData **)&jarg2; 25211 if (arg1) (arg1)->m_angularStopCFM = *arg2; 25212 } 25213 25214 25215 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularStopCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25216 jlong jresult = 0 ; 25217 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25218 btVector3DoubleData *result = 0 ; 25219 25220 (void)jenv; 25221 (void)jcls; 25222 (void)jarg1_; 25223 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25224 result = (btVector3DoubleData *)& ((arg1)->m_angularStopCFM); 25225 *(btVector3DoubleData **)&jresult = result; 25226 return jresult; 25227 } 25228 25229 25230 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorERP_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25231 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25232 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25233 25234 (void)jenv; 25235 (void)jcls; 25236 (void)jarg1_; 25237 (void)jarg2_; 25238 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25239 arg2 = *(btVector3DoubleData **)&jarg2; 25240 if (arg1) (arg1)->m_angularMotorERP = *arg2; 25241 } 25242 25243 25244 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorERP_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25245 jlong jresult = 0 ; 25246 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25247 btVector3DoubleData *result = 0 ; 25248 25249 (void)jenv; 25250 (void)jcls; 25251 (void)jarg1_; 25252 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25253 result = (btVector3DoubleData *)& ((arg1)->m_angularMotorERP); 25254 *(btVector3DoubleData **)&jresult = result; 25255 return jresult; 25256 } 25257 25258 25259 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorCFM_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25260 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25261 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25262 25263 (void)jenv; 25264 (void)jcls; 25265 (void)jarg1_; 25266 (void)jarg2_; 25267 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25268 arg2 = *(btVector3DoubleData **)&jarg2; 25269 if (arg1) (arg1)->m_angularMotorCFM = *arg2; 25270 } 25271 25272 25273 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMotorCFM_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25274 jlong jresult = 0 ; 25275 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25276 btVector3DoubleData *result = 0 ; 25277 25278 (void)jenv; 25279 (void)jcls; 25280 (void)jarg1_; 25281 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25282 result = (btVector3DoubleData *)& ((arg1)->m_angularMotorCFM); 25283 *(btVector3DoubleData **)&jresult = result; 25284 return jresult; 25285 } 25286 25287 25288 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25289 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25290 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25291 25292 (void)jenv; 25293 (void)jcls; 25294 (void)jarg1_; 25295 (void)jarg2_; 25296 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25297 arg2 = *(btVector3DoubleData **)&jarg2; 25298 if (arg1) (arg1)->m_angularTargetVelocity = *arg2; 25299 } 25300 25301 25302 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25303 jlong jresult = 0 ; 25304 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25305 btVector3DoubleData *result = 0 ; 25306 25307 (void)jenv; 25308 (void)jcls; 25309 (void)jarg1_; 25310 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25311 result = (btVector3DoubleData *)& ((arg1)->m_angularTargetVelocity); 25312 *(btVector3DoubleData **)&jresult = result; 25313 return jresult; 25314 } 25315 25316 25317 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMaxMotorForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25318 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25319 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25320 25321 (void)jenv; 25322 (void)jcls; 25323 (void)jarg1_; 25324 (void)jarg2_; 25325 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25326 arg2 = *(btVector3DoubleData **)&jarg2; 25327 if (arg1) (arg1)->m_angularMaxMotorForce = *arg2; 25328 } 25329 25330 25331 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularMaxMotorForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25332 jlong jresult = 0 ; 25333 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25334 btVector3DoubleData *result = 0 ; 25335 25336 (void)jenv; 25337 (void)jcls; 25338 (void)jarg1_; 25339 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25340 result = (btVector3DoubleData *)& ((arg1)->m_angularMaxMotorForce); 25341 *(btVector3DoubleData **)&jresult = result; 25342 return jresult; 25343 } 25344 25345 25346 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoTarget_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25347 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25348 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25349 25350 (void)jenv; 25351 (void)jcls; 25352 (void)jarg1_; 25353 (void)jarg2_; 25354 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25355 arg2 = *(btVector3DoubleData **)&jarg2; 25356 if (arg1) (arg1)->m_angularServoTarget = *arg2; 25357 } 25358 25359 25360 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoTarget_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25361 jlong jresult = 0 ; 25362 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25363 btVector3DoubleData *result = 0 ; 25364 25365 (void)jenv; 25366 (void)jcls; 25367 (void)jarg1_; 25368 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25369 result = (btVector3DoubleData *)& ((arg1)->m_angularServoTarget); 25370 *(btVector3DoubleData **)&jresult = result; 25371 return jresult; 25372 } 25373 25374 25375 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25376 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25377 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25378 25379 (void)jenv; 25380 (void)jcls; 25381 (void)jarg1_; 25382 (void)jarg2_; 25383 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25384 arg2 = *(btVector3DoubleData **)&jarg2; 25385 if (arg1) (arg1)->m_angularSpringStiffness = *arg2; 25386 } 25387 25388 25389 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25390 jlong jresult = 0 ; 25391 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25392 btVector3DoubleData *result = 0 ; 25393 25394 (void)jenv; 25395 (void)jcls; 25396 (void)jarg1_; 25397 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25398 result = (btVector3DoubleData *)& ((arg1)->m_angularSpringStiffness); 25399 *(btVector3DoubleData **)&jresult = result; 25400 return jresult; 25401 } 25402 25403 25404 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25405 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25406 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25407 25408 (void)jenv; 25409 (void)jcls; 25410 (void)jarg1_; 25411 (void)jarg2_; 25412 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25413 arg2 = *(btVector3DoubleData **)&jarg2; 25414 if (arg1) (arg1)->m_angularSpringDamping = *arg2; 25415 } 25416 25417 25418 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25419 jlong jresult = 0 ; 25420 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25421 btVector3DoubleData *result = 0 ; 25422 25423 (void)jenv; 25424 (void)jcls; 25425 (void)jarg1_; 25426 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25427 result = (btVector3DoubleData *)& ((arg1)->m_angularSpringDamping); 25428 *(btVector3DoubleData **)&jresult = result; 25429 return jresult; 25430 } 25431 25432 25433 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEquilibriumPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25434 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25435 btVector3DoubleData *arg2 = (btVector3DoubleData *) 0 ; 25436 25437 (void)jenv; 25438 (void)jcls; 25439 (void)jarg1_; 25440 (void)jarg2_; 25441 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25442 arg2 = *(btVector3DoubleData **)&jarg2; 25443 if (arg1) (arg1)->m_angularEquilibriumPoint = *arg2; 25444 } 25445 25446 25447 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEquilibriumPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25448 jlong jresult = 0 ; 25449 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25450 btVector3DoubleData *result = 0 ; 25451 25452 (void)jenv; 25453 (void)jcls; 25454 (void)jarg1_; 25455 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25456 result = (btVector3DoubleData *)& ((arg1)->m_angularEquilibriumPoint); 25457 *(btVector3DoubleData **)&jresult = result; 25458 return jresult; 25459 } 25460 25461 25462 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25463 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25464 char *arg2 ; 25465 25466 (void)jenv; 25467 (void)jcls; 25468 (void)jarg1_; 25469 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25470 arg2 = 0; 25471 if (jarg2) { 25472 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25473 if (!arg2) return ; 25474 } 25475 { 25476 if(arg2) { 25477 strncpy((char*)arg1->m_angularEnableMotor, (const char *)arg2, 4-1); 25478 arg1->m_angularEnableMotor[4-1] = 0; 25479 } else { 25480 arg1->m_angularEnableMotor[0] = 0; 25481 } 25482 } 25483 25484 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25485 } 25486 25487 25488 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25489 jstring jresult = 0 ; 25490 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25491 char *result = 0 ; 25492 25493 (void)jenv; 25494 (void)jcls; 25495 (void)jarg1_; 25496 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25497 result = (char *)(char *) ((arg1)->m_angularEnableMotor); 25498 if (result) jresult = jenv->NewStringUTF((const char *)result); 25499 return jresult; 25500 } 25501 25502 25503 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25504 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25505 char *arg2 ; 25506 25507 (void)jenv; 25508 (void)jcls; 25509 (void)jarg1_; 25510 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25511 arg2 = 0; 25512 if (jarg2) { 25513 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25514 if (!arg2) return ; 25515 } 25516 { 25517 if(arg2) { 25518 strncpy((char*)arg1->m_angularServoMotor, (const char *)arg2, 4-1); 25519 arg1->m_angularServoMotor[4-1] = 0; 25520 } else { 25521 arg1->m_angularServoMotor[0] = 0; 25522 } 25523 } 25524 25525 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25526 } 25527 25528 25529 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularServoMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25530 jstring jresult = 0 ; 25531 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25532 char *result = 0 ; 25533 25534 (void)jenv; 25535 (void)jcls; 25536 (void)jarg1_; 25537 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25538 result = (char *)(char *) ((arg1)->m_angularServoMotor); 25539 if (result) jresult = jenv->NewStringUTF((const char *)result); 25540 return jresult; 25541 } 25542 25543 25544 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableSpring_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25545 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25546 char *arg2 ; 25547 25548 (void)jenv; 25549 (void)jcls; 25550 (void)jarg1_; 25551 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25552 arg2 = 0; 25553 if (jarg2) { 25554 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25555 if (!arg2) return ; 25556 } 25557 { 25558 if(arg2) { 25559 strncpy((char*)arg1->m_angularEnableSpring, (const char *)arg2, 4-1); 25560 arg1->m_angularEnableSpring[4-1] = 0; 25561 } else { 25562 arg1->m_angularEnableSpring[0] = 0; 25563 } 25564 } 25565 25566 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25567 } 25568 25569 25570 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularEnableSpring_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25571 jstring jresult = 0 ; 25572 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25573 char *result = 0 ; 25574 25575 (void)jenv; 25576 (void)jcls; 25577 (void)jarg1_; 25578 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25579 result = (char *)(char *) ((arg1)->m_angularEnableSpring); 25580 if (result) jresult = jenv->NewStringUTF((const char *)result); 25581 return jresult; 25582 } 25583 25584 25585 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffnessLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25586 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25587 char *arg2 ; 25588 25589 (void)jenv; 25590 (void)jcls; 25591 (void)jarg1_; 25592 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25593 arg2 = 0; 25594 if (jarg2) { 25595 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25596 if (!arg2) return ; 25597 } 25598 { 25599 if(arg2) { 25600 strncpy((char*)arg1->m_angularSpringStiffnessLimited, (const char *)arg2, 4-1); 25601 arg1->m_angularSpringStiffnessLimited[4-1] = 0; 25602 } else { 25603 arg1->m_angularSpringStiffnessLimited[0] = 0; 25604 } 25605 } 25606 25607 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25608 } 25609 25610 25611 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringStiffnessLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25612 jstring jresult = 0 ; 25613 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25614 char *result = 0 ; 25615 25616 (void)jenv; 25617 (void)jcls; 25618 (void)jarg1_; 25619 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25620 result = (char *)(char *) ((arg1)->m_angularSpringStiffnessLimited); 25621 if (result) jresult = jenv->NewStringUTF((const char *)result); 25622 return jresult; 25623 } 25624 25625 25626 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDampingLimited_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 25627 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25628 char *arg2 ; 25629 25630 (void)jenv; 25631 (void)jcls; 25632 (void)jarg1_; 25633 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25634 arg2 = 0; 25635 if (jarg2) { 25636 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 25637 if (!arg2) return ; 25638 } 25639 { 25640 if(arg2) { 25641 strncpy((char*)arg1->m_angularSpringDampingLimited, (const char *)arg2, 4-1); 25642 arg1->m_angularSpringDampingLimited[4-1] = 0; 25643 } else { 25644 arg1->m_angularSpringDampingLimited[0] = 0; 25645 } 25646 } 25647 25648 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 25649 } 25650 25651 25652 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1angularSpringDampingLimited_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25653 jstring jresult = 0 ; 25654 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25655 char *result = 0 ; 25656 25657 (void)jenv; 25658 (void)jcls; 25659 (void)jarg1_; 25660 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25661 result = (char *)(char *) ((arg1)->m_angularSpringDampingLimited); 25662 if (result) jresult = jenv->NewStringUTF((const char *)result); 25663 return jresult; 25664 } 25665 25666 25667 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rotateOrder_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 25668 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25669 int arg2 ; 25670 25671 (void)jenv; 25672 (void)jcls; 25673 (void)jarg1_; 25674 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25675 arg2 = (int)jarg2; 25676 if (arg1) (arg1)->m_rotateOrder = arg2; 25677 } 25678 25679 25680 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2ConstraintDoubleData2_1rotateOrder_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 25681 jint jresult = 0 ; 25682 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25683 int result; 25684 25685 (void)jenv; 25686 (void)jcls; 25687 (void)jarg1_; 25688 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25689 result = (int) ((arg1)->m_rotateOrder); 25690 jresult = (jint)result; 25691 return jresult; 25692 } 25693 25694 25695 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btGeneric6DofSpring2ConstraintDoubleData2(JNIEnv *jenv, jclass jcls) { 25696 jlong jresult = 0 ; 25697 btGeneric6DofSpring2ConstraintDoubleData2 *result = 0 ; 25698 25699 (void)jenv; 25700 (void)jcls; 25701 result = (btGeneric6DofSpring2ConstraintDoubleData2 *)new btGeneric6DofSpring2ConstraintDoubleData2(); 25702 *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jresult = result; 25703 return jresult; 25704 } 25705 25706 25707 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btGeneric6DofSpring2ConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 25708 btGeneric6DofSpring2ConstraintDoubleData2 *arg1 = (btGeneric6DofSpring2ConstraintDoubleData2 *) 0 ; 25709 25710 (void)jenv; 25711 (void)jcls; 25712 arg1 = *(btGeneric6DofSpring2ConstraintDoubleData2 **)&jarg1; 25713 delete arg1; 25714 } 25715 25716 25717 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jboolean jarg7) { 25718 jlong jresult = 0 ; 25719 btRigidBody *arg1 = 0 ; 25720 btRigidBody *arg2 = 0 ; 25721 btVector3 *arg3 = 0 ; 25722 btVector3 *arg4 = 0 ; 25723 btVector3 *arg5 = 0 ; 25724 btVector3 *arg6 = 0 ; 25725 bool arg7 ; 25726 btHingeConstraint *result = 0 ; 25727 25728 (void)jenv; 25729 (void)jcls; 25730 (void)jarg1_; 25731 (void)jarg2_; 25732 arg1 = *(btRigidBody **)&jarg1; 25733 if (!arg1) { 25734 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25735 return 0; 25736 } 25737 arg2 = *(btRigidBody **)&jarg2; 25738 if (!arg2) { 25739 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25740 return 0; 25741 } 25742 btVector3 local_arg3; 25743 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 25744 arg3 = &local_arg3; 25745 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 25746 btVector3 local_arg4; 25747 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 25748 arg4 = &local_arg4; 25749 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 25750 btVector3 local_arg5; 25751 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 25752 arg5 = &local_arg5; 25753 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 25754 btVector3 local_arg6; 25755 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 25756 arg6 = &local_arg6; 25757 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 25758 arg7 = jarg7 ? true : false; 25759 result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7); 25760 *(btHingeConstraint **)&jresult = result; 25761 return jresult; 25762 } 25763 25764 25765 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) { 25766 jlong jresult = 0 ; 25767 btRigidBody *arg1 = 0 ; 25768 btRigidBody *arg2 = 0 ; 25769 btVector3 *arg3 = 0 ; 25770 btVector3 *arg4 = 0 ; 25771 btVector3 *arg5 = 0 ; 25772 btVector3 *arg6 = 0 ; 25773 btHingeConstraint *result = 0 ; 25774 25775 (void)jenv; 25776 (void)jcls; 25777 (void)jarg1_; 25778 (void)jarg2_; 25779 arg1 = *(btRigidBody **)&jarg1; 25780 if (!arg1) { 25781 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25782 return 0; 25783 } 25784 arg2 = *(btRigidBody **)&jarg2; 25785 if (!arg2) { 25786 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25787 return 0; 25788 } 25789 btVector3 local_arg3; 25790 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 25791 arg3 = &local_arg3; 25792 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 25793 btVector3 local_arg4; 25794 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 25795 arg4 = &local_arg4; 25796 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 25797 btVector3 local_arg5; 25798 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 25799 arg5 = &local_arg5; 25800 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 25801 btVector3 local_arg6; 25802 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 25803 arg6 = &local_arg6; 25804 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 25805 result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6); 25806 *(btHingeConstraint **)&jresult = result; 25807 return jresult; 25808 } 25809 25810 25811 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jboolean jarg4) { 25812 jlong jresult = 0 ; 25813 btRigidBody *arg1 = 0 ; 25814 btVector3 *arg2 = 0 ; 25815 btVector3 *arg3 = 0 ; 25816 bool arg4 ; 25817 btHingeConstraint *result = 0 ; 25818 25819 (void)jenv; 25820 (void)jcls; 25821 (void)jarg1_; 25822 arg1 = *(btRigidBody **)&jarg1; 25823 if (!arg1) { 25824 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25825 return 0; 25826 } 25827 btVector3 local_arg2; 25828 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 25829 arg2 = &local_arg2; 25830 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 25831 btVector3 local_arg3; 25832 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 25833 arg3 = &local_arg3; 25834 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 25835 arg4 = jarg4 ? true : false; 25836 result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4); 25837 *(btHingeConstraint **)&jresult = result; 25838 return jresult; 25839 } 25840 25841 25842 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 25843 jlong jresult = 0 ; 25844 btRigidBody *arg1 = 0 ; 25845 btVector3 *arg2 = 0 ; 25846 btVector3 *arg3 = 0 ; 25847 btHingeConstraint *result = 0 ; 25848 25849 (void)jenv; 25850 (void)jcls; 25851 (void)jarg1_; 25852 arg1 = *(btRigidBody **)&jarg1; 25853 if (!arg1) { 25854 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25855 return 0; 25856 } 25857 btVector3 local_arg2; 25858 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 25859 arg2 = &local_arg2; 25860 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 25861 btVector3 local_arg3; 25862 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 25863 arg3 = &local_arg3; 25864 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 25865 result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3); 25866 *(btHingeConstraint **)&jresult = result; 25867 return jresult; 25868 } 25869 25870 25871 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) { 25872 jlong jresult = 0 ; 25873 btRigidBody *arg1 = 0 ; 25874 btRigidBody *arg2 = 0 ; 25875 btTransform *arg3 = 0 ; 25876 btTransform *arg4 = 0 ; 25877 bool arg5 ; 25878 btHingeConstraint *result = 0 ; 25879 25880 (void)jenv; 25881 (void)jcls; 25882 (void)jarg1_; 25883 (void)jarg2_; 25884 arg1 = *(btRigidBody **)&jarg1; 25885 if (!arg1) { 25886 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25887 return 0; 25888 } 25889 arg2 = *(btRigidBody **)&jarg2; 25890 if (!arg2) { 25891 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25892 return 0; 25893 } 25894 btTransform local_arg3; 25895 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 25896 arg3 = &local_arg3; 25897 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 25898 btTransform local_arg4; 25899 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 25900 arg4 = &local_arg4; 25901 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 25902 arg5 = jarg5 ? true : false; 25903 result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5); 25904 *(btHingeConstraint **)&jresult = result; 25905 return jresult; 25906 } 25907 25908 25909 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 25910 jlong jresult = 0 ; 25911 btRigidBody *arg1 = 0 ; 25912 btRigidBody *arg2 = 0 ; 25913 btTransform *arg3 = 0 ; 25914 btTransform *arg4 = 0 ; 25915 btHingeConstraint *result = 0 ; 25916 25917 (void)jenv; 25918 (void)jcls; 25919 (void)jarg1_; 25920 (void)jarg2_; 25921 arg1 = *(btRigidBody **)&jarg1; 25922 if (!arg1) { 25923 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25924 return 0; 25925 } 25926 arg2 = *(btRigidBody **)&jarg2; 25927 if (!arg2) { 25928 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25929 return 0; 25930 } 25931 btTransform local_arg3; 25932 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 25933 arg3 = &local_arg3; 25934 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 25935 btTransform local_arg4; 25936 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 25937 arg4 = &local_arg4; 25938 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 25939 result = (btHingeConstraint *)new btHingeConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4); 25940 *(btHingeConstraint **)&jresult = result; 25941 return jresult; 25942 } 25943 25944 25945 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) { 25946 jlong jresult = 0 ; 25947 btRigidBody *arg1 = 0 ; 25948 btTransform *arg2 = 0 ; 25949 bool arg3 ; 25950 btHingeConstraint *result = 0 ; 25951 25952 (void)jenv; 25953 (void)jcls; 25954 (void)jarg1_; 25955 arg1 = *(btRigidBody **)&jarg1; 25956 if (!arg1) { 25957 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25958 return 0; 25959 } 25960 btTransform local_arg2; 25961 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 25962 arg2 = &local_arg2; 25963 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 25964 arg3 = jarg3 ? true : false; 25965 result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btTransform const &)*arg2,arg3); 25966 *(btHingeConstraint **)&jresult = result; 25967 return jresult; 25968 } 25969 25970 25971 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraint_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 25972 jlong jresult = 0 ; 25973 btRigidBody *arg1 = 0 ; 25974 btTransform *arg2 = 0 ; 25975 btHingeConstraint *result = 0 ; 25976 25977 (void)jenv; 25978 (void)jcls; 25979 (void)jarg1_; 25980 arg1 = *(btRigidBody **)&jarg1; 25981 if (!arg1) { 25982 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 25983 return 0; 25984 } 25985 btTransform local_arg2; 25986 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 25987 arg2 = &local_arg2; 25988 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 25989 result = (btHingeConstraint *)new btHingeConstraint(*arg1,(btTransform const &)*arg2); 25990 *(btHingeConstraint **)&jresult = result; 25991 return jresult; 25992 } 25993 25994 25995 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo1NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 25996 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 25997 btTypedConstraint::btConstraintInfo1 *arg2 = (btTypedConstraint::btConstraintInfo1 *) 0 ; 25998 25999 (void)jenv; 26000 (void)jcls; 26001 (void)jarg1_; 26002 (void)jarg2_; 26003 arg1 = *(btHingeConstraint **)&jarg1; 26004 arg2 = *(btTypedConstraint::btConstraintInfo1 **)&jarg2; 26005 (arg1)->getInfo1NonVirtual(arg2); 26006 } 26007 26008 26009 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2NonVirtual(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) { 26010 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26011 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 26012 btTransform *arg3 = 0 ; 26013 btTransform *arg4 = 0 ; 26014 btVector3 *arg5 = 0 ; 26015 btVector3 *arg6 = 0 ; 26016 26017 (void)jenv; 26018 (void)jcls; 26019 (void)jarg1_; 26020 (void)jarg2_; 26021 arg1 = *(btHingeConstraint **)&jarg1; 26022 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 26023 btTransform local_arg3; 26024 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 26025 arg3 = &local_arg3; 26026 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 26027 btTransform local_arg4; 26028 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 26029 arg4 = &local_arg4; 26030 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 26031 btVector3 local_arg5; 26032 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 26033 arg5 = &local_arg5; 26034 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 26035 btVector3 local_arg6; 26036 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 26037 arg6 = &local_arg6; 26038 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 26039 (arg1)->getInfo2NonVirtual(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6); 26040 } 26041 26042 26043 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2Internal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) { 26044 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26045 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 26046 btTransform *arg3 = 0 ; 26047 btTransform *arg4 = 0 ; 26048 btVector3 *arg5 = 0 ; 26049 btVector3 *arg6 = 0 ; 26050 26051 (void)jenv; 26052 (void)jcls; 26053 (void)jarg1_; 26054 (void)jarg2_; 26055 arg1 = *(btHingeConstraint **)&jarg1; 26056 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 26057 btTransform local_arg3; 26058 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 26059 arg3 = &local_arg3; 26060 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 26061 btTransform local_arg4; 26062 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 26063 arg4 = &local_arg4; 26064 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 26065 btVector3 local_arg5; 26066 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 26067 arg5 = &local_arg5; 26068 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 26069 btVector3 local_arg6; 26070 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 26071 arg6 = &local_arg6; 26072 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 26073 (arg1)->getInfo2Internal(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6); 26074 } 26075 26076 26077 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getInfo2InternalUsingFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) { 26078 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26079 btTypedConstraint::btConstraintInfo2 *arg2 = (btTypedConstraint::btConstraintInfo2 *) 0 ; 26080 btTransform *arg3 = 0 ; 26081 btTransform *arg4 = 0 ; 26082 btVector3 *arg5 = 0 ; 26083 btVector3 *arg6 = 0 ; 26084 26085 (void)jenv; 26086 (void)jcls; 26087 (void)jarg1_; 26088 (void)jarg2_; 26089 arg1 = *(btHingeConstraint **)&jarg1; 26090 arg2 = *(btTypedConstraint::btConstraintInfo2 **)&jarg2; 26091 btTransform local_arg3; 26092 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 26093 arg3 = &local_arg3; 26094 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 26095 btTransform local_arg4; 26096 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 26097 arg4 = &local_arg4; 26098 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 26099 btVector3 local_arg5; 26100 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 26101 arg5 = &local_arg5; 26102 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 26103 btVector3 local_arg6; 26104 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 26105 arg6 = &local_arg6; 26106 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 26107 (arg1)->getInfo2InternalUsingFrameOffset(arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6); 26108 } 26109 26110 26111 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1updateRHS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 26112 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26113 btScalar arg2 ; 26114 26115 (void)jenv; 26116 (void)jcls; 26117 (void)jarg1_; 26118 arg1 = *(btHingeConstraint **)&jarg1; 26119 arg2 = (btScalar)jarg2; 26120 (arg1)->updateRHS(arg2); 26121 } 26122 26123 26124 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyA_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26125 jlong jresult = 0 ; 26126 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26127 btRigidBody *result = 0 ; 26128 26129 (void)jenv; 26130 (void)jcls; 26131 (void)jarg1_; 26132 arg1 = *(btHingeConstraint **)&jarg1; 26133 result = (btRigidBody *) &((btHingeConstraint const *)arg1)->getRigidBodyA(); 26134 *(btRigidBody **)&jresult = result; 26135 return jresult; 26136 } 26137 26138 26139 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getRigidBodyB_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26140 jlong jresult = 0 ; 26141 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26142 btRigidBody *result = 0 ; 26143 26144 (void)jenv; 26145 (void)jcls; 26146 (void)jarg1_; 26147 arg1 = *(btHingeConstraint **)&jarg1; 26148 result = (btRigidBody *) &((btHingeConstraint const *)arg1)->getRigidBodyB(); 26149 *(btRigidBody **)&jresult = result; 26150 return jresult; 26151 } 26152 26153 26154 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFrameOffsetA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26155 jobject jresult = 0 ; 26156 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26157 btTransform *result = 0 ; 26158 26159 (void)jenv; 26160 (void)jcls; 26161 (void)jarg1_; 26162 arg1 = *(btHingeConstraint **)&jarg1; 26163 result = (btTransform *) &(arg1)->getFrameOffsetA(); 26164 jresult = gdx_getReturnMatrix4(jenv); 26165 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 26166 return jresult; 26167 } 26168 26169 26170 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getFrameOffsetB(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26171 jobject jresult = 0 ; 26172 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26173 btTransform *result = 0 ; 26174 26175 (void)jenv; 26176 (void)jcls; 26177 (void)jarg1_; 26178 arg1 = *(btHingeConstraint **)&jarg1; 26179 result = (btTransform *) &(arg1)->getFrameOffsetB(); 26180 jresult = gdx_getReturnMatrix4(jenv); 26181 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 26182 return jresult; 26183 } 26184 26185 26186 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setFrames(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 26187 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26188 btTransform *arg2 = 0 ; 26189 btTransform *arg3 = 0 ; 26190 26191 (void)jenv; 26192 (void)jcls; 26193 (void)jarg1_; 26194 arg1 = *(btHingeConstraint **)&jarg1; 26195 btTransform local_arg2; 26196 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 26197 arg2 = &local_arg2; 26198 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 26199 btTransform local_arg3; 26200 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 26201 arg3 = &local_arg3; 26202 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 26203 (arg1)->setFrames((btTransform const &)*arg2,(btTransform const &)*arg3); 26204 } 26205 26206 26207 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 26208 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26209 bool arg2 ; 26210 26211 (void)jenv; 26212 (void)jcls; 26213 (void)jarg1_; 26214 arg1 = *(btHingeConstraint **)&jarg1; 26215 arg2 = jarg2 ? true : false; 26216 (arg1)->setAngularOnly(arg2); 26217 } 26218 26219 26220 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1enableAngularMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jfloat jarg3, jfloat jarg4) { 26221 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26222 bool arg2 ; 26223 btScalar arg3 ; 26224 btScalar arg4 ; 26225 26226 (void)jenv; 26227 (void)jcls; 26228 (void)jarg1_; 26229 arg1 = *(btHingeConstraint **)&jarg1; 26230 arg2 = jarg2 ? true : false; 26231 arg3 = (btScalar)jarg3; 26232 arg4 = (btScalar)jarg4; 26233 (arg1)->enableAngularMotor(arg2,arg3,arg4); 26234 } 26235 26236 26237 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1enableMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 26238 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26239 bool arg2 ; 26240 26241 (void)jenv; 26242 (void)jcls; 26243 (void)jarg1_; 26244 arg1 = *(btHingeConstraint **)&jarg1; 26245 arg2 = jarg2 ? true : false; 26246 (arg1)->enableMotor(arg2); 26247 } 26248 26249 26250 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 26251 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26252 btScalar arg2 ; 26253 26254 (void)jenv; 26255 (void)jcls; 26256 (void)jarg1_; 26257 arg1 = *(btHingeConstraint **)&jarg1; 26258 arg2 = (btScalar)jarg2; 26259 (arg1)->setMaxMotorImpulse(arg2); 26260 } 26261 26262 26263 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTarget_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jfloat jarg3) { 26264 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26265 btQuaternion *arg2 = 0 ; 26266 btScalar arg3 ; 26267 26268 (void)jenv; 26269 (void)jcls; 26270 (void)jarg1_; 26271 arg1 = *(btHingeConstraint **)&jarg1; 26272 btQuaternion local_arg2; 26273 gdx_setbtQuaternionFromQuaternion(jenv, local_arg2, jarg2); 26274 arg2 = &local_arg2; 26275 gdxAutoCommitQuaternion auto_commit_arg2(jenv, jarg2, &local_arg2); 26276 arg3 = (btScalar)jarg3; 26277 (arg1)->setMotorTarget((btQuaternion const &)*arg2,arg3); 26278 } 26279 26280 26281 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setMotorTarget_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 26282 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26283 btScalar arg2 ; 26284 btScalar arg3 ; 26285 26286 (void)jenv; 26287 (void)jcls; 26288 (void)jarg1_; 26289 arg1 = *(btHingeConstraint **)&jarg1; 26290 arg2 = (btScalar)jarg2; 26291 arg3 = (btScalar)jarg3; 26292 (arg1)->setMotorTarget(arg2,arg3); 26293 } 26294 26295 26296 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5, jfloat jarg6) { 26297 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26298 btScalar arg2 ; 26299 btScalar arg3 ; 26300 btScalar arg4 ; 26301 btScalar arg5 ; 26302 btScalar arg6 ; 26303 26304 (void)jenv; 26305 (void)jcls; 26306 (void)jarg1_; 26307 arg1 = *(btHingeConstraint **)&jarg1; 26308 arg2 = (btScalar)jarg2; 26309 arg3 = (btScalar)jarg3; 26310 arg4 = (btScalar)jarg4; 26311 arg5 = (btScalar)jarg5; 26312 arg6 = (btScalar)jarg6; 26313 (arg1)->setLimit(arg2,arg3,arg4,arg5,arg6); 26314 } 26315 26316 26317 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4, jfloat jarg5) { 26318 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26319 btScalar arg2 ; 26320 btScalar arg3 ; 26321 btScalar arg4 ; 26322 btScalar arg5 ; 26323 26324 (void)jenv; 26325 (void)jcls; 26326 (void)jarg1_; 26327 arg1 = *(btHingeConstraint **)&jarg1; 26328 arg2 = (btScalar)jarg2; 26329 arg3 = (btScalar)jarg3; 26330 arg4 = (btScalar)jarg4; 26331 arg5 = (btScalar)jarg5; 26332 (arg1)->setLimit(arg2,arg3,arg4,arg5); 26333 } 26334 26335 26336 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3, jfloat jarg4) { 26337 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26338 btScalar arg2 ; 26339 btScalar arg3 ; 26340 btScalar arg4 ; 26341 26342 (void)jenv; 26343 (void)jcls; 26344 (void)jarg1_; 26345 arg1 = *(btHingeConstraint **)&jarg1; 26346 arg2 = (btScalar)jarg2; 26347 arg3 = (btScalar)jarg3; 26348 arg4 = (btScalar)jarg4; 26349 (arg1)->setLimit(arg2,arg3,arg4); 26350 } 26351 26352 26353 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setLimit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jfloat jarg3) { 26354 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26355 btScalar arg2 ; 26356 btScalar arg3 ; 26357 26358 (void)jenv; 26359 (void)jcls; 26360 (void)jarg1_; 26361 arg1 = *(btHingeConstraint **)&jarg1; 26362 arg2 = (btScalar)jarg2; 26363 arg3 = (btScalar)jarg3; 26364 (arg1)->setLimit(arg2,arg3); 26365 } 26366 26367 26368 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 26369 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26370 btVector3 *arg2 = 0 ; 26371 26372 (void)jenv; 26373 (void)jcls; 26374 (void)jarg1_; 26375 arg1 = *(btHingeConstraint **)&jarg1; 26376 btVector3 local_arg2; 26377 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 26378 arg2 = &local_arg2; 26379 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 26380 (arg1)->setAxis(*arg2); 26381 } 26382 26383 26384 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1hasLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26385 jboolean jresult = 0 ; 26386 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26387 bool result; 26388 26389 (void)jenv; 26390 (void)jcls; 26391 (void)jarg1_; 26392 arg1 = *(btHingeConstraint **)&jarg1; 26393 result = (bool)((btHingeConstraint const *)arg1)->hasLimit(); 26394 jresult = (jboolean)result; 26395 return jresult; 26396 } 26397 26398 26399 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26400 jfloat jresult = 0 ; 26401 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26402 btScalar result; 26403 26404 (void)jenv; 26405 (void)jcls; 26406 (void)jarg1_; 26407 arg1 = *(btHingeConstraint **)&jarg1; 26408 result = (btScalar)((btHingeConstraint const *)arg1)->getLowerLimit(); 26409 jresult = (jfloat)result; 26410 return jresult; 26411 } 26412 26413 26414 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26415 jfloat jresult = 0 ; 26416 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26417 btScalar result; 26418 26419 (void)jenv; 26420 (void)jcls; 26421 (void)jarg1_; 26422 arg1 = *(btHingeConstraint **)&jarg1; 26423 result = (btScalar)((btHingeConstraint const *)arg1)->getUpperLimit(); 26424 jresult = (jfloat)result; 26425 return jresult; 26426 } 26427 26428 26429 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getHingeAngle_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26430 jfloat jresult = 0 ; 26431 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26432 btScalar result; 26433 26434 (void)jenv; 26435 (void)jcls; 26436 (void)jarg1_; 26437 arg1 = *(btHingeConstraint **)&jarg1; 26438 result = (btScalar)(arg1)->getHingeAngle(); 26439 jresult = (jfloat)result; 26440 return jresult; 26441 } 26442 26443 26444 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getHingeAngle_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 26445 jfloat jresult = 0 ; 26446 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26447 btTransform *arg2 = 0 ; 26448 btTransform *arg3 = 0 ; 26449 btScalar result; 26450 26451 (void)jenv; 26452 (void)jcls; 26453 (void)jarg1_; 26454 arg1 = *(btHingeConstraint **)&jarg1; 26455 btTransform local_arg2; 26456 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 26457 arg2 = &local_arg2; 26458 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 26459 btTransform local_arg3; 26460 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 26461 arg3 = &local_arg3; 26462 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 26463 result = (btScalar)(arg1)->getHingeAngle((btTransform const &)*arg2,(btTransform const &)*arg3); 26464 jresult = (jfloat)result; 26465 return jresult; 26466 } 26467 26468 26469 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1testLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 26470 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26471 btTransform *arg2 = 0 ; 26472 btTransform *arg3 = 0 ; 26473 26474 (void)jenv; 26475 (void)jcls; 26476 (void)jarg1_; 26477 arg1 = *(btHingeConstraint **)&jarg1; 26478 btTransform local_arg2; 26479 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 26480 arg2 = &local_arg2; 26481 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 26482 btTransform local_arg3; 26483 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 26484 arg3 = &local_arg3; 26485 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 26486 (arg1)->testLimit((btTransform const &)*arg2,(btTransform const &)*arg3); 26487 } 26488 26489 26490 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAFrame_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26491 jobject jresult = 0 ; 26492 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26493 btTransform *result = 0 ; 26494 26495 (void)jenv; 26496 (void)jcls; 26497 (void)jarg1_; 26498 arg1 = *(btHingeConstraint **)&jarg1; 26499 result = (btTransform *) &((btHingeConstraint const *)arg1)->getAFrame(); 26500 jresult = gdx_getReturnMatrix4(jenv); 26501 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 26502 return jresult; 26503 } 26504 26505 26506 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getBFrame_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26507 jobject jresult = 0 ; 26508 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26509 btTransform *result = 0 ; 26510 26511 (void)jenv; 26512 (void)jcls; 26513 (void)jarg1_; 26514 arg1 = *(btHingeConstraint **)&jarg1; 26515 result = (btTransform *) &((btHingeConstraint const *)arg1)->getBFrame(); 26516 jresult = gdx_getReturnMatrix4(jenv); 26517 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 26518 return jresult; 26519 } 26520 26521 26522 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getSolveLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26523 jint jresult = 0 ; 26524 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26525 int result; 26526 26527 (void)jenv; 26528 (void)jcls; 26529 (void)jarg1_; 26530 arg1 = *(btHingeConstraint **)&jarg1; 26531 result = (int)(arg1)->getSolveLimit(); 26532 jresult = (jint)result; 26533 return jresult; 26534 } 26535 26536 26537 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getLimitSign(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26538 jfloat jresult = 0 ; 26539 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26540 btScalar result; 26541 26542 (void)jenv; 26543 (void)jcls; 26544 (void)jarg1_; 26545 arg1 = *(btHingeConstraint **)&jarg1; 26546 result = (btScalar)(arg1)->getLimitSign(); 26547 jresult = (jfloat)result; 26548 return jresult; 26549 } 26550 26551 26552 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getAngularOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26553 jboolean jresult = 0 ; 26554 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26555 bool result; 26556 26557 (void)jenv; 26558 (void)jcls; 26559 (void)jarg1_; 26560 arg1 = *(btHingeConstraint **)&jarg1; 26561 result = (bool)(arg1)->getAngularOnly(); 26562 jresult = (jboolean)result; 26563 return jresult; 26564 } 26565 26566 26567 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getEnableAngularMotor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26568 jboolean jresult = 0 ; 26569 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26570 bool result; 26571 26572 (void)jenv; 26573 (void)jcls; 26574 (void)jarg1_; 26575 arg1 = *(btHingeConstraint **)&jarg1; 26576 result = (bool)(arg1)->getEnableAngularMotor(); 26577 jresult = (jboolean)result; 26578 return jresult; 26579 } 26580 26581 26582 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getMotorTargetVelosity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26583 jfloat jresult = 0 ; 26584 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26585 btScalar result; 26586 26587 (void)jenv; 26588 (void)jcls; 26589 (void)jarg1_; 26590 arg1 = *(btHingeConstraint **)&jarg1; 26591 result = (btScalar)(arg1)->getMotorTargetVelosity(); 26592 jresult = (jfloat)result; 26593 return jresult; 26594 } 26595 26596 26597 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getMaxMotorImpulse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26598 jfloat jresult = 0 ; 26599 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26600 btScalar result; 26601 26602 (void)jenv; 26603 (void)jcls; 26604 (void)jarg1_; 26605 arg1 = *(btHingeConstraint **)&jarg1; 26606 result = (btScalar)(arg1)->getMaxMotorImpulse(); 26607 jresult = (jfloat)result; 26608 return jresult; 26609 } 26610 26611 26612 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26613 jboolean jresult = 0 ; 26614 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26615 bool result; 26616 26617 (void)jenv; 26618 (void)jcls; 26619 (void)jarg1_; 26620 arg1 = *(btHingeConstraint **)&jarg1; 26621 result = (bool)(arg1)->getUseFrameOffset(); 26622 jresult = (jboolean)result; 26623 return jresult; 26624 } 26625 26626 26627 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setUseFrameOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 26628 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26629 bool arg2 ; 26630 26631 (void)jenv; 26632 (void)jcls; 26633 (void)jarg1_; 26634 arg1 = *(btHingeConstraint **)&jarg1; 26635 arg2 = jarg2 ? true : false; 26636 (arg1)->setUseFrameOffset(arg2); 26637 } 26638 26639 26640 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3, jint jarg4) { 26641 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26642 int arg2 ; 26643 btScalar arg3 ; 26644 int arg4 ; 26645 26646 (void)jenv; 26647 (void)jcls; 26648 (void)jarg1_; 26649 arg1 = *(btHingeConstraint **)&jarg1; 26650 arg2 = (int)jarg2; 26651 arg3 = (btScalar)jarg3; 26652 arg4 = (int)jarg4; 26653 (arg1)->setParam(arg2,arg3,arg4); 26654 } 26655 26656 26657 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1setParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jfloat jarg3) { 26658 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26659 int arg2 ; 26660 btScalar arg3 ; 26661 26662 (void)jenv; 26663 (void)jcls; 26664 (void)jarg1_; 26665 arg1 = *(btHingeConstraint **)&jarg1; 26666 arg2 = (int)jarg2; 26667 arg3 = (btScalar)jarg3; 26668 (arg1)->setParam(arg2,arg3); 26669 } 26670 26671 26672 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getParam_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) { 26673 jfloat jresult = 0 ; 26674 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26675 int arg2 ; 26676 int arg3 ; 26677 btScalar result; 26678 26679 (void)jenv; 26680 (void)jcls; 26681 (void)jarg1_; 26682 arg1 = *(btHingeConstraint **)&jarg1; 26683 arg2 = (int)jarg2; 26684 arg3 = (int)jarg3; 26685 result = (btScalar)((btHingeConstraint const *)arg1)->getParam(arg2,arg3); 26686 jresult = (jfloat)result; 26687 return jresult; 26688 } 26689 26690 26691 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1getParam_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 26692 jfloat jresult = 0 ; 26693 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26694 int arg2 ; 26695 btScalar result; 26696 26697 (void)jenv; 26698 (void)jcls; 26699 (void)jarg1_; 26700 arg1 = *(btHingeConstraint **)&jarg1; 26701 arg2 = (int)jarg2; 26702 result = (btScalar)((btHingeConstraint const *)arg1)->getParam(arg2); 26703 jresult = (jfloat)result; 26704 return jresult; 26705 } 26706 26707 26708 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 26709 btHingeConstraint *arg1 = (btHingeConstraint *) 0 ; 26710 26711 (void)jenv; 26712 (void)jcls; 26713 arg1 = *(btHingeConstraint **)&jarg1; 26714 delete arg1; 26715 } 26716 26717 26718 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 26719 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26720 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 26721 26722 (void)jenv; 26723 (void)jcls; 26724 (void)jarg1_; 26725 (void)jarg2_; 26726 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26727 arg2 = *(btTypedConstraintData **)&jarg2; 26728 if (arg1) (arg1)->m_typeConstraintData = *arg2; 26729 } 26730 26731 26732 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26733 jlong jresult = 0 ; 26734 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26735 btTypedConstraintData *result = 0 ; 26736 26737 (void)jenv; 26738 (void)jcls; 26739 (void)jarg1_; 26740 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26741 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 26742 *(btTypedConstraintData **)&jresult = result; 26743 return jresult; 26744 } 26745 26746 26747 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 26748 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26749 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 26750 26751 (void)jenv; 26752 (void)jcls; 26753 (void)jarg1_; 26754 (void)jarg2_; 26755 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26756 arg2 = *(btTransformDoubleData **)&jarg2; 26757 if (arg1) (arg1)->m_rbAFrame = *arg2; 26758 } 26759 26760 26761 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26762 jlong jresult = 0 ; 26763 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26764 btTransformDoubleData *result = 0 ; 26765 26766 (void)jenv; 26767 (void)jcls; 26768 (void)jarg1_; 26769 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26770 result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame); 26771 *(btTransformDoubleData **)&jresult = result; 26772 return jresult; 26773 } 26774 26775 26776 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 26777 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26778 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 26779 26780 (void)jenv; 26781 (void)jcls; 26782 (void)jarg1_; 26783 (void)jarg2_; 26784 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26785 arg2 = *(btTransformDoubleData **)&jarg2; 26786 if (arg1) (arg1)->m_rbBFrame = *arg2; 26787 } 26788 26789 26790 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26791 jlong jresult = 0 ; 26792 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26793 btTransformDoubleData *result = 0 ; 26794 26795 (void)jenv; 26796 (void)jcls; 26797 (void)jarg1_; 26798 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26799 result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame); 26800 *(btTransformDoubleData **)&jresult = result; 26801 return jresult; 26802 } 26803 26804 26805 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 26806 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26807 int arg2 ; 26808 26809 (void)jenv; 26810 (void)jcls; 26811 (void)jarg1_; 26812 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26813 arg2 = (int)jarg2; 26814 if (arg1) (arg1)->m_useReferenceFrameA = arg2; 26815 } 26816 26817 26818 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26819 jint jresult = 0 ; 26820 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26821 int result; 26822 26823 (void)jenv; 26824 (void)jcls; 26825 (void)jarg1_; 26826 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26827 result = (int) ((arg1)->m_useReferenceFrameA); 26828 jresult = (jint)result; 26829 return jresult; 26830 } 26831 26832 26833 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 26834 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26835 int arg2 ; 26836 26837 (void)jenv; 26838 (void)jcls; 26839 (void)jarg1_; 26840 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26841 arg2 = (int)jarg2; 26842 if (arg1) (arg1)->m_angularOnly = arg2; 26843 } 26844 26845 26846 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26847 jint jresult = 0 ; 26848 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26849 int result; 26850 26851 (void)jenv; 26852 (void)jcls; 26853 (void)jarg1_; 26854 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26855 result = (int) ((arg1)->m_angularOnly); 26856 jresult = (jint)result; 26857 return jresult; 26858 } 26859 26860 26861 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 26862 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26863 int arg2 ; 26864 26865 (void)jenv; 26866 (void)jcls; 26867 (void)jarg1_; 26868 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26869 arg2 = (int)jarg2; 26870 if (arg1) (arg1)->m_enableAngularMotor = arg2; 26871 } 26872 26873 26874 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26875 jint jresult = 0 ; 26876 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26877 int result; 26878 26879 (void)jenv; 26880 (void)jcls; 26881 (void)jarg1_; 26882 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26883 result = (int) ((arg1)->m_enableAngularMotor); 26884 jresult = (jint)result; 26885 return jresult; 26886 } 26887 26888 26889 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 26890 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26891 float arg2 ; 26892 26893 (void)jenv; 26894 (void)jcls; 26895 (void)jarg1_; 26896 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26897 arg2 = (float)jarg2; 26898 if (arg1) (arg1)->m_motorTargetVelocity = arg2; 26899 } 26900 26901 26902 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26903 jfloat jresult = 0 ; 26904 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26905 float result; 26906 26907 (void)jenv; 26908 (void)jcls; 26909 (void)jarg1_; 26910 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26911 result = (float) ((arg1)->m_motorTargetVelocity); 26912 jresult = (jfloat)result; 26913 return jresult; 26914 } 26915 26916 26917 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 26918 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26919 float arg2 ; 26920 26921 (void)jenv; 26922 (void)jcls; 26923 (void)jarg1_; 26924 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26925 arg2 = (float)jarg2; 26926 if (arg1) (arg1)->m_maxMotorImpulse = arg2; 26927 } 26928 26929 26930 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26931 jfloat jresult = 0 ; 26932 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26933 float result; 26934 26935 (void)jenv; 26936 (void)jcls; 26937 (void)jarg1_; 26938 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26939 result = (float) ((arg1)->m_maxMotorImpulse); 26940 jresult = (jfloat)result; 26941 return jresult; 26942 } 26943 26944 26945 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 26946 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26947 float arg2 ; 26948 26949 (void)jenv; 26950 (void)jcls; 26951 (void)jarg1_; 26952 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26953 arg2 = (float)jarg2; 26954 if (arg1) (arg1)->m_lowerLimit = arg2; 26955 } 26956 26957 26958 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26959 jfloat jresult = 0 ; 26960 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26961 float result; 26962 26963 (void)jenv; 26964 (void)jcls; 26965 (void)jarg1_; 26966 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26967 result = (float) ((arg1)->m_lowerLimit); 26968 jresult = (jfloat)result; 26969 return jresult; 26970 } 26971 26972 26973 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 26974 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26975 float arg2 ; 26976 26977 (void)jenv; 26978 (void)jcls; 26979 (void)jarg1_; 26980 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26981 arg2 = (float)jarg2; 26982 if (arg1) (arg1)->m_upperLimit = arg2; 26983 } 26984 26985 26986 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 26987 jfloat jresult = 0 ; 26988 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 26989 float result; 26990 26991 (void)jenv; 26992 (void)jcls; 26993 (void)jarg1_; 26994 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 26995 result = (float) ((arg1)->m_upperLimit); 26996 jresult = (jfloat)result; 26997 return jresult; 26998 } 26999 27000 27001 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27002 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27003 float arg2 ; 27004 27005 (void)jenv; 27006 (void)jcls; 27007 (void)jarg1_; 27008 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27009 arg2 = (float)jarg2; 27010 if (arg1) (arg1)->m_limitSoftness = arg2; 27011 } 27012 27013 27014 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27015 jfloat jresult = 0 ; 27016 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27017 float result; 27018 27019 (void)jenv; 27020 (void)jcls; 27021 (void)jarg1_; 27022 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27023 result = (float) ((arg1)->m_limitSoftness); 27024 jresult = (jfloat)result; 27025 return jresult; 27026 } 27027 27028 27029 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27030 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27031 float arg2 ; 27032 27033 (void)jenv; 27034 (void)jcls; 27035 (void)jarg1_; 27036 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27037 arg2 = (float)jarg2; 27038 if (arg1) (arg1)->m_biasFactor = arg2; 27039 } 27040 27041 27042 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27043 jfloat jresult = 0 ; 27044 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27045 float result; 27046 27047 (void)jenv; 27048 (void)jcls; 27049 (void)jarg1_; 27050 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27051 result = (float) ((arg1)->m_biasFactor); 27052 jresult = (jfloat)result; 27053 return jresult; 27054 } 27055 27056 27057 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27058 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27059 float arg2 ; 27060 27061 (void)jenv; 27062 (void)jcls; 27063 (void)jarg1_; 27064 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27065 arg2 = (float)jarg2; 27066 if (arg1) (arg1)->m_relaxationFactor = arg2; 27067 } 27068 27069 27070 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27071 jfloat jresult = 0 ; 27072 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27073 float result; 27074 27075 (void)jenv; 27076 (void)jcls; 27077 (void)jarg1_; 27078 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27079 result = (float) ((arg1)->m_relaxationFactor); 27080 jresult = (jfloat)result; 27081 return jresult; 27082 } 27083 27084 27085 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintDoubleData(JNIEnv *jenv, jclass jcls) { 27086 jlong jresult = 0 ; 27087 btHingeConstraintDoubleData *result = 0 ; 27088 27089 (void)jenv; 27090 (void)jcls; 27091 result = (btHingeConstraintDoubleData *)new btHingeConstraintDoubleData(); 27092 *(btHingeConstraintDoubleData **)&jresult = result; 27093 return jresult; 27094 } 27095 27096 27097 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintDoubleData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 27098 btHingeConstraintDoubleData *arg1 = (btHingeConstraintDoubleData *) 0 ; 27099 27100 (void)jenv; 27101 (void)jcls; 27102 arg1 = *(btHingeConstraintDoubleData **)&jarg1; 27103 delete arg1; 27104 } 27105 27106 27107 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6, jboolean jarg7) { 27108 jlong jresult = 0 ; 27109 btRigidBody *arg1 = 0 ; 27110 btRigidBody *arg2 = 0 ; 27111 btVector3 *arg3 = 0 ; 27112 btVector3 *arg4 = 0 ; 27113 btVector3 *arg5 = 0 ; 27114 btVector3 *arg6 = 0 ; 27115 bool arg7 ; 27116 btHingeAccumulatedAngleConstraint *result = 0 ; 27117 27118 (void)jenv; 27119 (void)jcls; 27120 (void)jarg1_; 27121 (void)jarg2_; 27122 arg1 = *(btRigidBody **)&jarg1; 27123 if (!arg1) { 27124 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27125 return 0; 27126 } 27127 arg2 = *(btRigidBody **)&jarg2; 27128 if (!arg2) { 27129 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27130 return 0; 27131 } 27132 btVector3 local_arg3; 27133 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 27134 arg3 = &local_arg3; 27135 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 27136 btVector3 local_arg4; 27137 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 27138 arg4 = &local_arg4; 27139 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 27140 btVector3 local_arg5; 27141 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 27142 arg5 = &local_arg5; 27143 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 27144 btVector3 local_arg6; 27145 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 27146 arg6 = &local_arg6; 27147 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 27148 arg7 = jarg7 ? true : false; 27149 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6,arg7); 27150 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27151 return jresult; 27152 } 27153 27154 27155 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5, jobject jarg6) { 27156 jlong jresult = 0 ; 27157 btRigidBody *arg1 = 0 ; 27158 btRigidBody *arg2 = 0 ; 27159 btVector3 *arg3 = 0 ; 27160 btVector3 *arg4 = 0 ; 27161 btVector3 *arg5 = 0 ; 27162 btVector3 *arg6 = 0 ; 27163 btHingeAccumulatedAngleConstraint *result = 0 ; 27164 27165 (void)jenv; 27166 (void)jcls; 27167 (void)jarg1_; 27168 (void)jarg2_; 27169 arg1 = *(btRigidBody **)&jarg1; 27170 if (!arg1) { 27171 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27172 return 0; 27173 } 27174 arg2 = *(btRigidBody **)&jarg2; 27175 if (!arg2) { 27176 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27177 return 0; 27178 } 27179 btVector3 local_arg3; 27180 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 27181 arg3 = &local_arg3; 27182 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 27183 btVector3 local_arg4; 27184 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 27185 arg4 = &local_arg4; 27186 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 27187 btVector3 local_arg5; 27188 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 27189 arg5 = &local_arg5; 27190 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 27191 btVector3 local_arg6; 27192 gdx_setbtVector3FromVector3(jenv, local_arg6, jarg6); 27193 arg6 = &local_arg6; 27194 gdxAutoCommitVector3 auto_commit_arg6(jenv, jarg6, &local_arg6); 27195 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,(btVector3 const &)*arg5,(btVector3 const &)*arg6); 27196 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27197 return jresult; 27198 } 27199 27200 27201 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jboolean jarg4) { 27202 jlong jresult = 0 ; 27203 btRigidBody *arg1 = 0 ; 27204 btVector3 *arg2 = 0 ; 27205 btVector3 *arg3 = 0 ; 27206 bool arg4 ; 27207 btHingeAccumulatedAngleConstraint *result = 0 ; 27208 27209 (void)jenv; 27210 (void)jcls; 27211 (void)jarg1_; 27212 arg1 = *(btRigidBody **)&jarg1; 27213 if (!arg1) { 27214 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27215 return 0; 27216 } 27217 btVector3 local_arg2; 27218 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 27219 arg2 = &local_arg2; 27220 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 27221 btVector3 local_arg3; 27222 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 27223 arg3 = &local_arg3; 27224 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 27225 arg4 = jarg4 ? true : false; 27226 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3,arg4); 27227 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27228 return jresult; 27229 } 27230 27231 27232 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3) { 27233 jlong jresult = 0 ; 27234 btRigidBody *arg1 = 0 ; 27235 btVector3 *arg2 = 0 ; 27236 btVector3 *arg3 = 0 ; 27237 btHingeAccumulatedAngleConstraint *result = 0 ; 27238 27239 (void)jenv; 27240 (void)jcls; 27241 (void)jarg1_; 27242 arg1 = *(btRigidBody **)&jarg1; 27243 if (!arg1) { 27244 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27245 return 0; 27246 } 27247 btVector3 local_arg2; 27248 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 27249 arg2 = &local_arg2; 27250 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 27251 btVector3 local_arg3; 27252 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 27253 arg3 = &local_arg3; 27254 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 27255 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btVector3 const &)*arg2,(btVector3 const &)*arg3); 27256 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27257 return jresult; 27258 } 27259 27260 27261 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jboolean jarg5) { 27262 jlong jresult = 0 ; 27263 btRigidBody *arg1 = 0 ; 27264 btRigidBody *arg2 = 0 ; 27265 btTransform *arg3 = 0 ; 27266 btTransform *arg4 = 0 ; 27267 bool arg5 ; 27268 btHingeAccumulatedAngleConstraint *result = 0 ; 27269 27270 (void)jenv; 27271 (void)jcls; 27272 (void)jarg1_; 27273 (void)jarg2_; 27274 arg1 = *(btRigidBody **)&jarg1; 27275 if (!arg1) { 27276 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27277 return 0; 27278 } 27279 arg2 = *(btRigidBody **)&jarg2; 27280 if (!arg2) { 27281 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27282 return 0; 27283 } 27284 btTransform local_arg3; 27285 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 27286 arg3 = &local_arg3; 27287 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 27288 btTransform local_arg4; 27289 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 27290 arg4 = &local_arg4; 27291 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 27292 arg5 = jarg5 ? true : false; 27293 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4,arg5); 27294 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27295 return jresult; 27296 } 27297 27298 27299 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 27300 jlong jresult = 0 ; 27301 btRigidBody *arg1 = 0 ; 27302 btRigidBody *arg2 = 0 ; 27303 btTransform *arg3 = 0 ; 27304 btTransform *arg4 = 0 ; 27305 btHingeAccumulatedAngleConstraint *result = 0 ; 27306 27307 (void)jenv; 27308 (void)jcls; 27309 (void)jarg1_; 27310 (void)jarg2_; 27311 arg1 = *(btRigidBody **)&jarg1; 27312 if (!arg1) { 27313 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27314 return 0; 27315 } 27316 arg2 = *(btRigidBody **)&jarg2; 27317 if (!arg2) { 27318 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27319 return 0; 27320 } 27321 btTransform local_arg3; 27322 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 27323 arg3 = &local_arg3; 27324 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 27325 btTransform local_arg4; 27326 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 27327 arg4 = &local_arg4; 27328 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 27329 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4); 27330 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27331 return jresult; 27332 } 27333 27334 27335 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jboolean jarg3) { 27336 jlong jresult = 0 ; 27337 btRigidBody *arg1 = 0 ; 27338 btTransform *arg2 = 0 ; 27339 bool arg3 ; 27340 btHingeAccumulatedAngleConstraint *result = 0 ; 27341 27342 (void)jenv; 27343 (void)jcls; 27344 (void)jarg1_; 27345 arg1 = *(btRigidBody **)&jarg1; 27346 if (!arg1) { 27347 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27348 return 0; 27349 } 27350 btTransform local_arg2; 27351 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 27352 arg2 = &local_arg2; 27353 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 27354 arg3 = jarg3 ? true : false; 27355 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btTransform const &)*arg2,arg3); 27356 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27357 return jresult; 27358 } 27359 27360 27361 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeAccumulatedAngleConstraint_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) { 27362 jlong jresult = 0 ; 27363 btRigidBody *arg1 = 0 ; 27364 btTransform *arg2 = 0 ; 27365 btHingeAccumulatedAngleConstraint *result = 0 ; 27366 27367 (void)jenv; 27368 (void)jcls; 27369 (void)jarg1_; 27370 arg1 = *(btRigidBody **)&jarg1; 27371 if (!arg1) { 27372 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 27373 return 0; 27374 } 27375 btTransform local_arg2; 27376 gdx_setbtTransformFromMatrix4(jenv, local_arg2, jarg2); 27377 arg2 = &local_arg2; 27378 gdxAutoCommitMatrix4 auto_commit_arg2(jenv, jarg2, &local_arg2); 27379 result = (btHingeAccumulatedAngleConstraint *)new btHingeAccumulatedAngleConstraint(*arg1,(btTransform const &)*arg2); 27380 *(btHingeAccumulatedAngleConstraint **)&jresult = result; 27381 return jresult; 27382 } 27383 27384 27385 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1getAccumulatedHingeAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27386 jfloat jresult = 0 ; 27387 btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ; 27388 btScalar result; 27389 27390 (void)jenv; 27391 (void)jcls; 27392 (void)jarg1_; 27393 arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1; 27394 result = (btScalar)(arg1)->getAccumulatedHingeAngle(); 27395 jresult = (jfloat)result; 27396 return jresult; 27397 } 27398 27399 27400 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1setAccumulatedHingeAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27401 btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ; 27402 btScalar arg2 ; 27403 27404 (void)jenv; 27405 (void)jcls; 27406 (void)jarg1_; 27407 arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1; 27408 arg2 = (btScalar)jarg2; 27409 (arg1)->setAccumulatedHingeAngle(arg2); 27410 } 27411 27412 27413 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeAccumulatedAngleConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 27414 btHingeAccumulatedAngleConstraint *arg1 = (btHingeAccumulatedAngleConstraint *) 0 ; 27415 27416 (void)jenv; 27417 (void)jcls; 27418 arg1 = *(btHingeAccumulatedAngleConstraint **)&jarg1; 27419 delete arg1; 27420 } 27421 27422 27423 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 27424 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27425 btTypedConstraintData *arg2 = (btTypedConstraintData *) 0 ; 27426 27427 (void)jenv; 27428 (void)jcls; 27429 (void)jarg1_; 27430 (void)jarg2_; 27431 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27432 arg2 = *(btTypedConstraintData **)&jarg2; 27433 if (arg1) (arg1)->m_typeConstraintData = *arg2; 27434 } 27435 27436 27437 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27438 jlong jresult = 0 ; 27439 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27440 btTypedConstraintData *result = 0 ; 27441 27442 (void)jenv; 27443 (void)jcls; 27444 (void)jarg1_; 27445 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27446 result = (btTypedConstraintData *)& ((arg1)->m_typeConstraintData); 27447 *(btTypedConstraintData **)&jresult = result; 27448 return jresult; 27449 } 27450 27451 27452 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 27453 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27454 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 27455 27456 (void)jenv; 27457 (void)jcls; 27458 (void)jarg1_; 27459 (void)jarg2_; 27460 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27461 arg2 = *(btTransformFloatData **)&jarg2; 27462 if (arg1) (arg1)->m_rbAFrame = *arg2; 27463 } 27464 27465 27466 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27467 jlong jresult = 0 ; 27468 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27469 btTransformFloatData *result = 0 ; 27470 27471 (void)jenv; 27472 (void)jcls; 27473 (void)jarg1_; 27474 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27475 result = (btTransformFloatData *)& ((arg1)->m_rbAFrame); 27476 *(btTransformFloatData **)&jresult = result; 27477 return jresult; 27478 } 27479 27480 27481 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 27482 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27483 btTransformFloatData *arg2 = (btTransformFloatData *) 0 ; 27484 27485 (void)jenv; 27486 (void)jcls; 27487 (void)jarg1_; 27488 (void)jarg2_; 27489 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27490 arg2 = *(btTransformFloatData **)&jarg2; 27491 if (arg1) (arg1)->m_rbBFrame = *arg2; 27492 } 27493 27494 27495 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27496 jlong jresult = 0 ; 27497 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27498 btTransformFloatData *result = 0 ; 27499 27500 (void)jenv; 27501 (void)jcls; 27502 (void)jarg1_; 27503 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27504 result = (btTransformFloatData *)& ((arg1)->m_rbBFrame); 27505 *(btTransformFloatData **)&jresult = result; 27506 return jresult; 27507 } 27508 27509 27510 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 27511 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27512 int arg2 ; 27513 27514 (void)jenv; 27515 (void)jcls; 27516 (void)jarg1_; 27517 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27518 arg2 = (int)jarg2; 27519 if (arg1) (arg1)->m_useReferenceFrameA = arg2; 27520 } 27521 27522 27523 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27524 jint jresult = 0 ; 27525 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27526 int result; 27527 27528 (void)jenv; 27529 (void)jcls; 27530 (void)jarg1_; 27531 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27532 result = (int) ((arg1)->m_useReferenceFrameA); 27533 jresult = (jint)result; 27534 return jresult; 27535 } 27536 27537 27538 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 27539 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27540 int arg2 ; 27541 27542 (void)jenv; 27543 (void)jcls; 27544 (void)jarg1_; 27545 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27546 arg2 = (int)jarg2; 27547 if (arg1) (arg1)->m_angularOnly = arg2; 27548 } 27549 27550 27551 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27552 jint jresult = 0 ; 27553 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27554 int result; 27555 27556 (void)jenv; 27557 (void)jcls; 27558 (void)jarg1_; 27559 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27560 result = (int) ((arg1)->m_angularOnly); 27561 jresult = (jint)result; 27562 return jresult; 27563 } 27564 27565 27566 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 27567 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27568 int arg2 ; 27569 27570 (void)jenv; 27571 (void)jcls; 27572 (void)jarg1_; 27573 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27574 arg2 = (int)jarg2; 27575 if (arg1) (arg1)->m_enableAngularMotor = arg2; 27576 } 27577 27578 27579 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27580 jint jresult = 0 ; 27581 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27582 int result; 27583 27584 (void)jenv; 27585 (void)jcls; 27586 (void)jarg1_; 27587 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27588 result = (int) ((arg1)->m_enableAngularMotor); 27589 jresult = (jint)result; 27590 return jresult; 27591 } 27592 27593 27594 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27595 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27596 float arg2 ; 27597 27598 (void)jenv; 27599 (void)jcls; 27600 (void)jarg1_; 27601 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27602 arg2 = (float)jarg2; 27603 if (arg1) (arg1)->m_motorTargetVelocity = arg2; 27604 } 27605 27606 27607 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27608 jfloat jresult = 0 ; 27609 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27610 float result; 27611 27612 (void)jenv; 27613 (void)jcls; 27614 (void)jarg1_; 27615 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27616 result = (float) ((arg1)->m_motorTargetVelocity); 27617 jresult = (jfloat)result; 27618 return jresult; 27619 } 27620 27621 27622 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27623 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27624 float arg2 ; 27625 27626 (void)jenv; 27627 (void)jcls; 27628 (void)jarg1_; 27629 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27630 arg2 = (float)jarg2; 27631 if (arg1) (arg1)->m_maxMotorImpulse = arg2; 27632 } 27633 27634 27635 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27636 jfloat jresult = 0 ; 27637 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27638 float result; 27639 27640 (void)jenv; 27641 (void)jcls; 27642 (void)jarg1_; 27643 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27644 result = (float) ((arg1)->m_maxMotorImpulse); 27645 jresult = (jfloat)result; 27646 return jresult; 27647 } 27648 27649 27650 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27651 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27652 float arg2 ; 27653 27654 (void)jenv; 27655 (void)jcls; 27656 (void)jarg1_; 27657 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27658 arg2 = (float)jarg2; 27659 if (arg1) (arg1)->m_lowerLimit = arg2; 27660 } 27661 27662 27663 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27664 jfloat jresult = 0 ; 27665 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27666 float result; 27667 27668 (void)jenv; 27669 (void)jcls; 27670 (void)jarg1_; 27671 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27672 result = (float) ((arg1)->m_lowerLimit); 27673 jresult = (jfloat)result; 27674 return jresult; 27675 } 27676 27677 27678 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27679 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27680 float arg2 ; 27681 27682 (void)jenv; 27683 (void)jcls; 27684 (void)jarg1_; 27685 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27686 arg2 = (float)jarg2; 27687 if (arg1) (arg1)->m_upperLimit = arg2; 27688 } 27689 27690 27691 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27692 jfloat jresult = 0 ; 27693 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27694 float result; 27695 27696 (void)jenv; 27697 (void)jcls; 27698 (void)jarg1_; 27699 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27700 result = (float) ((arg1)->m_upperLimit); 27701 jresult = (jfloat)result; 27702 return jresult; 27703 } 27704 27705 27706 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27707 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27708 float arg2 ; 27709 27710 (void)jenv; 27711 (void)jcls; 27712 (void)jarg1_; 27713 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27714 arg2 = (float)jarg2; 27715 if (arg1) (arg1)->m_limitSoftness = arg2; 27716 } 27717 27718 27719 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27720 jfloat jresult = 0 ; 27721 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27722 float result; 27723 27724 (void)jenv; 27725 (void)jcls; 27726 (void)jarg1_; 27727 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27728 result = (float) ((arg1)->m_limitSoftness); 27729 jresult = (jfloat)result; 27730 return jresult; 27731 } 27732 27733 27734 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27735 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27736 float arg2 ; 27737 27738 (void)jenv; 27739 (void)jcls; 27740 (void)jarg1_; 27741 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27742 arg2 = (float)jarg2; 27743 if (arg1) (arg1)->m_biasFactor = arg2; 27744 } 27745 27746 27747 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27748 jfloat jresult = 0 ; 27749 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27750 float result; 27751 27752 (void)jenv; 27753 (void)jcls; 27754 (void)jarg1_; 27755 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27756 result = (float) ((arg1)->m_biasFactor); 27757 jresult = (jfloat)result; 27758 return jresult; 27759 } 27760 27761 27762 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 27763 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27764 float arg2 ; 27765 27766 (void)jenv; 27767 (void)jcls; 27768 (void)jarg1_; 27769 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27770 arg2 = (float)jarg2; 27771 if (arg1) (arg1)->m_relaxationFactor = arg2; 27772 } 27773 27774 27775 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintFloatData_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27776 jfloat jresult = 0 ; 27777 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27778 float result; 27779 27780 (void)jenv; 27781 (void)jcls; 27782 (void)jarg1_; 27783 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27784 result = (float) ((arg1)->m_relaxationFactor); 27785 jresult = (jfloat)result; 27786 return jresult; 27787 } 27788 27789 27790 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintFloatData(JNIEnv *jenv, jclass jcls) { 27791 jlong jresult = 0 ; 27792 btHingeConstraintFloatData *result = 0 ; 27793 27794 (void)jenv; 27795 (void)jcls; 27796 result = (btHingeConstraintFloatData *)new btHingeConstraintFloatData(); 27797 *(btHingeConstraintFloatData **)&jresult = result; 27798 return jresult; 27799 } 27800 27801 27802 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintFloatData(JNIEnv *jenv, jclass jcls, jlong jarg1) { 27803 btHingeConstraintFloatData *arg1 = (btHingeConstraintFloatData *) 0 ; 27804 27805 (void)jenv; 27806 (void)jcls; 27807 arg1 = *(btHingeConstraintFloatData **)&jarg1; 27808 delete arg1; 27809 } 27810 27811 27812 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1typeConstraintData_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 27813 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27814 btTypedConstraintDoubleData *arg2 = (btTypedConstraintDoubleData *) 0 ; 27815 27816 (void)jenv; 27817 (void)jcls; 27818 (void)jarg1_; 27819 (void)jarg2_; 27820 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27821 arg2 = *(btTypedConstraintDoubleData **)&jarg2; 27822 if (arg1) (arg1)->m_typeConstraintData = *arg2; 27823 } 27824 27825 27826 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1typeConstraintData_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27827 jlong jresult = 0 ; 27828 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27829 btTypedConstraintDoubleData *result = 0 ; 27830 27831 (void)jenv; 27832 (void)jcls; 27833 (void)jarg1_; 27834 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27835 result = (btTypedConstraintDoubleData *)& ((arg1)->m_typeConstraintData); 27836 *(btTypedConstraintDoubleData **)&jresult = result; 27837 return jresult; 27838 } 27839 27840 27841 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbAFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 27842 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27843 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 27844 27845 (void)jenv; 27846 (void)jcls; 27847 (void)jarg1_; 27848 (void)jarg2_; 27849 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27850 arg2 = *(btTransformDoubleData **)&jarg2; 27851 if (arg1) (arg1)->m_rbAFrame = *arg2; 27852 } 27853 27854 27855 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbAFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27856 jlong jresult = 0 ; 27857 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27858 btTransformDoubleData *result = 0 ; 27859 27860 (void)jenv; 27861 (void)jcls; 27862 (void)jarg1_; 27863 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27864 result = (btTransformDoubleData *)& ((arg1)->m_rbAFrame); 27865 *(btTransformDoubleData **)&jresult = result; 27866 return jresult; 27867 } 27868 27869 27870 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbBFrame_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 27871 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27872 btTransformDoubleData *arg2 = (btTransformDoubleData *) 0 ; 27873 27874 (void)jenv; 27875 (void)jcls; 27876 (void)jarg1_; 27877 (void)jarg2_; 27878 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27879 arg2 = *(btTransformDoubleData **)&jarg2; 27880 if (arg1) (arg1)->m_rbBFrame = *arg2; 27881 } 27882 27883 27884 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1rbBFrame_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27885 jlong jresult = 0 ; 27886 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27887 btTransformDoubleData *result = 0 ; 27888 27889 (void)jenv; 27890 (void)jcls; 27891 (void)jarg1_; 27892 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27893 result = (btTransformDoubleData *)& ((arg1)->m_rbBFrame); 27894 *(btTransformDoubleData **)&jresult = result; 27895 return jresult; 27896 } 27897 27898 27899 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1useReferenceFrameA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 27900 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27901 int arg2 ; 27902 27903 (void)jenv; 27904 (void)jcls; 27905 (void)jarg1_; 27906 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27907 arg2 = (int)jarg2; 27908 if (arg1) (arg1)->m_useReferenceFrameA = arg2; 27909 } 27910 27911 27912 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1useReferenceFrameA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27913 jint jresult = 0 ; 27914 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27915 int result; 27916 27917 (void)jenv; 27918 (void)jcls; 27919 (void)jarg1_; 27920 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27921 result = (int) ((arg1)->m_useReferenceFrameA); 27922 jresult = (jint)result; 27923 return jresult; 27924 } 27925 27926 27927 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1angularOnly_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 27928 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27929 int arg2 ; 27930 27931 (void)jenv; 27932 (void)jcls; 27933 (void)jarg1_; 27934 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27935 arg2 = (int)jarg2; 27936 if (arg1) (arg1)->m_angularOnly = arg2; 27937 } 27938 27939 27940 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1angularOnly_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27941 jint jresult = 0 ; 27942 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27943 int result; 27944 27945 (void)jenv; 27946 (void)jcls; 27947 (void)jarg1_; 27948 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27949 result = (int) ((arg1)->m_angularOnly); 27950 jresult = (jint)result; 27951 return jresult; 27952 } 27953 27954 27955 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1enableAngularMotor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 27956 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27957 int arg2 ; 27958 27959 (void)jenv; 27960 (void)jcls; 27961 (void)jarg1_; 27962 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27963 arg2 = (int)jarg2; 27964 if (arg1) (arg1)->m_enableAngularMotor = arg2; 27965 } 27966 27967 27968 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1enableAngularMotor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27969 jint jresult = 0 ; 27970 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27971 int result; 27972 27973 (void)jenv; 27974 (void)jcls; 27975 (void)jarg1_; 27976 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27977 result = (int) ((arg1)->m_enableAngularMotor); 27978 jresult = (jint)result; 27979 return jresult; 27980 } 27981 27982 27983 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1motorTargetVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 27984 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27985 double arg2 ; 27986 27987 (void)jenv; 27988 (void)jcls; 27989 (void)jarg1_; 27990 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 27991 arg2 = (double)jarg2; 27992 if (arg1) (arg1)->m_motorTargetVelocity = arg2; 27993 } 27994 27995 27996 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1motorTargetVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 27997 jdouble jresult = 0 ; 27998 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 27999 double result; 28000 28001 (void)jenv; 28002 (void)jcls; 28003 (void)jarg1_; 28004 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28005 result = (double) ((arg1)->m_motorTargetVelocity); 28006 jresult = (jdouble)result; 28007 return jresult; 28008 } 28009 28010 28011 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1maxMotorImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 28012 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28013 double arg2 ; 28014 28015 (void)jenv; 28016 (void)jcls; 28017 (void)jarg1_; 28018 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28019 arg2 = (double)jarg2; 28020 if (arg1) (arg1)->m_maxMotorImpulse = arg2; 28021 } 28022 28023 28024 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1maxMotorImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28025 jdouble jresult = 0 ; 28026 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28027 double result; 28028 28029 (void)jenv; 28030 (void)jcls; 28031 (void)jarg1_; 28032 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28033 result = (double) ((arg1)->m_maxMotorImpulse); 28034 jresult = (jdouble)result; 28035 return jresult; 28036 } 28037 28038 28039 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 28040 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28041 double arg2 ; 28042 28043 (void)jenv; 28044 (void)jcls; 28045 (void)jarg1_; 28046 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28047 arg2 = (double)jarg2; 28048 if (arg1) (arg1)->m_lowerLimit = arg2; 28049 } 28050 28051 28052 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28053 jdouble jresult = 0 ; 28054 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28055 double result; 28056 28057 (void)jenv; 28058 (void)jcls; 28059 (void)jarg1_; 28060 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28061 result = (double) ((arg1)->m_lowerLimit); 28062 jresult = (jdouble)result; 28063 return jresult; 28064 } 28065 28066 28067 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 28068 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28069 double arg2 ; 28070 28071 (void)jenv; 28072 (void)jcls; 28073 (void)jarg1_; 28074 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28075 arg2 = (double)jarg2; 28076 if (arg1) (arg1)->m_upperLimit = arg2; 28077 } 28078 28079 28080 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28081 jdouble jresult = 0 ; 28082 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28083 double result; 28084 28085 (void)jenv; 28086 (void)jcls; 28087 (void)jarg1_; 28088 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28089 result = (double) ((arg1)->m_upperLimit); 28090 jresult = (jdouble)result; 28091 return jresult; 28092 } 28093 28094 28095 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1limitSoftness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 28096 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28097 double arg2 ; 28098 28099 (void)jenv; 28100 (void)jcls; 28101 (void)jarg1_; 28102 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28103 arg2 = (double)jarg2; 28104 if (arg1) (arg1)->m_limitSoftness = arg2; 28105 } 28106 28107 28108 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1limitSoftness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28109 jdouble jresult = 0 ; 28110 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28111 double result; 28112 28113 (void)jenv; 28114 (void)jcls; 28115 (void)jarg1_; 28116 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28117 result = (double) ((arg1)->m_limitSoftness); 28118 jresult = (jdouble)result; 28119 return jresult; 28120 } 28121 28122 28123 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1biasFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 28124 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28125 double arg2 ; 28126 28127 (void)jenv; 28128 (void)jcls; 28129 (void)jarg1_; 28130 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28131 arg2 = (double)jarg2; 28132 if (arg1) (arg1)->m_biasFactor = arg2; 28133 } 28134 28135 28136 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1biasFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28137 jdouble jresult = 0 ; 28138 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28139 double result; 28140 28141 (void)jenv; 28142 (void)jcls; 28143 (void)jarg1_; 28144 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28145 result = (double) ((arg1)->m_biasFactor); 28146 jresult = (jdouble)result; 28147 return jresult; 28148 } 28149 28150 28151 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1relaxationFactor_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) { 28152 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28153 double arg2 ; 28154 28155 (void)jenv; 28156 (void)jcls; 28157 (void)jarg1_; 28158 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28159 arg2 = (double)jarg2; 28160 if (arg1) (arg1)->m_relaxationFactor = arg2; 28161 } 28162 28163 28164 SWIGEXPORT jdouble JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1relaxationFactor_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28165 jdouble jresult = 0 ; 28166 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28167 double result; 28168 28169 (void)jenv; 28170 (void)jcls; 28171 (void)jarg1_; 28172 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28173 result = (double) ((arg1)->m_relaxationFactor); 28174 jresult = (jdouble)result; 28175 return jresult; 28176 } 28177 28178 28179 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1padding1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { 28180 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28181 char *arg2 ; 28182 28183 (void)jenv; 28184 (void)jcls; 28185 (void)jarg1_; 28186 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28187 arg2 = 0; 28188 if (jarg2) { 28189 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); 28190 if (!arg2) return ; 28191 } 28192 { 28193 if(arg2) { 28194 strncpy((char*)arg1->m_padding1, (const char *)arg2, 4-1); 28195 arg1->m_padding1[4-1] = 0; 28196 } else { 28197 arg1->m_padding1[0] = 0; 28198 } 28199 } 28200 28201 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); 28202 } 28203 28204 28205 SWIGEXPORT jstring JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraintDoubleData2_1padding1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28206 jstring jresult = 0 ; 28207 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28208 char *result = 0 ; 28209 28210 (void)jenv; 28211 (void)jcls; 28212 (void)jarg1_; 28213 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28214 result = (char *)(char *) ((arg1)->m_padding1); 28215 if (result) jresult = jenv->NewStringUTF((const char *)result); 28216 return jresult; 28217 } 28218 28219 28220 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHingeConstraintDoubleData2(JNIEnv *jenv, jclass jcls) { 28221 jlong jresult = 0 ; 28222 btHingeConstraintDoubleData2 *result = 0 ; 28223 28224 (void)jenv; 28225 (void)jcls; 28226 result = (btHingeConstraintDoubleData2 *)new btHingeConstraintDoubleData2(); 28227 *(btHingeConstraintDoubleData2 **)&jresult = result; 28228 return jresult; 28229 } 28230 28231 28232 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHingeConstraintDoubleData2(JNIEnv *jenv, jclass jcls, jlong jarg1) { 28233 btHingeConstraintDoubleData2 *arg1 = (btHingeConstraintDoubleData2 *) 0 ; 28234 28235 (void)jenv; 28236 (void)jcls; 28237 arg1 = *(btHingeConstraintDoubleData2 **)&jarg1; 28238 delete arg1; 28239 } 28240 28241 28242 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos1CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 28243 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28244 btVector3 *arg2 = (btVector3 *) 0 ; 28245 28246 (void)jenv; 28247 (void)jcls; 28248 (void)jarg1_; 28249 (void)jarg2_; 28250 arg1 = *(btSolverConstraint **)&jarg1; 28251 arg2 = *(btVector3 **)&jarg2; 28252 if (arg1) (arg1)->m_relpos1CrossNormal = *arg2; 28253 } 28254 28255 28256 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos1CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28257 jlong jresult = 0 ; 28258 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28259 btVector3 *result = 0 ; 28260 28261 (void)jenv; 28262 (void)jcls; 28263 (void)jarg1_; 28264 arg1 = *(btSolverConstraint **)&jarg1; 28265 result = (btVector3 *)& ((arg1)->m_relpos1CrossNormal); 28266 *(btVector3 **)&jresult = result; 28267 return jresult; 28268 } 28269 28270 28271 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 28272 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28273 btVector3 *arg2 = (btVector3 *) 0 ; 28274 28275 (void)jenv; 28276 (void)jcls; 28277 (void)jarg1_; 28278 (void)jarg2_; 28279 arg1 = *(btSolverConstraint **)&jarg1; 28280 arg2 = *(btVector3 **)&jarg2; 28281 if (arg1) (arg1)->m_contactNormal1 = *arg2; 28282 } 28283 28284 28285 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28286 jlong jresult = 0 ; 28287 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28288 btVector3 *result = 0 ; 28289 28290 (void)jenv; 28291 (void)jcls; 28292 (void)jarg1_; 28293 arg1 = *(btSolverConstraint **)&jarg1; 28294 result = (btVector3 *)& ((arg1)->m_contactNormal1); 28295 *(btVector3 **)&jresult = result; 28296 return jresult; 28297 } 28298 28299 28300 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos2CrossNormal_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 28301 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28302 btVector3 *arg2 = (btVector3 *) 0 ; 28303 28304 (void)jenv; 28305 (void)jcls; 28306 (void)jarg1_; 28307 (void)jarg2_; 28308 arg1 = *(btSolverConstraint **)&jarg1; 28309 arg2 = *(btVector3 **)&jarg2; 28310 if (arg1) (arg1)->m_relpos2CrossNormal = *arg2; 28311 } 28312 28313 28314 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1relpos2CrossNormal_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28315 jlong jresult = 0 ; 28316 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28317 btVector3 *result = 0 ; 28318 28319 (void)jenv; 28320 (void)jcls; 28321 (void)jarg1_; 28322 arg1 = *(btSolverConstraint **)&jarg1; 28323 result = (btVector3 *)& ((arg1)->m_relpos2CrossNormal); 28324 *(btVector3 **)&jresult = result; 28325 return jresult; 28326 } 28327 28328 28329 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 28330 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28331 btVector3 *arg2 = (btVector3 *) 0 ; 28332 28333 (void)jenv; 28334 (void)jcls; 28335 (void)jarg1_; 28336 (void)jarg2_; 28337 arg1 = *(btSolverConstraint **)&jarg1; 28338 arg2 = *(btVector3 **)&jarg2; 28339 if (arg1) (arg1)->m_contactNormal2 = *arg2; 28340 } 28341 28342 28343 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1contactNormal2_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28344 jlong jresult = 0 ; 28345 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28346 btVector3 *result = 0 ; 28347 28348 (void)jenv; 28349 (void)jcls; 28350 (void)jarg1_; 28351 arg1 = *(btSolverConstraint **)&jarg1; 28352 result = (btVector3 *)& ((arg1)->m_contactNormal2); 28353 *(btVector3 **)&jresult = result; 28354 return jresult; 28355 } 28356 28357 28358 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 28359 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28360 btVector3 *arg2 = (btVector3 *) 0 ; 28361 28362 (void)jenv; 28363 (void)jcls; 28364 (void)jarg1_; 28365 (void)jarg2_; 28366 arg1 = *(btSolverConstraint **)&jarg1; 28367 arg2 = *(btVector3 **)&jarg2; 28368 if (arg1) (arg1)->m_angularComponentA = *arg2; 28369 } 28370 28371 28372 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28373 jlong jresult = 0 ; 28374 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28375 btVector3 *result = 0 ; 28376 28377 (void)jenv; 28378 (void)jcls; 28379 (void)jarg1_; 28380 arg1 = *(btSolverConstraint **)&jarg1; 28381 result = (btVector3 *)& ((arg1)->m_angularComponentA); 28382 *(btVector3 **)&jresult = result; 28383 return jresult; 28384 } 28385 28386 28387 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 28388 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28389 btVector3 *arg2 = (btVector3 *) 0 ; 28390 28391 (void)jenv; 28392 (void)jcls; 28393 (void)jarg1_; 28394 (void)jarg2_; 28395 arg1 = *(btSolverConstraint **)&jarg1; 28396 arg2 = *(btVector3 **)&jarg2; 28397 if (arg1) (arg1)->m_angularComponentB = *arg2; 28398 } 28399 28400 28401 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1angularComponentB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28402 jlong jresult = 0 ; 28403 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28404 btVector3 *result = 0 ; 28405 28406 (void)jenv; 28407 (void)jcls; 28408 (void)jarg1_; 28409 arg1 = *(btSolverConstraint **)&jarg1; 28410 result = (btVector3 *)& ((arg1)->m_angularComponentB); 28411 *(btVector3 **)&jresult = result; 28412 return jresult; 28413 } 28414 28415 28416 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedPushImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28417 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28418 btScalar arg2 ; 28419 28420 (void)jenv; 28421 (void)jcls; 28422 (void)jarg1_; 28423 arg1 = *(btSolverConstraint **)&jarg1; 28424 arg2 = (btScalar)jarg2; 28425 if (arg1) (arg1)->m_appliedPushImpulse = arg2; 28426 } 28427 28428 28429 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedPushImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28430 jfloat jresult = 0 ; 28431 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28432 btScalar result; 28433 28434 (void)jenv; 28435 (void)jcls; 28436 (void)jarg1_; 28437 arg1 = *(btSolverConstraint **)&jarg1; 28438 result = (btScalar) ((arg1)->m_appliedPushImpulse); 28439 jresult = (jfloat)result; 28440 return jresult; 28441 } 28442 28443 28444 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedImpulse_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28445 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28446 btScalar arg2 ; 28447 28448 (void)jenv; 28449 (void)jcls; 28450 (void)jarg1_; 28451 arg1 = *(btSolverConstraint **)&jarg1; 28452 arg2 = (btScalar)jarg2; 28453 if (arg1) (arg1)->m_appliedImpulse = arg2; 28454 } 28455 28456 28457 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1appliedImpulse_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28458 jfloat jresult = 0 ; 28459 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28460 btScalar result; 28461 28462 (void)jenv; 28463 (void)jcls; 28464 (void)jarg1_; 28465 arg1 = *(btSolverConstraint **)&jarg1; 28466 result = (btScalar) ((arg1)->m_appliedImpulse); 28467 jresult = (jfloat)result; 28468 return jresult; 28469 } 28470 28471 28472 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1friction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28473 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28474 btScalar arg2 ; 28475 28476 (void)jenv; 28477 (void)jcls; 28478 (void)jarg1_; 28479 arg1 = *(btSolverConstraint **)&jarg1; 28480 arg2 = (btScalar)jarg2; 28481 if (arg1) (arg1)->m_friction = arg2; 28482 } 28483 28484 28485 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1friction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28486 jfloat jresult = 0 ; 28487 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28488 btScalar result; 28489 28490 (void)jenv; 28491 (void)jcls; 28492 (void)jarg1_; 28493 arg1 = *(btSolverConstraint **)&jarg1; 28494 result = (btScalar) ((arg1)->m_friction); 28495 jresult = (jfloat)result; 28496 return jresult; 28497 } 28498 28499 28500 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1jacDiagABInv_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28501 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28502 btScalar arg2 ; 28503 28504 (void)jenv; 28505 (void)jcls; 28506 (void)jarg1_; 28507 arg1 = *(btSolverConstraint **)&jarg1; 28508 arg2 = (btScalar)jarg2; 28509 if (arg1) (arg1)->m_jacDiagABInv = arg2; 28510 } 28511 28512 28513 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1jacDiagABInv_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28514 jfloat jresult = 0 ; 28515 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28516 btScalar result; 28517 28518 (void)jenv; 28519 (void)jcls; 28520 (void)jarg1_; 28521 arg1 = *(btSolverConstraint **)&jarg1; 28522 result = (btScalar) ((arg1)->m_jacDiagABInv); 28523 jresult = (jfloat)result; 28524 return jresult; 28525 } 28526 28527 28528 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28529 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28530 btScalar arg2 ; 28531 28532 (void)jenv; 28533 (void)jcls; 28534 (void)jarg1_; 28535 arg1 = *(btSolverConstraint **)&jarg1; 28536 arg2 = (btScalar)jarg2; 28537 if (arg1) (arg1)->m_rhs = arg2; 28538 } 28539 28540 28541 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28542 jfloat jresult = 0 ; 28543 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28544 btScalar result; 28545 28546 (void)jenv; 28547 (void)jcls; 28548 (void)jarg1_; 28549 arg1 = *(btSolverConstraint **)&jarg1; 28550 result = (btScalar) ((arg1)->m_rhs); 28551 jresult = (jfloat)result; 28552 return jresult; 28553 } 28554 28555 28556 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1cfm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28557 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28558 btScalar arg2 ; 28559 28560 (void)jenv; 28561 (void)jcls; 28562 (void)jarg1_; 28563 arg1 = *(btSolverConstraint **)&jarg1; 28564 arg2 = (btScalar)jarg2; 28565 if (arg1) (arg1)->m_cfm = arg2; 28566 } 28567 28568 28569 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1cfm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28570 jfloat jresult = 0 ; 28571 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28572 btScalar result; 28573 28574 (void)jenv; 28575 (void)jcls; 28576 (void)jarg1_; 28577 arg1 = *(btSolverConstraint **)&jarg1; 28578 result = (btScalar) ((arg1)->m_cfm); 28579 jresult = (jfloat)result; 28580 return jresult; 28581 } 28582 28583 28584 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1lowerLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28585 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28586 btScalar arg2 ; 28587 28588 (void)jenv; 28589 (void)jcls; 28590 (void)jarg1_; 28591 arg1 = *(btSolverConstraint **)&jarg1; 28592 arg2 = (btScalar)jarg2; 28593 if (arg1) (arg1)->m_lowerLimit = arg2; 28594 } 28595 28596 28597 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1lowerLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28598 jfloat jresult = 0 ; 28599 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28600 btScalar result; 28601 28602 (void)jenv; 28603 (void)jcls; 28604 (void)jarg1_; 28605 arg1 = *(btSolverConstraint **)&jarg1; 28606 result = (btScalar) ((arg1)->m_lowerLimit); 28607 jresult = (jfloat)result; 28608 return jresult; 28609 } 28610 28611 28612 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1upperLimit_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28613 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28614 btScalar arg2 ; 28615 28616 (void)jenv; 28617 (void)jcls; 28618 (void)jarg1_; 28619 arg1 = *(btSolverConstraint **)&jarg1; 28620 arg2 = (btScalar)jarg2; 28621 if (arg1) (arg1)->m_upperLimit = arg2; 28622 } 28623 28624 28625 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1upperLimit_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28626 jfloat jresult = 0 ; 28627 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28628 btScalar result; 28629 28630 (void)jenv; 28631 (void)jcls; 28632 (void)jarg1_; 28633 arg1 = *(btSolverConstraint **)&jarg1; 28634 result = (btScalar) ((arg1)->m_upperLimit); 28635 jresult = (jfloat)result; 28636 return jresult; 28637 } 28638 28639 28640 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhsPenetration_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28641 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28642 btScalar arg2 ; 28643 28644 (void)jenv; 28645 (void)jcls; 28646 (void)jarg1_; 28647 arg1 = *(btSolverConstraint **)&jarg1; 28648 arg2 = (btScalar)jarg2; 28649 if (arg1) (arg1)->m_rhsPenetration = arg2; 28650 } 28651 28652 28653 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1rhsPenetration_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28654 jfloat jresult = 0 ; 28655 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28656 btScalar result; 28657 28658 (void)jenv; 28659 (void)jcls; 28660 (void)jarg1_; 28661 arg1 = *(btSolverConstraint **)&jarg1; 28662 result = (btScalar) ((arg1)->m_rhsPenetration); 28663 jresult = (jfloat)result; 28664 return jresult; 28665 } 28666 28667 28668 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1originalContactPoint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 28669 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28670 void *arg2 = (void *) 0 ; 28671 28672 (void)jenv; 28673 (void)jcls; 28674 (void)jarg1_; 28675 arg1 = *(btSolverConstraint **)&jarg1; 28676 arg2 = (void *)jarg2; 28677 if (arg1) (arg1)->m_originalContactPoint = arg2; 28678 } 28679 28680 28681 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1originalContactPoint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28682 jlong jresult = 0 ; 28683 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28684 void *result = 0 ; 28685 28686 (void)jenv; 28687 (void)jcls; 28688 (void)jarg1_; 28689 arg1 = *(btSolverConstraint **)&jarg1; 28690 result = (void *) ((arg1)->m_originalContactPoint); 28691 jresult = (jlong)result; 28692 return jresult; 28693 } 28694 28695 28696 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1unusedPadding4_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 28697 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28698 btScalar arg2 ; 28699 28700 (void)jenv; 28701 (void)jcls; 28702 (void)jarg1_; 28703 arg1 = *(btSolverConstraint **)&jarg1; 28704 arg2 = (btScalar)jarg2; 28705 if (arg1) (arg1)->m_unusedPadding4 = arg2; 28706 } 28707 28708 28709 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1unusedPadding4_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28710 jfloat jresult = 0 ; 28711 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28712 btScalar result; 28713 28714 (void)jenv; 28715 (void)jcls; 28716 (void)jarg1_; 28717 arg1 = *(btSolverConstraint **)&jarg1; 28718 result = (btScalar) ((arg1)->m_unusedPadding4); 28719 jresult = (jfloat)result; 28720 return jresult; 28721 } 28722 28723 28724 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1numRowsForNonContactConstraint_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 28725 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28726 int arg2 ; 28727 28728 (void)jenv; 28729 (void)jcls; 28730 (void)jarg1_; 28731 arg1 = *(btSolverConstraint **)&jarg1; 28732 arg2 = (int)jarg2; 28733 if (arg1) (arg1)->m_numRowsForNonContactConstraint = arg2; 28734 } 28735 28736 28737 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1numRowsForNonContactConstraint_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28738 jint jresult = 0 ; 28739 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28740 int result; 28741 28742 (void)jenv; 28743 (void)jcls; 28744 (void)jarg1_; 28745 arg1 = *(btSolverConstraint **)&jarg1; 28746 result = (int) ((arg1)->m_numRowsForNonContactConstraint); 28747 jresult = (jint)result; 28748 return jresult; 28749 } 28750 28751 28752 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1overrideNumSolverIterations_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 28753 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28754 int arg2 ; 28755 28756 (void)jenv; 28757 (void)jcls; 28758 (void)jarg1_; 28759 arg1 = *(btSolverConstraint **)&jarg1; 28760 arg2 = (int)jarg2; 28761 if (arg1) (arg1)->m_overrideNumSolverIterations = arg2; 28762 } 28763 28764 28765 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1overrideNumSolverIterations_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28766 jint jresult = 0 ; 28767 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28768 int result; 28769 28770 (void)jenv; 28771 (void)jcls; 28772 (void)jarg1_; 28773 arg1 = *(btSolverConstraint **)&jarg1; 28774 result = (int) ((arg1)->m_overrideNumSolverIterations); 28775 jresult = (jint)result; 28776 return jresult; 28777 } 28778 28779 28780 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1frictionIndex_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 28781 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28782 int arg2 ; 28783 28784 (void)jenv; 28785 (void)jcls; 28786 (void)jarg1_; 28787 arg1 = *(btSolverConstraint **)&jarg1; 28788 arg2 = (int)jarg2; 28789 if (arg1) (arg1)->m_frictionIndex = arg2; 28790 } 28791 28792 28793 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1frictionIndex_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28794 jint jresult = 0 ; 28795 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28796 int result; 28797 28798 (void)jenv; 28799 (void)jcls; 28800 (void)jarg1_; 28801 arg1 = *(btSolverConstraint **)&jarg1; 28802 result = (int) ((arg1)->m_frictionIndex); 28803 jresult = (jint)result; 28804 return jresult; 28805 } 28806 28807 28808 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdA_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 28809 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28810 int arg2 ; 28811 28812 (void)jenv; 28813 (void)jcls; 28814 (void)jarg1_; 28815 arg1 = *(btSolverConstraint **)&jarg1; 28816 arg2 = (int)jarg2; 28817 if (arg1) (arg1)->m_solverBodyIdA = arg2; 28818 } 28819 28820 28821 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdA_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28822 jint jresult = 0 ; 28823 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28824 int result; 28825 28826 (void)jenv; 28827 (void)jcls; 28828 (void)jarg1_; 28829 arg1 = *(btSolverConstraint **)&jarg1; 28830 result = (int) ((arg1)->m_solverBodyIdA); 28831 jresult = (jint)result; 28832 return jresult; 28833 } 28834 28835 28836 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdB_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 28837 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28838 int arg2 ; 28839 28840 (void)jenv; 28841 (void)jcls; 28842 (void)jarg1_; 28843 arg1 = *(btSolverConstraint **)&jarg1; 28844 arg2 = (int)jarg2; 28845 if (arg1) (arg1)->m_solverBodyIdB = arg2; 28846 } 28847 28848 28849 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSolverConstraint_1solverBodyIdB_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28850 jint jresult = 0 ; 28851 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28852 int result; 28853 28854 (void)jenv; 28855 (void)jcls; 28856 (void)jarg1_; 28857 arg1 = *(btSolverConstraint **)&jarg1; 28858 result = (int) ((arg1)->m_solverBodyIdB); 28859 jresult = (jint)result; 28860 return jresult; 28861 } 28862 28863 28864 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btSolverConstraint(JNIEnv *jenv, jclass jcls) { 28865 jlong jresult = 0 ; 28866 btSolverConstraint *result = 0 ; 28867 28868 (void)jenv; 28869 (void)jcls; 28870 result = (btSolverConstraint *)new btSolverConstraint(); 28871 *(btSolverConstraint **)&jresult = result; 28872 return jresult; 28873 } 28874 28875 28876 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btSolverConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 28877 btSolverConstraint *arg1 = (btSolverConstraint *) 0 ; 28878 28879 (void)jenv; 28880 (void)jcls; 28881 arg1 = *(btSolverConstraint **)&jarg1; 28882 delete arg1; 28883 } 28884 28885 28886 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btHinge2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4, jobject jarg5) { 28887 jlong jresult = 0 ; 28888 btRigidBody *arg1 = 0 ; 28889 btRigidBody *arg2 = 0 ; 28890 btVector3 *arg3 = 0 ; 28891 btVector3 *arg4 = 0 ; 28892 btVector3 *arg5 = 0 ; 28893 btHinge2Constraint *result = 0 ; 28894 28895 (void)jenv; 28896 (void)jcls; 28897 (void)jarg1_; 28898 (void)jarg2_; 28899 arg1 = *(btRigidBody **)&jarg1; 28900 if (!arg1) { 28901 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 28902 return 0; 28903 } 28904 arg2 = *(btRigidBody **)&jarg2; 28905 if (!arg2) { 28906 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 28907 return 0; 28908 } 28909 btVector3 local_arg3; 28910 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 28911 arg3 = &local_arg3; 28912 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 28913 btVector3 local_arg4; 28914 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 28915 arg4 = &local_arg4; 28916 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 28917 btVector3 local_arg5; 28918 gdx_setbtVector3FromVector3(jenv, local_arg5, jarg5); 28919 arg5 = &local_arg5; 28920 gdxAutoCommitVector3 auto_commit_arg5(jenv, jarg5, &local_arg5); 28921 result = (btHinge2Constraint *)new btHinge2Constraint(*arg1,*arg2,*arg3,*arg4,*arg5); 28922 *(btHinge2Constraint **)&jresult = result; 28923 return jresult; 28924 } 28925 28926 28927 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAnchor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28928 jobject jresult = 0 ; 28929 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 28930 btVector3 *result = 0 ; 28931 28932 (void)jenv; 28933 (void)jcls; 28934 (void)jarg1_; 28935 arg1 = *(btHinge2Constraint **)&jarg1; 28936 result = (btVector3 *) &(arg1)->getAnchor(); 28937 jresult = gdx_getReturnVector3(jenv); 28938 gdx_setVector3FrombtVector3(jenv, jresult, result); 28939 return jresult; 28940 } 28941 28942 28943 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAnchor2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28944 jobject jresult = 0 ; 28945 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 28946 btVector3 *result = 0 ; 28947 28948 (void)jenv; 28949 (void)jcls; 28950 (void)jarg1_; 28951 arg1 = *(btHinge2Constraint **)&jarg1; 28952 result = (btVector3 *) &(arg1)->getAnchor2(); 28953 jresult = gdx_getReturnVector3(jenv); 28954 gdx_setVector3FrombtVector3(jenv, jresult, result); 28955 return jresult; 28956 } 28957 28958 28959 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAxis1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28960 jobject jresult = 0 ; 28961 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 28962 btVector3 *result = 0 ; 28963 28964 (void)jenv; 28965 (void)jcls; 28966 (void)jarg1_; 28967 arg1 = *(btHinge2Constraint **)&jarg1; 28968 result = (btVector3 *) &(arg1)->getAxis1(); 28969 jresult = gdx_getReturnVector3(jenv); 28970 gdx_setVector3FrombtVector3(jenv, jresult, result); 28971 return jresult; 28972 } 28973 28974 28975 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAxis2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28976 jobject jresult = 0 ; 28977 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 28978 btVector3 *result = 0 ; 28979 28980 (void)jenv; 28981 (void)jcls; 28982 (void)jarg1_; 28983 arg1 = *(btHinge2Constraint **)&jarg1; 28984 result = (btVector3 *) &(arg1)->getAxis2(); 28985 jresult = gdx_getReturnVector3(jenv); 28986 gdx_setVector3FrombtVector3(jenv, jresult, result); 28987 return jresult; 28988 } 28989 28990 28991 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAngle1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 28992 jfloat jresult = 0 ; 28993 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 28994 btScalar result; 28995 28996 (void)jenv; 28997 (void)jcls; 28998 (void)jarg1_; 28999 arg1 = *(btHinge2Constraint **)&jarg1; 29000 result = (btScalar)(arg1)->getAngle1(); 29001 jresult = (jfloat)result; 29002 return jresult; 29003 } 29004 29005 29006 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1getAngle2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29007 jfloat jresult = 0 ; 29008 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 29009 btScalar result; 29010 29011 (void)jenv; 29012 (void)jcls; 29013 (void)jarg1_; 29014 arg1 = *(btHinge2Constraint **)&jarg1; 29015 result = (btScalar)(arg1)->getAngle2(); 29016 jresult = (jfloat)result; 29017 return jresult; 29018 } 29019 29020 29021 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1setUpperLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29022 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 29023 btScalar arg2 ; 29024 29025 (void)jenv; 29026 (void)jcls; 29027 (void)jarg1_; 29028 arg1 = *(btHinge2Constraint **)&jarg1; 29029 arg2 = (btScalar)jarg2; 29030 (arg1)->setUpperLimit(arg2); 29031 } 29032 29033 29034 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1setLowerLimit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29035 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 29036 btScalar arg2 ; 29037 29038 (void)jenv; 29039 (void)jcls; 29040 (void)jarg1_; 29041 arg1 = *(btHinge2Constraint **)&jarg1; 29042 arg2 = (btScalar)jarg2; 29043 (arg1)->setLowerLimit(arg2); 29044 } 29045 29046 29047 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btHinge2Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 29048 btHinge2Constraint *arg1 = (btHinge2Constraint *) 0 ; 29049 29050 (void)jenv; 29051 (void)jcls; 29052 arg1 = *(btHinge2Constraint **)&jarg1; 29053 delete arg1; 29054 } 29055 29056 29057 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jobject jarg3, jobject jarg4) { 29058 jlong jresult = 0 ; 29059 btRigidBody *arg1 = 0 ; 29060 btRigidBody *arg2 = 0 ; 29061 btTransform *arg3 = 0 ; 29062 btTransform *arg4 = 0 ; 29063 btFixedConstraint *result = 0 ; 29064 29065 (void)jenv; 29066 (void)jcls; 29067 (void)jarg1_; 29068 (void)jarg2_; 29069 arg1 = *(btRigidBody **)&jarg1; 29070 if (!arg1) { 29071 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 29072 return 0; 29073 } 29074 arg2 = *(btRigidBody **)&jarg2; 29075 if (!arg2) { 29076 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody & reference is null"); 29077 return 0; 29078 } 29079 btTransform local_arg3; 29080 gdx_setbtTransformFromMatrix4(jenv, local_arg3, jarg3); 29081 arg3 = &local_arg3; 29082 gdxAutoCommitMatrix4 auto_commit_arg3(jenv, jarg3, &local_arg3); 29083 btTransform local_arg4; 29084 gdx_setbtTransformFromMatrix4(jenv, local_arg4, jarg4); 29085 arg4 = &local_arg4; 29086 gdxAutoCommitMatrix4 auto_commit_arg4(jenv, jarg4, &local_arg4); 29087 result = (btFixedConstraint *)new btFixedConstraint(*arg1,*arg2,(btTransform const &)*arg3,(btTransform const &)*arg4); 29088 *(btFixedConstraint **)&jresult = result; 29089 return jresult; 29090 } 29091 29092 29093 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btFixedConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1) { 29094 btFixedConstraint *arg1 = (btFixedConstraint *) 0 ; 29095 29096 (void)jenv; 29097 (void)jcls; 29098 arg1 = *(btFixedConstraint **)&jarg1; 29099 delete arg1; 29100 } 29101 29102 29103 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) { 29104 btVehicleRaycaster *arg1 = (btVehicleRaycaster *) 0 ; 29105 29106 (void)jenv; 29107 (void)jcls; 29108 arg1 = *(btVehicleRaycaster **)&jarg1; 29109 delete arg1; 29110 } 29111 29112 29113 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btVehicleRaycaster_1btVehicleRaycasterResult(JNIEnv *jenv, jclass jcls) { 29114 jlong jresult = 0 ; 29115 btVehicleRaycaster::btVehicleRaycasterResult *result = 0 ; 29116 29117 (void)jenv; 29118 (void)jcls; 29119 result = (btVehicleRaycaster::btVehicleRaycasterResult *)new btVehicleRaycaster::btVehicleRaycasterResult(); 29120 *(btVehicleRaycaster::btVehicleRaycasterResult **)&jresult = result; 29121 return jresult; 29122 } 29123 29124 29125 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitPointInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29126 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29127 btVector3 *arg2 = (btVector3 *) 0 ; 29128 29129 (void)jenv; 29130 (void)jcls; 29131 (void)jarg1_; 29132 (void)jarg2_; 29133 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29134 arg2 = *(btVector3 **)&jarg2; 29135 if (arg1) (arg1)->m_hitPointInWorld = *arg2; 29136 } 29137 29138 29139 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitPointInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29140 jlong jresult = 0 ; 29141 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29142 btVector3 *result = 0 ; 29143 29144 (void)jenv; 29145 (void)jcls; 29146 (void)jarg1_; 29147 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29148 result = (btVector3 *)& ((arg1)->m_hitPointInWorld); 29149 *(btVector3 **)&jresult = result; 29150 return jresult; 29151 } 29152 29153 29154 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitNormalInWorld_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29155 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29156 btVector3 *arg2 = (btVector3 *) 0 ; 29157 29158 (void)jenv; 29159 (void)jcls; 29160 (void)jarg1_; 29161 (void)jarg2_; 29162 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29163 arg2 = *(btVector3 **)&jarg2; 29164 if (arg1) (arg1)->m_hitNormalInWorld = *arg2; 29165 } 29166 29167 29168 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1hitNormalInWorld_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29169 jlong jresult = 0 ; 29170 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29171 btVector3 *result = 0 ; 29172 29173 (void)jenv; 29174 (void)jcls; 29175 (void)jarg1_; 29176 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29177 result = (btVector3 *)& ((arg1)->m_hitNormalInWorld); 29178 *(btVector3 **)&jresult = result; 29179 return jresult; 29180 } 29181 29182 29183 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1distFraction_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29184 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29185 btScalar arg2 ; 29186 29187 (void)jenv; 29188 (void)jcls; 29189 (void)jarg1_; 29190 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29191 arg2 = (btScalar)jarg2; 29192 if (arg1) (arg1)->m_distFraction = arg2; 29193 } 29194 29195 29196 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1btVehicleRaycasterResult_1distFraction_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29197 jfloat jresult = 0 ; 29198 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29199 btScalar result; 29200 29201 (void)jenv; 29202 (void)jcls; 29203 (void)jarg1_; 29204 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29205 result = (btScalar) ((arg1)->m_distFraction); 29206 jresult = (jfloat)result; 29207 return jresult; 29208 } 29209 29210 29211 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btVehicleRaycaster_1btVehicleRaycasterResult(JNIEnv *jenv, jclass jcls, jlong jarg1) { 29212 btVehicleRaycaster::btVehicleRaycasterResult *arg1 = (btVehicleRaycaster::btVehicleRaycasterResult *) 0 ; 29213 29214 (void)jenv; 29215 (void)jcls; 29216 arg1 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg1; 29217 delete arg1; 29218 } 29219 29220 29221 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btVehicleRaycaster_1castRay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jlong jarg4, jobject jarg4_) { 29222 jlong jresult = 0 ; 29223 btVehicleRaycaster *arg1 = (btVehicleRaycaster *) 0 ; 29224 btVector3 *arg2 = 0 ; 29225 btVector3 *arg3 = 0 ; 29226 btVehicleRaycaster::btVehicleRaycasterResult *arg4 = 0 ; 29227 void *result = 0 ; 29228 29229 (void)jenv; 29230 (void)jcls; 29231 (void)jarg1_; 29232 (void)jarg4_; 29233 arg1 = *(btVehicleRaycaster **)&jarg1; 29234 btVector3 local_arg2; 29235 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 29236 arg2 = &local_arg2; 29237 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 29238 btVector3 local_arg3; 29239 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 29240 arg3 = &local_arg3; 29241 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 29242 arg4 = *(btVehicleRaycaster::btVehicleRaycasterResult **)&jarg4; 29243 if (!arg4) { 29244 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btVehicleRaycaster::btVehicleRaycasterResult & reference is null"); 29245 return 0; 29246 } 29247 result = (void *)(arg1)->castRay((btVector3 const &)*arg2,(btVector3 const &)*arg3,*arg4); 29248 jresult = (jlong)result; 29249 return jresult; 29250 } 29251 29252 29253 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1chassisConnectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29254 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29255 btVector3 *arg2 = (btVector3 *) 0 ; 29256 29257 (void)jenv; 29258 (void)jcls; 29259 (void)jarg1_; 29260 (void)jarg2_; 29261 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29262 arg2 = *(btVector3 **)&jarg2; 29263 if (arg1) (arg1)->m_chassisConnectionCS = *arg2; 29264 } 29265 29266 29267 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1chassisConnectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29268 jlong jresult = 0 ; 29269 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29270 btVector3 *result = 0 ; 29271 29272 (void)jenv; 29273 (void)jcls; 29274 (void)jarg1_; 29275 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29276 result = (btVector3 *)& ((arg1)->m_chassisConnectionCS); 29277 *(btVector3 **)&jresult = result; 29278 return jresult; 29279 } 29280 29281 29282 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelDirectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29283 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29284 btVector3 *arg2 = (btVector3 *) 0 ; 29285 29286 (void)jenv; 29287 (void)jcls; 29288 (void)jarg1_; 29289 (void)jarg2_; 29290 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29291 arg2 = *(btVector3 **)&jarg2; 29292 if (arg1) (arg1)->m_wheelDirectionCS = *arg2; 29293 } 29294 29295 29296 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelDirectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29297 jlong jresult = 0 ; 29298 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29299 btVector3 *result = 0 ; 29300 29301 (void)jenv; 29302 (void)jcls; 29303 (void)jarg1_; 29304 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29305 result = (btVector3 *)& ((arg1)->m_wheelDirectionCS); 29306 *(btVector3 **)&jresult = result; 29307 return jresult; 29308 } 29309 29310 29311 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelAxleCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29312 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29313 btVector3 *arg2 = (btVector3 *) 0 ; 29314 29315 (void)jenv; 29316 (void)jcls; 29317 (void)jarg1_; 29318 (void)jarg2_; 29319 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29320 arg2 = *(btVector3 **)&jarg2; 29321 if (arg1) (arg1)->m_wheelAxleCS = *arg2; 29322 } 29323 29324 29325 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelAxleCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29326 jlong jresult = 0 ; 29327 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29328 btVector3 *result = 0 ; 29329 29330 (void)jenv; 29331 (void)jcls; 29332 (void)jarg1_; 29333 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29334 result = (btVector3 *)& ((arg1)->m_wheelAxleCS); 29335 *(btVector3 **)&jresult = result; 29336 return jresult; 29337 } 29338 29339 29340 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionRestLength_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29341 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29342 btScalar arg2 ; 29343 29344 (void)jenv; 29345 (void)jcls; 29346 (void)jarg1_; 29347 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29348 arg2 = (btScalar)jarg2; 29349 if (arg1) (arg1)->m_suspensionRestLength = arg2; 29350 } 29351 29352 29353 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionRestLength_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29354 jfloat jresult = 0 ; 29355 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29356 btScalar result; 29357 29358 (void)jenv; 29359 (void)jcls; 29360 (void)jarg1_; 29361 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29362 result = (btScalar) ((arg1)->m_suspensionRestLength); 29363 jresult = (jfloat)result; 29364 return jresult; 29365 } 29366 29367 29368 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29369 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29370 btScalar arg2 ; 29371 29372 (void)jenv; 29373 (void)jcls; 29374 (void)jarg1_; 29375 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29376 arg2 = (btScalar)jarg2; 29377 if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2; 29378 } 29379 29380 29381 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29382 jfloat jresult = 0 ; 29383 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29384 btScalar result; 29385 29386 (void)jenv; 29387 (void)jcls; 29388 (void)jarg1_; 29389 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29390 result = (btScalar) ((arg1)->m_maxSuspensionTravelCm); 29391 jresult = (jfloat)result; 29392 return jresult; 29393 } 29394 29395 29396 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29397 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29398 btScalar arg2 ; 29399 29400 (void)jenv; 29401 (void)jcls; 29402 (void)jarg1_; 29403 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29404 arg2 = (btScalar)jarg2; 29405 if (arg1) (arg1)->m_wheelRadius = arg2; 29406 } 29407 29408 29409 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29410 jfloat jresult = 0 ; 29411 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29412 btScalar result; 29413 29414 (void)jenv; 29415 (void)jcls; 29416 (void)jarg1_; 29417 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29418 result = (btScalar) ((arg1)->m_wheelRadius); 29419 jresult = (jfloat)result; 29420 return jresult; 29421 } 29422 29423 29424 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29425 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29426 btScalar arg2 ; 29427 29428 (void)jenv; 29429 (void)jcls; 29430 (void)jarg1_; 29431 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29432 arg2 = (btScalar)jarg2; 29433 if (arg1) (arg1)->m_suspensionStiffness = arg2; 29434 } 29435 29436 29437 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29438 jfloat jresult = 0 ; 29439 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29440 btScalar result; 29441 29442 (void)jenv; 29443 (void)jcls; 29444 (void)jarg1_; 29445 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29446 result = (btScalar) ((arg1)->m_suspensionStiffness); 29447 jresult = (jfloat)result; 29448 return jresult; 29449 } 29450 29451 29452 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29453 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29454 btScalar arg2 ; 29455 29456 (void)jenv; 29457 (void)jcls; 29458 (void)jarg1_; 29459 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29460 arg2 = (btScalar)jarg2; 29461 if (arg1) (arg1)->m_wheelsDampingCompression = arg2; 29462 } 29463 29464 29465 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29466 jfloat jresult = 0 ; 29467 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29468 btScalar result; 29469 29470 (void)jenv; 29471 (void)jcls; 29472 (void)jarg1_; 29473 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29474 result = (btScalar) ((arg1)->m_wheelsDampingCompression); 29475 jresult = (jfloat)result; 29476 return jresult; 29477 } 29478 29479 29480 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingRelaxation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29481 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29482 btScalar arg2 ; 29483 29484 (void)jenv; 29485 (void)jcls; 29486 (void)jarg1_; 29487 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29488 arg2 = (btScalar)jarg2; 29489 if (arg1) (arg1)->m_wheelsDampingRelaxation = arg2; 29490 } 29491 29492 29493 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1wheelsDampingRelaxation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29494 jfloat jresult = 0 ; 29495 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29496 btScalar result; 29497 29498 (void)jenv; 29499 (void)jcls; 29500 (void)jarg1_; 29501 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29502 result = (btScalar) ((arg1)->m_wheelsDampingRelaxation); 29503 jresult = (jfloat)result; 29504 return jresult; 29505 } 29506 29507 29508 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29509 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29510 btScalar arg2 ; 29511 29512 (void)jenv; 29513 (void)jcls; 29514 (void)jarg1_; 29515 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29516 arg2 = (btScalar)jarg2; 29517 if (arg1) (arg1)->m_frictionSlip = arg2; 29518 } 29519 29520 29521 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29522 jfloat jresult = 0 ; 29523 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29524 btScalar result; 29525 29526 (void)jenv; 29527 (void)jcls; 29528 (void)jarg1_; 29529 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29530 result = (btScalar) ((arg1)->m_frictionSlip); 29531 jresult = (jfloat)result; 29532 return jresult; 29533 } 29534 29535 29536 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29537 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29538 btScalar arg2 ; 29539 29540 (void)jenv; 29541 (void)jcls; 29542 (void)jarg1_; 29543 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29544 arg2 = (btScalar)jarg2; 29545 if (arg1) (arg1)->m_maxSuspensionForce = arg2; 29546 } 29547 29548 29549 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29550 jfloat jresult = 0 ; 29551 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29552 btScalar result; 29553 29554 (void)jenv; 29555 (void)jcls; 29556 (void)jarg1_; 29557 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29558 result = (btScalar) ((arg1)->m_maxSuspensionForce); 29559 jresult = (jfloat)result; 29560 return jresult; 29561 } 29562 29563 29564 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1bIsFrontWheel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 29565 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29566 bool arg2 ; 29567 29568 (void)jenv; 29569 (void)jcls; 29570 (void)jarg1_; 29571 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29572 arg2 = jarg2 ? true : false; 29573 if (arg1) (arg1)->m_bIsFrontWheel = arg2; 29574 } 29575 29576 29577 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfoConstructionInfo_1bIsFrontWheel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29578 jboolean jresult = 0 ; 29579 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29580 bool result; 29581 29582 (void)jenv; 29583 (void)jcls; 29584 (void)jarg1_; 29585 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29586 result = (bool) ((arg1)->m_bIsFrontWheel); 29587 jresult = (jboolean)result; 29588 return jresult; 29589 } 29590 29591 29592 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfoConstructionInfo(JNIEnv *jenv, jclass jcls) { 29593 jlong jresult = 0 ; 29594 btWheelInfoConstructionInfo *result = 0 ; 29595 29596 (void)jenv; 29597 (void)jcls; 29598 result = (btWheelInfoConstructionInfo *)new btWheelInfoConstructionInfo(); 29599 *(btWheelInfoConstructionInfo **)&jresult = result; 29600 return jresult; 29601 } 29602 29603 29604 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfoConstructionInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) { 29605 btWheelInfoConstructionInfo *arg1 = (btWheelInfoConstructionInfo *) 0 ; 29606 29607 (void)jenv; 29608 (void)jcls; 29609 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 29610 delete arg1; 29611 } 29612 29613 29614 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactNormalWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29615 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29616 btVector3 *arg2 = (btVector3 *) 0 ; 29617 29618 (void)jenv; 29619 (void)jcls; 29620 (void)jarg1_; 29621 (void)jarg2_; 29622 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29623 arg2 = *(btVector3 **)&jarg2; 29624 if (arg1) (arg1)->m_contactNormalWS = *arg2; 29625 } 29626 29627 29628 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactNormalWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29629 jlong jresult = 0 ; 29630 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29631 btVector3 *result = 0 ; 29632 29633 (void)jenv; 29634 (void)jcls; 29635 (void)jarg1_; 29636 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29637 result = (btVector3 *)& ((arg1)->m_contactNormalWS); 29638 *(btVector3 **)&jresult = result; 29639 return jresult; 29640 } 29641 29642 29643 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactPointWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29644 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29645 btVector3 *arg2 = (btVector3 *) 0 ; 29646 29647 (void)jenv; 29648 (void)jcls; 29649 (void)jarg1_; 29650 (void)jarg2_; 29651 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29652 arg2 = *(btVector3 **)&jarg2; 29653 if (arg1) (arg1)->m_contactPointWS = *arg2; 29654 } 29655 29656 29657 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1contactPointWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29658 jlong jresult = 0 ; 29659 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29660 btVector3 *result = 0 ; 29661 29662 (void)jenv; 29663 (void)jcls; 29664 (void)jarg1_; 29665 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29666 result = (btVector3 *)& ((arg1)->m_contactPointWS); 29667 *(btVector3 **)&jresult = result; 29668 return jresult; 29669 } 29670 29671 29672 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1suspensionLength_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 29673 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29674 btScalar arg2 ; 29675 29676 (void)jenv; 29677 (void)jcls; 29678 (void)jarg1_; 29679 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29680 arg2 = (btScalar)jarg2; 29681 if (arg1) (arg1)->m_suspensionLength = arg2; 29682 } 29683 29684 29685 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1suspensionLength_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29686 jfloat jresult = 0 ; 29687 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29688 btScalar result; 29689 29690 (void)jenv; 29691 (void)jcls; 29692 (void)jarg1_; 29693 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29694 result = (btScalar) ((arg1)->m_suspensionLength); 29695 jresult = (jfloat)result; 29696 return jresult; 29697 } 29698 29699 29700 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1hardPointWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29701 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29702 btVector3 *arg2 = (btVector3 *) 0 ; 29703 29704 (void)jenv; 29705 (void)jcls; 29706 (void)jarg1_; 29707 (void)jarg2_; 29708 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29709 arg2 = *(btVector3 **)&jarg2; 29710 if (arg1) (arg1)->m_hardPointWS = *arg2; 29711 } 29712 29713 29714 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1hardPointWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29715 jlong jresult = 0 ; 29716 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29717 btVector3 *result = 0 ; 29718 29719 (void)jenv; 29720 (void)jcls; 29721 (void)jarg1_; 29722 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29723 result = (btVector3 *)& ((arg1)->m_hardPointWS); 29724 *(btVector3 **)&jresult = result; 29725 return jresult; 29726 } 29727 29728 29729 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelDirectionWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29730 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29731 btVector3 *arg2 = (btVector3 *) 0 ; 29732 29733 (void)jenv; 29734 (void)jcls; 29735 (void)jarg1_; 29736 (void)jarg2_; 29737 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29738 arg2 = *(btVector3 **)&jarg2; 29739 if (arg1) (arg1)->m_wheelDirectionWS = *arg2; 29740 } 29741 29742 29743 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelDirectionWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29744 jlong jresult = 0 ; 29745 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29746 btVector3 *result = 0 ; 29747 29748 (void)jenv; 29749 (void)jcls; 29750 (void)jarg1_; 29751 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29752 result = (btVector3 *)& ((arg1)->m_wheelDirectionWS); 29753 *(btVector3 **)&jresult = result; 29754 return jresult; 29755 } 29756 29757 29758 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelAxleWS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29759 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29760 btVector3 *arg2 = (btVector3 *) 0 ; 29761 29762 (void)jenv; 29763 (void)jcls; 29764 (void)jarg1_; 29765 (void)jarg2_; 29766 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29767 arg2 = *(btVector3 **)&jarg2; 29768 if (arg1) (arg1)->m_wheelAxleWS = *arg2; 29769 } 29770 29771 29772 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1wheelAxleWS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29773 jlong jresult = 0 ; 29774 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29775 btVector3 *result = 0 ; 29776 29777 (void)jenv; 29778 (void)jcls; 29779 (void)jarg1_; 29780 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29781 result = (btVector3 *)& ((arg1)->m_wheelAxleWS); 29782 *(btVector3 **)&jresult = result; 29783 return jresult; 29784 } 29785 29786 29787 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1isInContact_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 29788 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29789 bool arg2 ; 29790 29791 (void)jenv; 29792 (void)jcls; 29793 (void)jarg1_; 29794 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29795 arg2 = jarg2 ? true : false; 29796 if (arg1) (arg1)->m_isInContact = arg2; 29797 } 29798 29799 29800 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1isInContact_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29801 jboolean jresult = 0 ; 29802 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29803 bool result; 29804 29805 (void)jenv; 29806 (void)jcls; 29807 (void)jarg1_; 29808 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29809 result = (bool) ((arg1)->m_isInContact); 29810 jresult = (jboolean)result; 29811 return jresult; 29812 } 29813 29814 29815 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1groundObject_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 29816 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29817 void *arg2 = (void *) 0 ; 29818 29819 (void)jenv; 29820 (void)jcls; 29821 (void)jarg1_; 29822 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29823 arg2 = (void *)jarg2; 29824 if (arg1) (arg1)->m_groundObject = arg2; 29825 } 29826 29827 29828 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1RaycastInfo_1groundObject_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29829 jlong jresult = 0 ; 29830 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29831 void *result = 0 ; 29832 29833 (void)jenv; 29834 (void)jcls; 29835 (void)jarg1_; 29836 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29837 result = (void *) ((arg1)->m_groundObject); 29838 jresult = (jlong)result; 29839 return jresult; 29840 } 29841 29842 29843 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1RaycastInfo(JNIEnv *jenv, jclass jcls) { 29844 jlong jresult = 0 ; 29845 btWheelInfo::RaycastInfo *result = 0 ; 29846 29847 (void)jenv; 29848 (void)jcls; 29849 result = (btWheelInfo::RaycastInfo *)new btWheelInfo::RaycastInfo(); 29850 *(btWheelInfo::RaycastInfo **)&jresult = result; 29851 return jresult; 29852 } 29853 29854 29855 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfo_1RaycastInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) { 29856 btWheelInfo::RaycastInfo *arg1 = (btWheelInfo::RaycastInfo *) 0 ; 29857 29858 (void)jenv; 29859 (void)jcls; 29860 arg1 = *(btWheelInfo::RaycastInfo **)&jarg1; 29861 delete arg1; 29862 } 29863 29864 29865 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29866 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29867 btWheelInfo::RaycastInfo *arg2 = (btWheelInfo::RaycastInfo *) 0 ; 29868 29869 (void)jenv; 29870 (void)jcls; 29871 (void)jarg1_; 29872 (void)jarg2_; 29873 arg1 = *(btWheelInfo **)&jarg1; 29874 arg2 = *(btWheelInfo::RaycastInfo **)&jarg2; 29875 if (arg1) (arg1)->m_raycastInfo = *arg2; 29876 } 29877 29878 29879 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29880 jlong jresult = 0 ; 29881 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29882 btWheelInfo::RaycastInfo *result = 0 ; 29883 29884 (void)jenv; 29885 (void)jcls; 29886 (void)jarg1_; 29887 arg1 = *(btWheelInfo **)&jarg1; 29888 result = (btWheelInfo::RaycastInfo *)& ((arg1)->m_raycastInfo); 29889 *(btWheelInfo::RaycastInfo **)&jresult = result; 29890 return jresult; 29891 } 29892 29893 29894 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1worldTransform_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29895 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29896 btTransform *arg2 = (btTransform *) 0 ; 29897 29898 (void)jenv; 29899 (void)jcls; 29900 (void)jarg1_; 29901 (void)jarg2_; 29902 arg1 = *(btWheelInfo **)&jarg1; 29903 arg2 = *(btTransform **)&jarg2; 29904 if (arg1) (arg1)->m_worldTransform = *arg2; 29905 } 29906 29907 29908 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1worldTransform_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29909 jlong jresult = 0 ; 29910 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29911 btTransform *result = 0 ; 29912 29913 (void)jenv; 29914 (void)jcls; 29915 (void)jarg1_; 29916 arg1 = *(btWheelInfo **)&jarg1; 29917 result = (btTransform *)& ((arg1)->m_worldTransform); 29918 *(btTransform **)&jresult = result; 29919 return jresult; 29920 } 29921 29922 29923 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1chassisConnectionPointCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29924 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29925 btVector3 *arg2 = (btVector3 *) 0 ; 29926 29927 (void)jenv; 29928 (void)jcls; 29929 (void)jarg1_; 29930 (void)jarg2_; 29931 arg1 = *(btWheelInfo **)&jarg1; 29932 arg2 = *(btVector3 **)&jarg2; 29933 if (arg1) (arg1)->m_chassisConnectionPointCS = *arg2; 29934 } 29935 29936 29937 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1chassisConnectionPointCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29938 jlong jresult = 0 ; 29939 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29940 btVector3 *result = 0 ; 29941 29942 (void)jenv; 29943 (void)jcls; 29944 (void)jarg1_; 29945 arg1 = *(btWheelInfo **)&jarg1; 29946 result = (btVector3 *)& ((arg1)->m_chassisConnectionPointCS); 29947 *(btVector3 **)&jresult = result; 29948 return jresult; 29949 } 29950 29951 29952 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelDirectionCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29953 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29954 btVector3 *arg2 = (btVector3 *) 0 ; 29955 29956 (void)jenv; 29957 (void)jcls; 29958 (void)jarg1_; 29959 (void)jarg2_; 29960 arg1 = *(btWheelInfo **)&jarg1; 29961 arg2 = *(btVector3 **)&jarg2; 29962 if (arg1) (arg1)->m_wheelDirectionCS = *arg2; 29963 } 29964 29965 29966 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelDirectionCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29967 jlong jresult = 0 ; 29968 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29969 btVector3 *result = 0 ; 29970 29971 (void)jenv; 29972 (void)jcls; 29973 (void)jarg1_; 29974 arg1 = *(btWheelInfo **)&jarg1; 29975 result = (btVector3 *)& ((arg1)->m_wheelDirectionCS); 29976 *(btVector3 **)&jresult = result; 29977 return jresult; 29978 } 29979 29980 29981 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelAxleCS_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 29982 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29983 btVector3 *arg2 = (btVector3 *) 0 ; 29984 29985 (void)jenv; 29986 (void)jcls; 29987 (void)jarg1_; 29988 (void)jarg2_; 29989 arg1 = *(btWheelInfo **)&jarg1; 29990 arg2 = *(btVector3 **)&jarg2; 29991 if (arg1) (arg1)->m_wheelAxleCS = *arg2; 29992 } 29993 29994 29995 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelAxleCS_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 29996 jlong jresult = 0 ; 29997 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 29998 btVector3 *result = 0 ; 29999 30000 (void)jenv; 30001 (void)jcls; 30002 (void)jarg1_; 30003 arg1 = *(btWheelInfo **)&jarg1; 30004 result = (btVector3 *)& ((arg1)->m_wheelAxleCS); 30005 *(btVector3 **)&jresult = result; 30006 return jresult; 30007 } 30008 30009 30010 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRestLength1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30011 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30012 btScalar arg2 ; 30013 30014 (void)jenv; 30015 (void)jcls; 30016 (void)jarg1_; 30017 arg1 = *(btWheelInfo **)&jarg1; 30018 arg2 = (btScalar)jarg2; 30019 if (arg1) (arg1)->m_suspensionRestLength1 = arg2; 30020 } 30021 30022 30023 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRestLength1_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30024 jfloat jresult = 0 ; 30025 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30026 btScalar result; 30027 30028 (void)jenv; 30029 (void)jcls; 30030 (void)jarg1_; 30031 arg1 = *(btWheelInfo **)&jarg1; 30032 result = (btScalar) ((arg1)->m_suspensionRestLength1); 30033 jresult = (jfloat)result; 30034 return jresult; 30035 } 30036 30037 30038 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30039 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30040 btScalar arg2 ; 30041 30042 (void)jenv; 30043 (void)jcls; 30044 (void)jarg1_; 30045 arg1 = *(btWheelInfo **)&jarg1; 30046 arg2 = (btScalar)jarg2; 30047 if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2; 30048 } 30049 30050 30051 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30052 jfloat jresult = 0 ; 30053 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30054 btScalar result; 30055 30056 (void)jenv; 30057 (void)jcls; 30058 (void)jarg1_; 30059 arg1 = *(btWheelInfo **)&jarg1; 30060 result = (btScalar) ((arg1)->m_maxSuspensionTravelCm); 30061 jresult = (jfloat)result; 30062 return jresult; 30063 } 30064 30065 30066 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1getSuspensionRestLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30067 jfloat jresult = 0 ; 30068 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30069 btScalar result; 30070 30071 (void)jenv; 30072 (void)jcls; 30073 (void)jarg1_; 30074 arg1 = *(btWheelInfo **)&jarg1; 30075 result = (btScalar)((btWheelInfo const *)arg1)->getSuspensionRestLength(); 30076 jresult = (jfloat)result; 30077 return jresult; 30078 } 30079 30080 30081 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsRadius_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30082 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30083 btScalar arg2 ; 30084 30085 (void)jenv; 30086 (void)jcls; 30087 (void)jarg1_; 30088 arg1 = *(btWheelInfo **)&jarg1; 30089 arg2 = (btScalar)jarg2; 30090 if (arg1) (arg1)->m_wheelsRadius = arg2; 30091 } 30092 30093 30094 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsRadius_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30095 jfloat jresult = 0 ; 30096 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30097 btScalar result; 30098 30099 (void)jenv; 30100 (void)jcls; 30101 (void)jarg1_; 30102 arg1 = *(btWheelInfo **)&jarg1; 30103 result = (btScalar) ((arg1)->m_wheelsRadius); 30104 jresult = (jfloat)result; 30105 return jresult; 30106 } 30107 30108 30109 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30110 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30111 btScalar arg2 ; 30112 30113 (void)jenv; 30114 (void)jcls; 30115 (void)jarg1_; 30116 arg1 = *(btWheelInfo **)&jarg1; 30117 arg2 = (btScalar)jarg2; 30118 if (arg1) (arg1)->m_suspensionStiffness = arg2; 30119 } 30120 30121 30122 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30123 jfloat jresult = 0 ; 30124 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30125 btScalar result; 30126 30127 (void)jenv; 30128 (void)jcls; 30129 (void)jarg1_; 30130 arg1 = *(btWheelInfo **)&jarg1; 30131 result = (btScalar) ((arg1)->m_suspensionStiffness); 30132 jresult = (jfloat)result; 30133 return jresult; 30134 } 30135 30136 30137 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30138 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30139 btScalar arg2 ; 30140 30141 (void)jenv; 30142 (void)jcls; 30143 (void)jarg1_; 30144 arg1 = *(btWheelInfo **)&jarg1; 30145 arg2 = (btScalar)jarg2; 30146 if (arg1) (arg1)->m_wheelsDampingCompression = arg2; 30147 } 30148 30149 30150 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30151 jfloat jresult = 0 ; 30152 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30153 btScalar result; 30154 30155 (void)jenv; 30156 (void)jcls; 30157 (void)jarg1_; 30158 arg1 = *(btWheelInfo **)&jarg1; 30159 result = (btScalar) ((arg1)->m_wheelsDampingCompression); 30160 jresult = (jfloat)result; 30161 return jresult; 30162 } 30163 30164 30165 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingRelaxation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30166 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30167 btScalar arg2 ; 30168 30169 (void)jenv; 30170 (void)jcls; 30171 (void)jarg1_; 30172 arg1 = *(btWheelInfo **)&jarg1; 30173 arg2 = (btScalar)jarg2; 30174 if (arg1) (arg1)->m_wheelsDampingRelaxation = arg2; 30175 } 30176 30177 30178 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsDampingRelaxation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30179 jfloat jresult = 0 ; 30180 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30181 btScalar result; 30182 30183 (void)jenv; 30184 (void)jcls; 30185 (void)jarg1_; 30186 arg1 = *(btWheelInfo **)&jarg1; 30187 result = (btScalar) ((arg1)->m_wheelsDampingRelaxation); 30188 jresult = (jfloat)result; 30189 return jresult; 30190 } 30191 30192 30193 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30194 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30195 btScalar arg2 ; 30196 30197 (void)jenv; 30198 (void)jcls; 30199 (void)jarg1_; 30200 arg1 = *(btWheelInfo **)&jarg1; 30201 arg2 = (btScalar)jarg2; 30202 if (arg1) (arg1)->m_frictionSlip = arg2; 30203 } 30204 30205 30206 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30207 jfloat jresult = 0 ; 30208 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30209 btScalar result; 30210 30211 (void)jenv; 30212 (void)jcls; 30213 (void)jarg1_; 30214 arg1 = *(btWheelInfo **)&jarg1; 30215 result = (btScalar) ((arg1)->m_frictionSlip); 30216 jresult = (jfloat)result; 30217 return jresult; 30218 } 30219 30220 30221 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1steering_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30222 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30223 btScalar arg2 ; 30224 30225 (void)jenv; 30226 (void)jcls; 30227 (void)jarg1_; 30228 arg1 = *(btWheelInfo **)&jarg1; 30229 arg2 = (btScalar)jarg2; 30230 if (arg1) (arg1)->m_steering = arg2; 30231 } 30232 30233 30234 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1steering_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30235 jfloat jresult = 0 ; 30236 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30237 btScalar result; 30238 30239 (void)jenv; 30240 (void)jcls; 30241 (void)jarg1_; 30242 arg1 = *(btWheelInfo **)&jarg1; 30243 result = (btScalar) ((arg1)->m_steering); 30244 jresult = (jfloat)result; 30245 return jresult; 30246 } 30247 30248 30249 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rotation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30250 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30251 btScalar arg2 ; 30252 30253 (void)jenv; 30254 (void)jcls; 30255 (void)jarg1_; 30256 arg1 = *(btWheelInfo **)&jarg1; 30257 arg2 = (btScalar)jarg2; 30258 if (arg1) (arg1)->m_rotation = arg2; 30259 } 30260 30261 30262 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rotation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30263 jfloat jresult = 0 ; 30264 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30265 btScalar result; 30266 30267 (void)jenv; 30268 (void)jcls; 30269 (void)jarg1_; 30270 arg1 = *(btWheelInfo **)&jarg1; 30271 result = (btScalar) ((arg1)->m_rotation); 30272 jresult = (jfloat)result; 30273 return jresult; 30274 } 30275 30276 30277 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1deltaRotation_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30278 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30279 btScalar arg2 ; 30280 30281 (void)jenv; 30282 (void)jcls; 30283 (void)jarg1_; 30284 arg1 = *(btWheelInfo **)&jarg1; 30285 arg2 = (btScalar)jarg2; 30286 if (arg1) (arg1)->m_deltaRotation = arg2; 30287 } 30288 30289 30290 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1deltaRotation_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30291 jfloat jresult = 0 ; 30292 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30293 btScalar result; 30294 30295 (void)jenv; 30296 (void)jcls; 30297 (void)jarg1_; 30298 arg1 = *(btWheelInfo **)&jarg1; 30299 result = (btScalar) ((arg1)->m_deltaRotation); 30300 jresult = (jfloat)result; 30301 return jresult; 30302 } 30303 30304 30305 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rollInfluence_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30306 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30307 btScalar arg2 ; 30308 30309 (void)jenv; 30310 (void)jcls; 30311 (void)jarg1_; 30312 arg1 = *(btWheelInfo **)&jarg1; 30313 arg2 = (btScalar)jarg2; 30314 if (arg1) (arg1)->m_rollInfluence = arg2; 30315 } 30316 30317 30318 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1rollInfluence_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30319 jfloat jresult = 0 ; 30320 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30321 btScalar result; 30322 30323 (void)jenv; 30324 (void)jcls; 30325 (void)jarg1_; 30326 arg1 = *(btWheelInfo **)&jarg1; 30327 result = (btScalar) ((arg1)->m_rollInfluence); 30328 jresult = (jfloat)result; 30329 return jresult; 30330 } 30331 30332 30333 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30334 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30335 btScalar arg2 ; 30336 30337 (void)jenv; 30338 (void)jcls; 30339 (void)jarg1_; 30340 arg1 = *(btWheelInfo **)&jarg1; 30341 arg2 = (btScalar)jarg2; 30342 if (arg1) (arg1)->m_maxSuspensionForce = arg2; 30343 } 30344 30345 30346 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30347 jfloat jresult = 0 ; 30348 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30349 btScalar result; 30350 30351 (void)jenv; 30352 (void)jcls; 30353 (void)jarg1_; 30354 arg1 = *(btWheelInfo **)&jarg1; 30355 result = (btScalar) ((arg1)->m_maxSuspensionForce); 30356 jresult = (jfloat)result; 30357 return jresult; 30358 } 30359 30360 30361 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1engineForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30362 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30363 btScalar arg2 ; 30364 30365 (void)jenv; 30366 (void)jcls; 30367 (void)jarg1_; 30368 arg1 = *(btWheelInfo **)&jarg1; 30369 arg2 = (btScalar)jarg2; 30370 if (arg1) (arg1)->m_engineForce = arg2; 30371 } 30372 30373 30374 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1engineForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30375 jfloat jresult = 0 ; 30376 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30377 btScalar result; 30378 30379 (void)jenv; 30380 (void)jcls; 30381 (void)jarg1_; 30382 arg1 = *(btWheelInfo **)&jarg1; 30383 result = (btScalar) ((arg1)->m_engineForce); 30384 jresult = (jfloat)result; 30385 return jresult; 30386 } 30387 30388 30389 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1brake_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30390 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30391 btScalar arg2 ; 30392 30393 (void)jenv; 30394 (void)jcls; 30395 (void)jarg1_; 30396 arg1 = *(btWheelInfo **)&jarg1; 30397 arg2 = (btScalar)jarg2; 30398 if (arg1) (arg1)->m_brake = arg2; 30399 } 30400 30401 30402 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1brake_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30403 jfloat jresult = 0 ; 30404 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30405 btScalar result; 30406 30407 (void)jenv; 30408 (void)jcls; 30409 (void)jarg1_; 30410 arg1 = *(btWheelInfo **)&jarg1; 30411 result = (btScalar) ((arg1)->m_brake); 30412 jresult = (jfloat)result; 30413 return jresult; 30414 } 30415 30416 30417 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1bIsFrontWheel_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) { 30418 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30419 bool arg2 ; 30420 30421 (void)jenv; 30422 (void)jcls; 30423 (void)jarg1_; 30424 arg1 = *(btWheelInfo **)&jarg1; 30425 arg2 = jarg2 ? true : false; 30426 if (arg1) (arg1)->m_bIsFrontWheel = arg2; 30427 } 30428 30429 30430 SWIGEXPORT jboolean JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1bIsFrontWheel_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30431 jboolean jresult = 0 ; 30432 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30433 bool result; 30434 30435 (void)jenv; 30436 (void)jcls; 30437 (void)jarg1_; 30438 arg1 = *(btWheelInfo **)&jarg1; 30439 result = (bool) ((arg1)->m_bIsFrontWheel); 30440 jresult = (jboolean)result; 30441 return jresult; 30442 } 30443 30444 30445 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clientInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 30446 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30447 void *arg2 = (void *) 0 ; 30448 30449 (void)jenv; 30450 (void)jcls; 30451 (void)jarg1_; 30452 arg1 = *(btWheelInfo **)&jarg1; 30453 arg2 = (void *)jarg2; 30454 if (arg1) (arg1)->m_clientInfo = arg2; 30455 } 30456 30457 30458 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clientInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30459 jlong jresult = 0 ; 30460 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30461 void *result = 0 ; 30462 30463 (void)jenv; 30464 (void)jcls; 30465 (void)jarg1_; 30466 arg1 = *(btWheelInfo **)&jarg1; 30467 result = (void *) ((arg1)->m_clientInfo); 30468 jresult = (jlong)result; 30469 return jresult; 30470 } 30471 30472 30473 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { 30474 jlong jresult = 0 ; 30475 btWheelInfo *result = 0 ; 30476 30477 (void)jenv; 30478 (void)jcls; 30479 result = (btWheelInfo *)new btWheelInfo(); 30480 *(btWheelInfo **)&jresult = result; 30481 return jresult; 30482 } 30483 30484 30485 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btWheelInfo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30486 jlong jresult = 0 ; 30487 btWheelInfoConstructionInfo *arg1 = 0 ; 30488 btWheelInfo *result = 0 ; 30489 30490 (void)jenv; 30491 (void)jcls; 30492 (void)jarg1_; 30493 arg1 = *(btWheelInfoConstructionInfo **)&jarg1; 30494 if (!arg1) { 30495 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfoConstructionInfo & reference is null"); 30496 return 0; 30497 } 30498 result = (btWheelInfo *)new btWheelInfo(*arg1); 30499 *(btWheelInfo **)&jresult = result; 30500 return jresult; 30501 } 30502 30503 30504 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1updateWheel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { 30505 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30506 btRigidBody *arg2 = 0 ; 30507 btWheelInfo::RaycastInfo *arg3 = 0 ; 30508 30509 (void)jenv; 30510 (void)jcls; 30511 (void)jarg1_; 30512 (void)jarg2_; 30513 (void)jarg3_; 30514 arg1 = *(btWheelInfo **)&jarg1; 30515 arg2 = *(btRigidBody **)&jarg2; 30516 if (!arg2) { 30517 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRigidBody const & reference is null"); 30518 return ; 30519 } 30520 arg3 = *(btWheelInfo::RaycastInfo **)&jarg3; 30521 if (!arg3) { 30522 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo::RaycastInfo & reference is null"); 30523 return ; 30524 } 30525 (arg1)->updateWheel((btRigidBody const &)*arg2,*arg3); 30526 } 30527 30528 30529 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clippedInvContactDotSuspension_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30530 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30531 btScalar arg2 ; 30532 30533 (void)jenv; 30534 (void)jcls; 30535 (void)jarg1_; 30536 arg1 = *(btWheelInfo **)&jarg1; 30537 arg2 = (btScalar)jarg2; 30538 if (arg1) (arg1)->m_clippedInvContactDotSuspension = arg2; 30539 } 30540 30541 30542 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1clippedInvContactDotSuspension_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30543 jfloat jresult = 0 ; 30544 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30545 btScalar result; 30546 30547 (void)jenv; 30548 (void)jcls; 30549 (void)jarg1_; 30550 arg1 = *(btWheelInfo **)&jarg1; 30551 result = (btScalar) ((arg1)->m_clippedInvContactDotSuspension); 30552 jresult = (jfloat)result; 30553 return jresult; 30554 } 30555 30556 30557 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRelativeVelocity_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30558 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30559 btScalar arg2 ; 30560 30561 (void)jenv; 30562 (void)jcls; 30563 (void)jarg1_; 30564 arg1 = *(btWheelInfo **)&jarg1; 30565 arg2 = (btScalar)jarg2; 30566 if (arg1) (arg1)->m_suspensionRelativeVelocity = arg2; 30567 } 30568 30569 30570 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1suspensionRelativeVelocity_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30571 jfloat jresult = 0 ; 30572 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30573 btScalar result; 30574 30575 (void)jenv; 30576 (void)jcls; 30577 (void)jarg1_; 30578 arg1 = *(btWheelInfo **)&jarg1; 30579 result = (btScalar) ((arg1)->m_suspensionRelativeVelocity); 30580 jresult = (jfloat)result; 30581 return jresult; 30582 } 30583 30584 30585 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30586 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30587 btScalar arg2 ; 30588 30589 (void)jenv; 30590 (void)jcls; 30591 (void)jarg1_; 30592 arg1 = *(btWheelInfo **)&jarg1; 30593 arg2 = (btScalar)jarg2; 30594 if (arg1) (arg1)->m_wheelsSuspensionForce = arg2; 30595 } 30596 30597 30598 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1wheelsSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30599 jfloat jresult = 0 ; 30600 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30601 btScalar result; 30602 30603 (void)jenv; 30604 (void)jcls; 30605 (void)jarg1_; 30606 arg1 = *(btWheelInfo **)&jarg1; 30607 result = (btScalar) ((arg1)->m_wheelsSuspensionForce); 30608 jresult = (jfloat)result; 30609 return jresult; 30610 } 30611 30612 30613 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1skidInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30614 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30615 btScalar arg2 ; 30616 30617 (void)jenv; 30618 (void)jcls; 30619 (void)jarg1_; 30620 arg1 = *(btWheelInfo **)&jarg1; 30621 arg2 = (btScalar)jarg2; 30622 if (arg1) (arg1)->m_skidInfo = arg2; 30623 } 30624 30625 30626 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1skidInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30627 jfloat jresult = 0 ; 30628 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30629 btScalar result; 30630 30631 (void)jenv; 30632 (void)jcls; 30633 (void)jarg1_; 30634 arg1 = *(btWheelInfo **)&jarg1; 30635 result = (btScalar) ((arg1)->m_skidInfo); 30636 jresult = (jfloat)result; 30637 return jresult; 30638 } 30639 30640 30641 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btWheelInfo(JNIEnv *jenv, jclass jcls, jlong jarg1) { 30642 btWheelInfo *arg1 = (btWheelInfo *) 0 ; 30643 30644 (void)jenv; 30645 (void)jcls; 30646 arg1 = *(btWheelInfo **)&jarg1; 30647 delete arg1; 30648 } 30649 30650 30651 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRaycastVehicle_1btVehicleTuning(JNIEnv *jenv, jclass jcls) { 30652 jlong jresult = 0 ; 30653 btRaycastVehicle::btVehicleTuning *result = 0 ; 30654 30655 (void)jenv; 30656 (void)jcls; 30657 result = (btRaycastVehicle::btVehicleTuning *)new btRaycastVehicle::btVehicleTuning(); 30658 *(btRaycastVehicle::btVehicleTuning **)&jresult = result; 30659 return jresult; 30660 } 30661 30662 30663 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionStiffness_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30664 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30665 btScalar arg2 ; 30666 30667 (void)jenv; 30668 (void)jcls; 30669 (void)jarg1_; 30670 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30671 arg2 = (btScalar)jarg2; 30672 if (arg1) (arg1)->m_suspensionStiffness = arg2; 30673 } 30674 30675 30676 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionStiffness_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30677 jfloat jresult = 0 ; 30678 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30679 btScalar result; 30680 30681 (void)jenv; 30682 (void)jcls; 30683 (void)jarg1_; 30684 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30685 result = (btScalar) ((arg1)->m_suspensionStiffness); 30686 jresult = (jfloat)result; 30687 return jresult; 30688 } 30689 30690 30691 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionCompression_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30692 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30693 btScalar arg2 ; 30694 30695 (void)jenv; 30696 (void)jcls; 30697 (void)jarg1_; 30698 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30699 arg2 = (btScalar)jarg2; 30700 if (arg1) (arg1)->m_suspensionCompression = arg2; 30701 } 30702 30703 30704 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionCompression_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30705 jfloat jresult = 0 ; 30706 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30707 btScalar result; 30708 30709 (void)jenv; 30710 (void)jcls; 30711 (void)jarg1_; 30712 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30713 result = (btScalar) ((arg1)->m_suspensionCompression); 30714 jresult = (jfloat)result; 30715 return jresult; 30716 } 30717 30718 30719 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionDamping_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30720 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30721 btScalar arg2 ; 30722 30723 (void)jenv; 30724 (void)jcls; 30725 (void)jarg1_; 30726 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30727 arg2 = (btScalar)jarg2; 30728 if (arg1) (arg1)->m_suspensionDamping = arg2; 30729 } 30730 30731 30732 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1suspensionDamping_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30733 jfloat jresult = 0 ; 30734 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30735 btScalar result; 30736 30737 (void)jenv; 30738 (void)jcls; 30739 (void)jarg1_; 30740 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30741 result = (btScalar) ((arg1)->m_suspensionDamping); 30742 jresult = (jfloat)result; 30743 return jresult; 30744 } 30745 30746 30747 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionTravelCm_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30748 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30749 btScalar arg2 ; 30750 30751 (void)jenv; 30752 (void)jcls; 30753 (void)jarg1_; 30754 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30755 arg2 = (btScalar)jarg2; 30756 if (arg1) (arg1)->m_maxSuspensionTravelCm = arg2; 30757 } 30758 30759 30760 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionTravelCm_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30761 jfloat jresult = 0 ; 30762 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30763 btScalar result; 30764 30765 (void)jenv; 30766 (void)jcls; 30767 (void)jarg1_; 30768 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30769 result = (btScalar) ((arg1)->m_maxSuspensionTravelCm); 30770 jresult = (jfloat)result; 30771 return jresult; 30772 } 30773 30774 30775 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1frictionSlip_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30776 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30777 btScalar arg2 ; 30778 30779 (void)jenv; 30780 (void)jcls; 30781 (void)jarg1_; 30782 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30783 arg2 = (btScalar)jarg2; 30784 if (arg1) (arg1)->m_frictionSlip = arg2; 30785 } 30786 30787 30788 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1frictionSlip_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30789 jfloat jresult = 0 ; 30790 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30791 btScalar result; 30792 30793 (void)jenv; 30794 (void)jcls; 30795 (void)jarg1_; 30796 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30797 result = (btScalar) ((arg1)->m_frictionSlip); 30798 jresult = (jfloat)result; 30799 return jresult; 30800 } 30801 30802 30803 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionForce_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30804 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30805 btScalar arg2 ; 30806 30807 (void)jenv; 30808 (void)jcls; 30809 (void)jarg1_; 30810 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30811 arg2 = (btScalar)jarg2; 30812 if (arg1) (arg1)->m_maxSuspensionForce = arg2; 30813 } 30814 30815 30816 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1btVehicleTuning_1maxSuspensionForce_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30817 jfloat jresult = 0 ; 30818 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30819 btScalar result; 30820 30821 (void)jenv; 30822 (void)jcls; 30823 (void)jarg1_; 30824 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30825 result = (btScalar) ((arg1)->m_maxSuspensionForce); 30826 jresult = (jfloat)result; 30827 return jresult; 30828 } 30829 30830 30831 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRaycastVehicle_1btVehicleTuning(JNIEnv *jenv, jclass jcls, jlong jarg1) { 30832 btRaycastVehicle::btVehicleTuning *arg1 = (btRaycastVehicle::btVehicleTuning *) 0 ; 30833 30834 (void)jenv; 30835 (void)jcls; 30836 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30837 delete arg1; 30838 } 30839 30840 30841 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btRaycastVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { 30842 jlong jresult = 0 ; 30843 btRaycastVehicle::btVehicleTuning *arg1 = 0 ; 30844 btRigidBody *arg2 = (btRigidBody *) 0 ; 30845 btVehicleRaycaster *arg3 = (btVehicleRaycaster *) 0 ; 30846 btRaycastVehicle *result = 0 ; 30847 30848 (void)jenv; 30849 (void)jcls; 30850 (void)jarg1_; 30851 (void)jarg2_; 30852 (void)jarg3_; 30853 arg1 = *(btRaycastVehicle::btVehicleTuning **)&jarg1; 30854 if (!arg1) { 30855 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRaycastVehicle::btVehicleTuning const & reference is null"); 30856 return 0; 30857 } 30858 arg2 = *(btRigidBody **)&jarg2; 30859 arg3 = *(btVehicleRaycaster **)&jarg3; 30860 result = (btRaycastVehicle *)new btRaycastVehicle((btRaycastVehicle::btVehicleTuning const &)*arg1,arg2,arg3); 30861 *(btRaycastVehicle **)&jresult = result; 30862 return jresult; 30863 } 30864 30865 30866 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btRaycastVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1) { 30867 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30868 30869 (void)jenv; 30870 (void)jcls; 30871 arg1 = *(btRaycastVehicle **)&jarg1; 30872 delete arg1; 30873 } 30874 30875 30876 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getChassisWorldTransform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30877 jobject jresult = 0 ; 30878 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30879 btTransform *result = 0 ; 30880 30881 (void)jenv; 30882 (void)jcls; 30883 (void)jarg1_; 30884 arg1 = *(btRaycastVehicle **)&jarg1; 30885 result = (btTransform *) &((btRaycastVehicle const *)arg1)->getChassisWorldTransform(); 30886 jresult = gdx_getReturnMatrix4(jenv); 30887 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 30888 return jresult; 30889 } 30890 30891 30892 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1rayCast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 30893 jfloat jresult = 0 ; 30894 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30895 btWheelInfo *arg2 = 0 ; 30896 btScalar result; 30897 30898 (void)jenv; 30899 (void)jcls; 30900 (void)jarg1_; 30901 (void)jarg2_; 30902 arg1 = *(btRaycastVehicle **)&jarg1; 30903 arg2 = *(btWheelInfo **)&jarg2; 30904 if (!arg2) { 30905 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null"); 30906 return 0; 30907 } 30908 result = (btScalar)(arg1)->rayCast(*arg2); 30909 jresult = (jfloat)result; 30910 return jresult; 30911 } 30912 30913 30914 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateVehicle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 30915 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30916 btScalar arg2 ; 30917 30918 (void)jenv; 30919 (void)jcls; 30920 (void)jarg1_; 30921 arg1 = *(btRaycastVehicle **)&jarg1; 30922 arg2 = (btScalar)jarg2; 30923 (arg1)->updateVehicle(arg2); 30924 } 30925 30926 30927 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1resetSuspension(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 30928 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30929 30930 (void)jenv; 30931 (void)jcls; 30932 (void)jarg1_; 30933 arg1 = *(btRaycastVehicle **)&jarg1; 30934 (arg1)->resetSuspension(); 30935 } 30936 30937 30938 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getSteeringValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 30939 jfloat jresult = 0 ; 30940 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30941 int arg2 ; 30942 btScalar result; 30943 30944 (void)jenv; 30945 (void)jcls; 30946 (void)jarg1_; 30947 arg1 = *(btRaycastVehicle **)&jarg1; 30948 arg2 = (int)jarg2; 30949 result = (btScalar)((btRaycastVehicle const *)arg1)->getSteeringValue(arg2); 30950 jresult = (jfloat)result; 30951 return jresult; 30952 } 30953 30954 30955 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setSteeringValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) { 30956 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30957 btScalar arg2 ; 30958 int arg3 ; 30959 30960 (void)jenv; 30961 (void)jcls; 30962 (void)jarg1_; 30963 arg1 = *(btRaycastVehicle **)&jarg1; 30964 arg2 = (btScalar)jarg2; 30965 arg3 = (int)jarg3; 30966 (arg1)->setSteeringValue(arg2,arg3); 30967 } 30968 30969 30970 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1applyEngineForce(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) { 30971 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30972 btScalar arg2 ; 30973 int arg3 ; 30974 30975 (void)jenv; 30976 (void)jcls; 30977 (void)jarg1_; 30978 arg1 = *(btRaycastVehicle **)&jarg1; 30979 arg2 = (btScalar)jarg2; 30980 arg3 = (int)jarg3; 30981 (arg1)->applyEngineForce(arg2,arg3); 30982 } 30983 30984 30985 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelTransformWS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 30986 jobject jresult = 0 ; 30987 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 30988 int arg2 ; 30989 btTransform *result = 0 ; 30990 30991 (void)jenv; 30992 (void)jcls; 30993 (void)jarg1_; 30994 arg1 = *(btRaycastVehicle **)&jarg1; 30995 arg2 = (int)jarg2; 30996 result = (btTransform *) &((btRaycastVehicle const *)arg1)->getWheelTransformWS(arg2); 30997 jresult = gdx_getReturnMatrix4(jenv); 30998 gdx_setMatrix4FrombtTransform(jenv, jresult, result); 30999 return jresult; 31000 } 31001 31002 31003 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) { 31004 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31005 int arg2 ; 31006 bool arg3 ; 31007 31008 (void)jenv; 31009 (void)jcls; 31010 (void)jarg1_; 31011 arg1 = *(btRaycastVehicle **)&jarg1; 31012 arg2 = (int)jarg2; 31013 arg3 = jarg3 ? true : false; 31014 (arg1)->updateWheelTransform(arg2,arg3); 31015 } 31016 31017 31018 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 31019 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31020 int arg2 ; 31021 31022 (void)jenv; 31023 (void)jcls; 31024 (void)jarg1_; 31025 arg1 = *(btRaycastVehicle **)&jarg1; 31026 arg2 = (int)jarg2; 31027 (arg1)->updateWheelTransform(arg2); 31028 } 31029 31030 31031 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1addWheel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jobject jarg3, jobject jarg4, jfloat jarg5, jfloat jarg6, jlong jarg7, jobject jarg7_, jboolean jarg8) { 31032 jlong jresult = 0 ; 31033 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31034 btVector3 *arg2 = 0 ; 31035 btVector3 *arg3 = 0 ; 31036 btVector3 *arg4 = 0 ; 31037 btScalar arg5 ; 31038 btScalar arg6 ; 31039 btRaycastVehicle::btVehicleTuning *arg7 = 0 ; 31040 bool arg8 ; 31041 btWheelInfo *result = 0 ; 31042 31043 (void)jenv; 31044 (void)jcls; 31045 (void)jarg1_; 31046 (void)jarg7_; 31047 arg1 = *(btRaycastVehicle **)&jarg1; 31048 btVector3 local_arg2; 31049 gdx_setbtVector3FromVector3(jenv, local_arg2, jarg2); 31050 arg2 = &local_arg2; 31051 gdxAutoCommitVector3 auto_commit_arg2(jenv, jarg2, &local_arg2); 31052 btVector3 local_arg3; 31053 gdx_setbtVector3FromVector3(jenv, local_arg3, jarg3); 31054 arg3 = &local_arg3; 31055 gdxAutoCommitVector3 auto_commit_arg3(jenv, jarg3, &local_arg3); 31056 btVector3 local_arg4; 31057 gdx_setbtVector3FromVector3(jenv, local_arg4, jarg4); 31058 arg4 = &local_arg4; 31059 gdxAutoCommitVector3 auto_commit_arg4(jenv, jarg4, &local_arg4); 31060 arg5 = (btScalar)jarg5; 31061 arg6 = (btScalar)jarg6; 31062 arg7 = *(btRaycastVehicle::btVehicleTuning **)&jarg7; 31063 if (!arg7) { 31064 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btRaycastVehicle::btVehicleTuning const & reference is null"); 31065 return 0; 31066 } 31067 arg8 = jarg8 ? true : false; 31068 result = (btWheelInfo *) &(arg1)->addWheel((btVector3 const &)*arg2,(btVector3 const &)*arg3,(btVector3 const &)*arg4,arg5,arg6,(btRaycastVehicle::btVehicleTuning const &)*arg7,arg8); 31069 *(btWheelInfo **)&jresult = result; 31070 return jresult; 31071 } 31072 31073 31074 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getNumWheels(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31075 jint jresult = 0 ; 31076 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31077 int result; 31078 31079 (void)jenv; 31080 (void)jcls; 31081 (void)jarg1_; 31082 arg1 = *(btRaycastVehicle **)&jarg1; 31083 result = (int)((btRaycastVehicle const *)arg1)->getNumWheels(); 31084 jresult = (jint)result; 31085 return jresult; 31086 } 31087 31088 31089 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1wheelInfo_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) { 31090 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31091 btAlignedObjectArray< btWheelInfo > *arg2 = (btAlignedObjectArray< btWheelInfo > *) 0 ; 31092 31093 (void)jenv; 31094 (void)jcls; 31095 (void)jarg1_; 31096 arg1 = *(btRaycastVehicle **)&jarg1; 31097 arg2 = *(btAlignedObjectArray< btWheelInfo > **)&jarg2; 31098 if (arg1) (arg1)->m_wheelInfo = *arg2; 31099 } 31100 31101 31102 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1wheelInfo_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31103 jlong jresult = 0 ; 31104 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31105 btAlignedObjectArray< btWheelInfo > *result = 0 ; 31106 31107 (void)jenv; 31108 (void)jcls; 31109 (void)jarg1_; 31110 arg1 = *(btRaycastVehicle **)&jarg1; 31111 result = (btAlignedObjectArray< btWheelInfo > *)& ((arg1)->m_wheelInfo); 31112 *(btAlignedObjectArray< btWheelInfo > **)&jresult = result; 31113 return jresult; 31114 } 31115 31116 31117 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getWheelInfo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 31118 jlong jresult = 0 ; 31119 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31120 int arg2 ; 31121 btWheelInfo *result = 0 ; 31122 31123 (void)jenv; 31124 (void)jcls; 31125 (void)jarg1_; 31126 arg1 = *(btRaycastVehicle **)&jarg1; 31127 arg2 = (int)jarg2; 31128 result = (btWheelInfo *) &((btRaycastVehicle const *)arg1)->getWheelInfo(arg2); 31129 *(btWheelInfo **)&jresult = result; 31130 return jresult; 31131 } 31132 31133 31134 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransformsWS_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) { 31135 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31136 btWheelInfo *arg2 = 0 ; 31137 bool arg3 ; 31138 31139 (void)jenv; 31140 (void)jcls; 31141 (void)jarg1_; 31142 (void)jarg2_; 31143 arg1 = *(btRaycastVehicle **)&jarg1; 31144 arg2 = *(btWheelInfo **)&jarg2; 31145 if (!arg2) { 31146 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null"); 31147 return ; 31148 } 31149 arg3 = jarg3 ? true : false; 31150 (arg1)->updateWheelTransformsWS(*arg2,arg3); 31151 } 31152 31153 31154 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateWheelTransformsWS_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { 31155 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31156 btWheelInfo *arg2 = 0 ; 31157 31158 (void)jenv; 31159 (void)jcls; 31160 (void)jarg1_; 31161 (void)jarg2_; 31162 arg1 = *(btRaycastVehicle **)&jarg1; 31163 arg2 = *(btWheelInfo **)&jarg2; 31164 if (!arg2) { 31165 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "btWheelInfo & reference is null"); 31166 return ; 31167 } 31168 (arg1)->updateWheelTransformsWS(*arg2); 31169 } 31170 31171 31172 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setBrake(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2, jint jarg3) { 31173 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31174 btScalar arg2 ; 31175 int arg3 ; 31176 31177 (void)jenv; 31178 (void)jcls; 31179 (void)jarg1_; 31180 arg1 = *(btRaycastVehicle **)&jarg1; 31181 arg2 = (btScalar)jarg2; 31182 arg3 = (int)jarg3; 31183 (arg1)->setBrake(arg2,arg3); 31184 } 31185 31186 31187 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setPitchControl(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 31188 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31189 btScalar arg2 ; 31190 31191 (void)jenv; 31192 (void)jcls; 31193 (void)jarg1_; 31194 arg1 = *(btRaycastVehicle **)&jarg1; 31195 arg2 = (btScalar)jarg2; 31196 (arg1)->setPitchControl(arg2); 31197 } 31198 31199 31200 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateSuspension(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 31201 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31202 btScalar arg2 ; 31203 31204 (void)jenv; 31205 (void)jcls; 31206 (void)jarg1_; 31207 arg1 = *(btRaycastVehicle **)&jarg1; 31208 arg2 = (btScalar)jarg2; 31209 (arg1)->updateSuspension(arg2); 31210 } 31211 31212 31213 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1updateFriction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jfloat jarg2) { 31214 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31215 btScalar arg2 ; 31216 31217 (void)jenv; 31218 (void)jcls; 31219 (void)jarg1_; 31220 arg1 = *(btRaycastVehicle **)&jarg1; 31221 arg2 = (btScalar)jarg2; 31222 (arg1)->updateFriction(arg2); 31223 } 31224 31225 31226 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRigidBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31227 jlong jresult = 0 ; 31228 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31229 btRigidBody *result = 0 ; 31230 31231 (void)jenv; 31232 (void)jcls; 31233 (void)jarg1_; 31234 arg1 = *(btRaycastVehicle **)&jarg1; 31235 result = (btRigidBody *)(arg1)->getRigidBody(); 31236 *(btRigidBody **)&jresult = result; 31237 return jresult; 31238 } 31239 31240 31241 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getRightAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31242 jint jresult = 0 ; 31243 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31244 int result; 31245 31246 (void)jenv; 31247 (void)jcls; 31248 (void)jarg1_; 31249 arg1 = *(btRaycastVehicle **)&jarg1; 31250 result = (int)((btRaycastVehicle const *)arg1)->getRightAxis(); 31251 jresult = (jint)result; 31252 return jresult; 31253 } 31254 31255 31256 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUpAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31257 jint jresult = 0 ; 31258 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31259 int result; 31260 31261 (void)jenv; 31262 (void)jcls; 31263 (void)jarg1_; 31264 arg1 = *(btRaycastVehicle **)&jarg1; 31265 result = (int)((btRaycastVehicle const *)arg1)->getUpAxis(); 31266 jresult = (jint)result; 31267 return jresult; 31268 } 31269 31270 31271 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getForwardAxis(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31272 jint jresult = 0 ; 31273 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31274 int result; 31275 31276 (void)jenv; 31277 (void)jcls; 31278 (void)jarg1_; 31279 arg1 = *(btRaycastVehicle **)&jarg1; 31280 result = (int)((btRaycastVehicle const *)arg1)->getForwardAxis(); 31281 jresult = (jint)result; 31282 return jresult; 31283 } 31284 31285 31286 SWIGEXPORT jobject JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getForwardVector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31287 jobject jresult = 0 ; 31288 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31289 btVector3 result; 31290 31291 (void)jenv; 31292 (void)jcls; 31293 (void)jarg1_; 31294 arg1 = *(btRaycastVehicle **)&jarg1; 31295 result = ((btRaycastVehicle const *)arg1)->getForwardVector(); 31296 jresult = gdx_getReturnVector3(jenv); 31297 gdx_setVector3FrombtVector3(jenv, jresult, result); 31298 return jresult; 31299 } 31300 31301 31302 SWIGEXPORT jfloat JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getCurrentSpeedKmHour(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31303 jfloat jresult = 0 ; 31304 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31305 btScalar result; 31306 31307 (void)jenv; 31308 (void)jcls; 31309 (void)jarg1_; 31310 arg1 = *(btRaycastVehicle **)&jarg1; 31311 result = (btScalar)((btRaycastVehicle const *)arg1)->getCurrentSpeedKmHour(); 31312 jresult = (jfloat)result; 31313 return jresult; 31314 } 31315 31316 31317 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setCoordinateSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) { 31318 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31319 int arg2 ; 31320 int arg3 ; 31321 int arg4 ; 31322 31323 (void)jenv; 31324 (void)jcls; 31325 (void)jarg1_; 31326 arg1 = *(btRaycastVehicle **)&jarg1; 31327 arg2 = (int)jarg2; 31328 arg3 = (int)jarg3; 31329 arg4 = (int)jarg4; 31330 (arg1)->setCoordinateSystem(arg2,arg3,arg4); 31331 } 31332 31333 31334 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31335 jint jresult = 0 ; 31336 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31337 int result; 31338 31339 (void)jenv; 31340 (void)jcls; 31341 (void)jarg1_; 31342 arg1 = *(btRaycastVehicle **)&jarg1; 31343 result = (int)((btRaycastVehicle const *)arg1)->getUserConstraintType(); 31344 jresult = (jint)result; 31345 return jresult; 31346 } 31347 31348 31349 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setUserConstraintType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 31350 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31351 int arg2 ; 31352 31353 (void)jenv; 31354 (void)jcls; 31355 (void)jarg1_; 31356 arg1 = *(btRaycastVehicle **)&jarg1; 31357 arg2 = (int)jarg2; 31358 (arg1)->setUserConstraintType(arg2); 31359 } 31360 31361 31362 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1setUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { 31363 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31364 int arg2 ; 31365 31366 (void)jenv; 31367 (void)jcls; 31368 (void)jarg1_; 31369 arg1 = *(btRaycastVehicle **)&jarg1; 31370 arg2 = (int)jarg2; 31371 (arg1)->setUserConstraintId(arg2); 31372 } 31373 31374 31375 SWIGEXPORT jint JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1getUserConstraintId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31376 jint jresult = 0 ; 31377 btRaycastVehicle *arg1 = (btRaycastVehicle *) 0 ; 31378 int result; 31379 31380 (void)jenv; 31381 (void)jcls; 31382 (void)jarg1_; 31383 arg1 = *(btRaycastVehicle **)&jarg1; 31384 result = (int)((btRaycastVehicle const *)arg1)->getUserConstraintId(); 31385 jresult = (jint)result; 31386 return jresult; 31387 } 31388 31389 31390 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_new_1btDefaultVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { 31391 jlong jresult = 0 ; 31392 btDynamicsWorld *arg1 = (btDynamicsWorld *) 0 ; 31393 btDefaultVehicleRaycaster *result = 0 ; 31394 31395 (void)jenv; 31396 (void)jcls; 31397 (void)jarg1_; 31398 arg1 = *(btDynamicsWorld **)&jarg1; 31399 result = (btDefaultVehicleRaycaster *)new btDefaultVehicleRaycaster(arg1); 31400 *(btDefaultVehicleRaycaster **)&jresult = result; 31401 return jresult; 31402 } 31403 31404 31405 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_delete_1btDefaultVehicleRaycaster(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31406 btDefaultVehicleRaycaster *arg1 = (btDefaultVehicleRaycaster *) 0 ; 31407 31408 (void)jenv; 31409 (void)jcls; 31410 arg1 = *(btDefaultVehicleRaycaster **)&jarg1; 31411 delete arg1; 31412 } 31413 31414 31415 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31416 jlong baseptr = 0; 31417 (void)jenv; 31418 (void)jcls; 31419 *(btCollisionObject **)&baseptr = *(btRigidBody **)&jarg1; 31420 return baseptr; 31421 } 31422 31423 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btTypedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31424 jlong baseptr = 0; 31425 (void)jenv; 31426 (void)jcls; 31427 *(btTypedObject **)&baseptr = *(btTypedConstraint **)&jarg1; 31428 return baseptr; 31429 } 31430 31431 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31432 jlong baseptr = 0; 31433 (void)jenv; 31434 (void)jcls; 31435 *(btCollisionWorld **)&baseptr = *(btDynamicsWorld **)&jarg1; 31436 return baseptr; 31437 } 31438 31439 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSimpleDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31440 jlong baseptr = 0; 31441 (void)jenv; 31442 (void)jcls; 31443 *(btDynamicsWorld **)&baseptr = *(btSimpleDynamicsWorld **)&jarg1; 31444 return baseptr; 31445 } 31446 31447 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_CustomActionInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31448 jlong baseptr = 0; 31449 (void)jenv; 31450 (void)jcls; 31451 *(btActionInterface **)&baseptr = *(CustomActionInterface **)&jarg1; 31452 return baseptr; 31453 } 31454 31455 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDiscreteDynamicsWorld_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31456 jlong baseptr = 0; 31457 (void)jenv; 31458 (void)jcls; 31459 *(btDynamicsWorld **)&baseptr = *(btDiscreteDynamicsWorld **)&jarg1; 31460 return baseptr; 31461 } 31462 31463 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btCharacterControllerInterface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31464 jlong baseptr = 0; 31465 (void)jenv; 31466 (void)jcls; 31467 *(btActionInterface **)&baseptr = *(btCharacterControllerInterface **)&jarg1; 31468 return baseptr; 31469 } 31470 31471 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btKinematicCharacterController_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31472 jlong baseptr = 0; 31473 (void)jenv; 31474 (void)jcls; 31475 *(btCharacterControllerInterface **)&baseptr = *(btKinematicCharacterController **)&jarg1; 31476 return baseptr; 31477 } 31478 31479 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactSolverInfo_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31480 jlong baseptr = 0; 31481 (void)jenv; 31482 (void)jcls; 31483 *(btContactSolverInfoData **)&baseptr = *(btContactSolverInfo **)&jarg1; 31484 return baseptr; 31485 } 31486 31487 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSequentialImpulseConstraintSolver_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31488 jlong baseptr = 0; 31489 (void)jenv; 31490 (void)jcls; 31491 *(btConstraintSolver **)&baseptr = *(btSequentialImpulseConstraintSolver **)&jarg1; 31492 return baseptr; 31493 } 31494 31495 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btSliderConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31496 jlong baseptr = 0; 31497 (void)jenv; 31498 (void)jcls; 31499 *(btTypedConstraint **)&baseptr = *(btSliderConstraint **)&jarg1; 31500 return baseptr; 31501 } 31502 31503 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btPoint2PointConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31504 jlong baseptr = 0; 31505 (void)jenv; 31506 (void)jcls; 31507 *(btTypedConstraint **)&baseptr = *(btPoint2PointConstraint **)&jarg1; 31508 return baseptr; 31509 } 31510 31511 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31512 jlong baseptr = 0; 31513 (void)jenv; 31514 (void)jcls; 31515 *(btTypedConstraint **)&baseptr = *(btGeneric6DofConstraint **)&jarg1; 31516 return baseptr; 31517 } 31518 31519 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btUniversalConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31520 jlong baseptr = 0; 31521 (void)jenv; 31522 (void)jcls; 31523 *(btGeneric6DofConstraint **)&baseptr = *(btUniversalConstraint **)&jarg1; 31524 return baseptr; 31525 } 31526 31527 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btContactConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31528 jlong baseptr = 0; 31529 (void)jenv; 31530 (void)jcls; 31531 *(btTypedConstraint **)&baseptr = *(btContactConstraint **)&jarg1; 31532 return baseptr; 31533 } 31534 31535 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btConeTwistConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31536 jlong baseptr = 0; 31537 (void)jenv; 31538 (void)jcls; 31539 *(btTypedConstraint **)&baseptr = *(btConeTwistConstraint **)&jarg1; 31540 return baseptr; 31541 } 31542 31543 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpringConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31544 jlong baseptr = 0; 31545 (void)jenv; 31546 (void)jcls; 31547 *(btGeneric6DofConstraint **)&baseptr = *(btGeneric6DofSpringConstraint **)&jarg1; 31548 return baseptr; 31549 } 31550 31551 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btGeneric6DofSpring2Constraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31552 jlong baseptr = 0; 31553 (void)jenv; 31554 (void)jcls; 31555 *(btTypedConstraint **)&baseptr = *(btGeneric6DofSpring2Constraint **)&jarg1; 31556 return baseptr; 31557 } 31558 31559 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31560 jlong baseptr = 0; 31561 (void)jenv; 31562 (void)jcls; 31563 *(btTypedConstraint **)&baseptr = *(btHingeConstraint **)&jarg1; 31564 return baseptr; 31565 } 31566 31567 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHingeAccumulatedAngleConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31568 jlong baseptr = 0; 31569 (void)jenv; 31570 (void)jcls; 31571 *(btHingeConstraint **)&baseptr = *(btHingeAccumulatedAngleConstraint **)&jarg1; 31572 return baseptr; 31573 } 31574 31575 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btHinge2Constraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31576 jlong baseptr = 0; 31577 (void)jenv; 31578 (void)jcls; 31579 *(btGeneric6DofSpring2Constraint **)&baseptr = *(btHinge2Constraint **)&jarg1; 31580 return baseptr; 31581 } 31582 31583 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btFixedConstraint_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31584 jlong baseptr = 0; 31585 (void)jenv; 31586 (void)jcls; 31587 *(btGeneric6DofSpring2Constraint **)&baseptr = *(btFixedConstraint **)&jarg1; 31588 return baseptr; 31589 } 31590 31591 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRaycastVehicle_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31592 jlong baseptr = 0; 31593 (void)jenv; 31594 (void)jcls; 31595 *(btActionInterface **)&baseptr = *(btRaycastVehicle **)&jarg1; 31596 return baseptr; 31597 } 31598 31599 SWIGEXPORT jlong JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDefaultVehicleRaycaster_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) { 31600 jlong baseptr = 0; 31601 (void)jenv; 31602 (void)jcls; 31603 *(btVehicleRaycaster **)&baseptr = *(btDefaultVehicleRaycaster **)&jarg1; 31604 return baseptr; 31605 } 31606 31607 SWIGEXPORT void JNICALL Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_swig_1module_1init(JNIEnv *jenv, jclass jcls) { 31608 int i; 31609 31610 static struct { 31611 const char *method; 31612 const char *signature; 31613 } methods[3] = { 31614 { 31615 "SwigDirector_InternalTickCallback_onInternalTick", "(Lcom/badlogic/gdx/physics/bullet/dynamics/InternalTickCallback;JF)V" 31616 }, 31617 { 31618 "SwigDirector_CustomActionInterface_updateAction", "(Lcom/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface;F)V" 31619 }, 31620 { 31621 "SwigDirector_CustomActionInterface_debugDraw", "(Lcom/badlogic/gdx/physics/bullet/dynamics/CustomActionInterface;)V" 31622 } 31623 }; 31624 Swig::jclass_DynamicsJNI = (jclass) jenv->NewGlobalRef(jcls); 31625 if (!Swig::jclass_DynamicsJNI) return; 31626 for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) { 31627 Swig::director_method_ids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature); 31628 if (!Swig::director_method_ids[i]) return; 31629 } 31630 } 31631 31632 31633 #ifdef __cplusplus 31634 } 31635 #endif 31636 31637