#include "bullet_glue.h" #include "BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h" #include "BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h" #include "BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h" #include "BulletCollision/CollisionDispatch/btCollisionObject.h" #include "BulletDynamics/ConstraintSolver/btConeTwistConstraint.h" #include "BulletCollision/BroadphaseCollision/btAxisSweep3.h" #include "BulletCollision/BroadphaseCollision/btOverlappingPairCache.h" #include "BulletDynamics/Vehicle/btVehicleRaycaster.h" #include "LinearMath/btDefaultMotionState.h" #include "BulletCollision/CollisionShapes/btBoxShape.h" #include "BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h" #include "BulletDynamics/Dynamics/btRigidBody.h" #include "BulletDynamics/ConstraintSolver/btContactSolverInfo.h" #include "LinearMath/btQuaternion.h" #include "BulletCollision/Gimpact/btGImpactShape.h" #include "BulletCollision/CollisionShapes/btTriangleMesh.h" #include "BulletCollision/CollisionShapes/btSphereShape.h" #include "BulletCollision/BroadphaseCollision/btDispatcher.h" #include "BulletCollision/CollisionDispatch/btCollisionConfiguration.h" #include "BulletDynamics/Dynamics/btActionInterface.h" #include "BulletCollision/CollisionShapes/btConeShape.h" #include "BulletDynamics/Character/btKinematicCharacterController.h" #include "BulletDynamics/ConstraintSolver/btHingeConstraint.h" #include "BulletCollision/CollisionShapes/btConvexHullShape.h" #include "BulletCollision/NarrowPhaseCollision/btManifoldPoint.h" #include "BulletCollision/CollisionShapes/btCylinderShape.h" #include "BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h" #include "BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h" #include "BulletDynamics/Vehicle/btRaycastVehicle.h" #include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h" #include "BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h" #include "BulletCollision/CollisionShapes/btTriangleMeshShape.h" #include "BulletCollision/BroadphaseCollision/btDbvtBroadphase.h" #include "BulletDynamics/ConstraintSolver/btFixedConstraint.h" #include "BulletCollision/CollisionShapes/btStridingMeshInterface.h" #include "BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h" #include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h" #include "LinearMath/btMotionState.h" #include "BulletDynamics/Vehicle/btWheelInfo.h" #include "BulletCollision/CollisionShapes/btCompoundShape.h" #include "BulletCollision/CollisionShapes/btCollisionShape.h" #include "BulletDynamics/ConstraintSolver/btConstraintSolver.h" #include "LinearMath/btTransform.h" #include "BulletDynamics/Dynamics/btDynamicsWorld.h" #include "LinearMath/btMatrix3x3.h" #include "BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h" #include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" #include "BulletCollision/CollisionDispatch/btCollisionWorld.h" #include "BulletDynamics/ConstraintSolver/btSliderConstraint.h" #include "BulletCollision/CollisionShapes/btStaticPlaneShape.h" #include "LinearMath/btVector3.h" #include "BulletCollision/CollisionShapes/btConvexShape.h" #include "BulletCollision/CollisionDispatch/btCollisionDispatcher.h" #include "BulletCollision/CollisionShapes/btCapsuleShape.h" #include "BulletCollision/CollisionDispatch/btGhostObject.h" #include "BulletSoftBody/btSoftBody.h" #include "BulletSoftBody/btSoftRigidDynamicsWorld.h" #include "BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h" #include "BulletSoftBody/btSoftBodyHelpers.h" #include "BulletSoftBody/btDefaultSoftBodySolver.h" #include "BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h" #include "BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h" namespace laya { ADDJSCLSINFO(JSLayaMotionStateHandler, JSObjNode); //TODO class ConcreteContactResultCallback : public btCollisionWorld::ContactResultCallback { public: virtual btScalar addSingleResult(btManifoldPoint& arg0, const btCollisionObjectWrapper* arg1, int arg2, int arg3, const btCollisionObjectWrapper* arg4, int arg5, int arg6) { return 0; } void __destroy__() { } }; // btCollisionShape void btCollisionShape_setLocalScaling_1(btCollisionShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCollisionShape_getLocalScaling_0(btCollisionShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCollisionShape_calculateLocalInertia_2(btCollisionShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCollisionShape_setMargin_1(btCollisionShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCollisionShape_getMargin_0(btCollisionShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btCollisionShape___destroy___0(btCollisionShapeAddr self) { delete reinterpret_cast(self); } // btCollisionObject btCollisionObjectAddr btCollisionObject_btCollisionObject_0() { btCollisionObject* newObj = new btCollisionObject(); return reinterpret_cast(newObj); } void btCollisionObject_setAnisotropicFriction_2(btCollisionObjectAddr self, btVector3Addr arg0, long_t arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAnisotropicFriction(*pArg0, arg1); } btCollisionShapeAddr btCollisionObject_getCollisionShape_0(btCollisionObjectAddr self) { btCollisionShape* ret = reinterpret_cast(self)->getCollisionShape(); return reinterpret_cast(ret); } void btCollisionObject_setContactProcessingThreshold_1(btCollisionObjectAddr self, double arg0) { reinterpret_cast(self)->setContactProcessingThreshold(arg0); } void btCollisionObject_setActivationState_1(btCollisionObjectAddr self, long_t arg0) { reinterpret_cast(self)->setActivationState(arg0); } void btCollisionObject_forceActivationState_1(btCollisionObjectAddr self, long_t arg0) { reinterpret_cast(self)->forceActivationState(arg0); } void btCollisionObject_activate_0(btCollisionObjectAddr self) { reinterpret_cast(self)->activate(); } void btCollisionObject_activate_1(btCollisionObjectAddr self, bool arg0) { reinterpret_cast(self)->activate(arg0); } bool btCollisionObject_isActive_0(btCollisionObjectAddr self) { bool ret = reinterpret_cast(self)->isActive(); return ret; } bool btCollisionObject_isKinematicObject_0(btCollisionObjectAddr self) { bool ret = reinterpret_cast(self)->isKinematicObject(); return ret; } bool btCollisionObject_isStaticObject_0(btCollisionObjectAddr self) { bool ret = reinterpret_cast(self)->isStaticObject(); return ret; } bool btCollisionObject_isStaticOrKinematicObject_0(btCollisionObjectAddr self) { bool ret = reinterpret_cast(self)->isStaticOrKinematicObject(); return ret; } double btCollisionObject_getRestitution_0(btCollisionObjectAddr self) { double ret = reinterpret_cast(self)->getRestitution(); return ret; } void btCollisionObject_setRestitution_1(btCollisionObjectAddr self, double arg0) { reinterpret_cast(self)->setRestitution(arg0); } double btCollisionObject_getFriction_0(btCollisionObjectAddr self) { double ret = reinterpret_cast(self)->getFriction(); return ret; } void btCollisionObject_setFriction_1(btCollisionObjectAddr self, double arg0) { reinterpret_cast(self)->setFriction(arg0); } double btCollisionObject_getRollingFriction_0(btCollisionObjectAddr self) { double ret = reinterpret_cast(self)->getRollingFriction(); return ret; } void btCollisionObject_setRollingFriction_1(btCollisionObjectAddr self, double arg0) { reinterpret_cast(self)->setRollingFriction(arg0); } long_t btCollisionObject_getCollisionFlags_0(btCollisionObjectAddr self) { long_t ret = reinterpret_cast(self)->getCollisionFlags(); return ret; } void btCollisionObject_setCollisionFlags_1(btCollisionObjectAddr self, long_t arg0) { reinterpret_cast(self)->setCollisionFlags(arg0); } btTransformAddr btCollisionObject_getWorldTransform_0(btCollisionObjectAddr self) { btTransform& ret = reinterpret_cast(self)->getWorldTransform(); return reinterpret_cast(&ret); } void btCollisionObject_setWorldTransform_1(btCollisionObjectAddr self, btTransformAddr arg0) { const btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } void btCollisionObject_setCollisionShape_1(btCollisionObjectAddr self, btCollisionShapeAddr arg0) { btCollisionShape* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setCollisionShape(pArg0); } double btCollisionObject_getCcdMotionThreshold_0(btCollisionObjectAddr self) { double ret = reinterpret_cast(self)->getCcdMotionThreshold(); return ret; } void btCollisionObject_setCcdMotionThreshold_1(btCollisionObjectAddr self, double arg0) { reinterpret_cast(self)->setCcdMotionThreshold(arg0); } double btCollisionObject_getCcdSweptSphereRadius_0(btCollisionObjectAddr self) { double ret = reinterpret_cast(self)->getCcdSweptSphereRadius(); return ret; } void btCollisionObject_setCcdSweptSphereRadius_1(btCollisionObjectAddr self, double arg0) { reinterpret_cast(self)->setCcdSweptSphereRadius(arg0); } long_t btCollisionObject_getUserIndex_0(btCollisionObjectAddr self) { long_t ret = reinterpret_cast(self)->getUserIndex(); return ret; } void btCollisionObject_setUserIndex_1(btCollisionObjectAddr self, long_t arg0) { reinterpret_cast(self)->setUserIndex(arg0); } VoidPtrAddr btCollisionObject_getUserPointer_0(btCollisionObjectAddr self) { void* ret = reinterpret_cast(self)->getUserPointer(); return reinterpret_cast(ret); } void btCollisionObject_setUserPointer_1(btCollisionObjectAddr self, VoidPtrAddr arg0) { void* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setUserPointer(pArg0); } btVector3Addr btCollisionObject_getInterpolationAngularVelocity_0(btCollisionObjectAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationAngularVelocity(); return reinterpret_cast(&ret); } void btCollisionObject_setInterpolationAngularVelocity_1(btCollisionObjectAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationAngularVelocity(*pArg0); } btVector3Addr btCollisionObject_getInterpolationLinearVelocity_0(btCollisionObjectAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationLinearVelocity(); return reinterpret_cast(&ret); } void btCollisionObject_setInterpolationLinearVelocity_1(btCollisionObjectAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationLinearVelocity(*pArg0); } btBroadphaseProxyAddr btCollisionObject_getBroadphaseHandle_0(btCollisionObjectAddr self) { btBroadphaseProxy* ret = reinterpret_cast(self)->getBroadphaseHandle(); return reinterpret_cast(ret); } long_t btCollisionObject_getActivationState_0(btCollisionObjectAddr self) { long_t ret = reinterpret_cast(self)->getActivationState(); return ret; } void btCollisionObject___destroy___0(btCollisionObjectAddr self) { delete reinterpret_cast(self); } // btTypedConstraint void btTypedConstraint_enableFeedback_1(btTypedConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btTypedConstraint_getBreakingImpulseThreshold_0(btTypedConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btTypedConstraint_setBreakingImpulseThreshold_1(btTypedConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btTypedConstraint_getParam_2(btTypedConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btTypedConstraint_setParam_3(btTypedConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btTypedConstraint___destroy___0(btTypedConstraintAddr self) { delete reinterpret_cast(self); } // btCollisionWorld btDispatcherAddr btCollisionWorld_getDispatcher_0(btCollisionWorldAddr self) { btDispatcher* ret = reinterpret_cast(self)->getDispatcher(); return reinterpret_cast(ret); } void btCollisionWorld_rayTest_3(btCollisionWorldAddr self, btVector3Addr arg0, btVector3Addr arg1, RayResultCallbackAddr arg2) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::RayResultCallback* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->rayTest(*pArg0, *pArg1, *pArg2); } btOverlappingPairCacheAddr btCollisionWorld_getPairCache_0(btCollisionWorldAddr self) { btOverlappingPairCache* ret = reinterpret_cast(self)->getPairCache(); return reinterpret_cast(ret); } btDispatcherInfoAddr btCollisionWorld_getDispatchInfo_0(btCollisionWorldAddr self) { btDispatcherInfo& ret = reinterpret_cast(self)->getDispatchInfo(); return reinterpret_cast(&ret); } void btCollisionWorld_addCollisionObject_1(btCollisionWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0); } void btCollisionWorld_addCollisionObject_2(btCollisionWorldAddr self, btCollisionObjectAddr arg0, long_t arg1) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0, arg1); } void btCollisionWorld_addCollisionObject_3(btCollisionWorldAddr self, btCollisionObjectAddr arg0, long_t arg1, long_t arg2) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0, arg1, arg2); } void btCollisionWorld_removeCollisionObject_1(btCollisionWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeCollisionObject(pArg0); } btBroadphaseInterfaceAddr btCollisionWorld_getBroadphase_0(btCollisionWorldAddr self) { const btBroadphaseInterface* ret = reinterpret_cast(self)->getBroadphase(); return reinterpret_cast(ret); } void btCollisionWorld_convexSweepTest_5(btCollisionWorldAddr self, btConvexShapeAddr arg0, btTransformAddr arg1, btTransformAddr arg2, ConvexResultCallbackAddr arg3, double arg4) { const btConvexShape* pArg0 = reinterpret_cast(arg0); const btTransform* pArg1 = reinterpret_cast(arg1); const btTransform* pArg2 = reinterpret_cast(arg2); btCollisionWorld::ConvexResultCallback* pArg3 = reinterpret_cast(arg3); reinterpret_cast(self)->convexSweepTest(pArg0, *pArg1, *pArg2, *pArg3, arg4); } void btCollisionWorld_contactPairTest_3(btCollisionWorldAddr self, btCollisionObjectAddr arg0, btCollisionObjectAddr arg1, ContactResultCallbackAddr arg2) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionObject* pArg1 = reinterpret_cast(arg1); btCollisionWorld::ContactResultCallback* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->contactPairTest(pArg0, pArg1, *pArg2); } void btCollisionWorld_contactTest_2(btCollisionWorldAddr self, btCollisionObjectAddr arg0, ContactResultCallbackAddr arg1) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionWorld::ContactResultCallback* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->contactTest(pArg0, *pArg1); } void btCollisionWorld_updateSingleAabb_1(btCollisionWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateSingleAabb(pArg0); } void btCollisionWorld___destroy___0(btCollisionWorldAddr self) { delete reinterpret_cast(self); } // btConcaveShape void btConcaveShape_setLocalScaling_1(btConcaveShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConcaveShape_getLocalScaling_0(btConcaveShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConcaveShape_calculateLocalInertia_2(btConcaveShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConcaveShape___destroy___0(btConcaveShapeAddr self) { delete reinterpret_cast(self); } // btCapsuleShape btCapsuleShapeAddr btCapsuleShape_btCapsuleShape_2(double arg0, double arg1) { btCapsuleShape* newObj = new btCapsuleShape(arg0, arg1); return reinterpret_cast(newObj); } void btCapsuleShape_setMargin_1(btCapsuleShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCapsuleShape_getMargin_0(btCapsuleShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } long_t btCapsuleShape_getUpAxis_0(btCapsuleShapeAddr self) { long_t ret = reinterpret_cast(self)->getUpAxis(); return ret; } double btCapsuleShape_getRadius_0(btCapsuleShapeAddr self) { double ret = reinterpret_cast(self)->getRadius(); return ret; } double btCapsuleShape_getHalfHeight_0(btCapsuleShapeAddr self) { double ret = reinterpret_cast(self)->getHalfHeight(); return ret; } void btCapsuleShape_setLocalScaling_1(btCapsuleShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCapsuleShape_getLocalScaling_0(btCapsuleShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCapsuleShape_calculateLocalInertia_2(btCapsuleShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCapsuleShape___destroy___0(btCapsuleShapeAddr self) { delete reinterpret_cast(self); } // btGImpactShapeInterface void btGImpactShapeInterface_updateBound_0(btGImpactShapeInterfaceAddr self) { reinterpret_cast(self)->updateBound(); } void btGImpactShapeInterface_setLocalScaling_1(btGImpactShapeInterfaceAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btGImpactShapeInterface_getLocalScaling_0(btGImpactShapeInterfaceAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btGImpactShapeInterface_calculateLocalInertia_2(btGImpactShapeInterfaceAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btGImpactShapeInterface___destroy___0(btGImpactShapeInterfaceAddr self) { delete reinterpret_cast(self); } // btDynamicsWorld void btDynamicsWorld_addAction_1(btDynamicsWorldAddr self, btActionInterfaceAddr arg0) { btActionInterface* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addAction(pArg0); } void btDynamicsWorld_removeAction_1(btDynamicsWorldAddr self, btActionInterfaceAddr arg0) { btActionInterface* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeAction(pArg0); } btContactSolverInfoAddr btDynamicsWorld_getSolverInfo_0(btDynamicsWorldAddr self) { btContactSolverInfo& ret = reinterpret_cast(self)->getSolverInfo(); return reinterpret_cast(&ret); } btDispatcherAddr btDynamicsWorld_getDispatcher_0(btDynamicsWorldAddr self) { btDispatcher* ret = reinterpret_cast(self)->getDispatcher(); return reinterpret_cast(ret); } void btDynamicsWorld_rayTest_3(btDynamicsWorldAddr self, btVector3Addr arg0, btVector3Addr arg1, RayResultCallbackAddr arg2) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::RayResultCallback* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->rayTest(*pArg0, *pArg1, *pArg2); } btOverlappingPairCacheAddr btDynamicsWorld_getPairCache_0(btDynamicsWorldAddr self) { btOverlappingPairCache* ret = reinterpret_cast(self)->getPairCache(); return reinterpret_cast(ret); } btDispatcherInfoAddr btDynamicsWorld_getDispatchInfo_0(btDynamicsWorldAddr self) { btDispatcherInfo& ret = reinterpret_cast(self)->getDispatchInfo(); return reinterpret_cast(&ret); } void btDynamicsWorld_addCollisionObject_1(btDynamicsWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0); } void btDynamicsWorld_addCollisionObject_2(btDynamicsWorldAddr self, btCollisionObjectAddr arg0, long_t arg1) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0, arg1); } void btDynamicsWorld_addCollisionObject_3(btDynamicsWorldAddr self, btCollisionObjectAddr arg0, long_t arg1, long_t arg2) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0, arg1, arg2); } void btDynamicsWorld_removeCollisionObject_1(btDynamicsWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeCollisionObject(pArg0); } btBroadphaseInterfaceAddr btDynamicsWorld_getBroadphase_0(btDynamicsWorldAddr self) { const btBroadphaseInterface* ret = reinterpret_cast(self)->getBroadphase(); return reinterpret_cast(ret); } void btDynamicsWorld_convexSweepTest_5(btDynamicsWorldAddr self, btConvexShapeAddr arg0, btTransformAddr arg1, btTransformAddr arg2, ConvexResultCallbackAddr arg3, double arg4) { const btConvexShape* pArg0 = reinterpret_cast(arg0); const btTransform* pArg1 = reinterpret_cast(arg1); const btTransform* pArg2 = reinterpret_cast(arg2); btCollisionWorld::ConvexResultCallback* pArg3 = reinterpret_cast(arg3); reinterpret_cast(self)->convexSweepTest(pArg0, *pArg1, *pArg2, *pArg3, arg4); } void btDynamicsWorld_contactPairTest_3(btDynamicsWorldAddr self, btCollisionObjectAddr arg0, btCollisionObjectAddr arg1, ContactResultCallbackAddr arg2) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionObject* pArg1 = reinterpret_cast(arg1); btCollisionWorld::ContactResultCallback* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->contactPairTest(pArg0, pArg1, *pArg2); } void btDynamicsWorld_contactTest_2(btDynamicsWorldAddr self, btCollisionObjectAddr arg0, ContactResultCallbackAddr arg1) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionWorld::ContactResultCallback* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->contactTest(pArg0, *pArg1); } void btDynamicsWorld_updateSingleAabb_1(btDynamicsWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateSingleAabb(pArg0); } void btDynamicsWorld___destroy___0(btDynamicsWorldAddr self) { delete reinterpret_cast(self); } // btTriangleMeshShape void btTriangleMeshShape_setLocalScaling_1(btTriangleMeshShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btTriangleMeshShape_getLocalScaling_0(btTriangleMeshShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btTriangleMeshShape_calculateLocalInertia_2(btTriangleMeshShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btTriangleMeshShape___destroy___0(btTriangleMeshShapeAddr self) { delete reinterpret_cast(self); } // btGhostObject btGhostObjectAddr btGhostObject_btGhostObject_0() { btGhostObject* newObj = new btGhostObject(); return reinterpret_cast(newObj); } long_t btGhostObject_getNumOverlappingObjects_0(btGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getNumOverlappingObjects(); return ret; } btCollisionObjectAddr btGhostObject_getOverlappingObject_1(btGhostObjectAddr self, long_t arg0) { btCollisionObject* ret = reinterpret_cast(self)->getOverlappingObject(arg0); return reinterpret_cast(ret); } void btGhostObject_setAnisotropicFriction_2(btGhostObjectAddr self, btVector3Addr arg0, long_t arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAnisotropicFriction(*pArg0, arg1); } btCollisionShapeAddr btGhostObject_getCollisionShape_0(btGhostObjectAddr self) { btCollisionShape* ret = reinterpret_cast(self)->getCollisionShape(); return reinterpret_cast(ret); } void btGhostObject_setContactProcessingThreshold_1(btGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setContactProcessingThreshold(arg0); } void btGhostObject_setActivationState_1(btGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->setActivationState(arg0); } void btGhostObject_forceActivationState_1(btGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->forceActivationState(arg0); } void btGhostObject_activate_0(btGhostObjectAddr self) { reinterpret_cast(self)->activate(); } void btGhostObject_activate_1(btGhostObjectAddr self, bool arg0) { reinterpret_cast(self)->activate(arg0); } bool btGhostObject_isActive_0(btGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isActive(); return ret; } bool btGhostObject_isKinematicObject_0(btGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isKinematicObject(); return ret; } bool btGhostObject_isStaticObject_0(btGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isStaticObject(); return ret; } bool btGhostObject_isStaticOrKinematicObject_0(btGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isStaticOrKinematicObject(); return ret; } double btGhostObject_getRestitution_0(btGhostObjectAddr self) { double ret = reinterpret_cast(self)->getRestitution(); return ret; } void btGhostObject_setRestitution_1(btGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setRestitution(arg0); } double btGhostObject_getFriction_0(btGhostObjectAddr self) { double ret = reinterpret_cast(self)->getFriction(); return ret; } void btGhostObject_setFriction_1(btGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setFriction(arg0); } double btGhostObject_getRollingFriction_0(btGhostObjectAddr self) { double ret = reinterpret_cast(self)->getRollingFriction(); return ret; } void btGhostObject_setRollingFriction_1(btGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setRollingFriction(arg0); } long_t btGhostObject_getCollisionFlags_0(btGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getCollisionFlags(); return ret; } void btGhostObject_setCollisionFlags_1(btGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->setCollisionFlags(arg0); } btTransformAddr btGhostObject_getWorldTransform_0(btGhostObjectAddr self) { btTransform& ret = reinterpret_cast(self)->getWorldTransform(); return reinterpret_cast(&ret); } void btGhostObject_setWorldTransform_1(btGhostObjectAddr self, btTransformAddr arg0) { const btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } void btGhostObject_setCollisionShape_1(btGhostObjectAddr self, btCollisionShapeAddr arg0) { btCollisionShape* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setCollisionShape(pArg0); } double btGhostObject_getCcdMotionThreshold_0(btGhostObjectAddr self) { double ret = reinterpret_cast(self)->getCcdMotionThreshold(); return ret; } void btGhostObject_setCcdMotionThreshold_1(btGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setCcdMotionThreshold(arg0); } double btGhostObject_getCcdSweptSphereRadius_0(btGhostObjectAddr self) { double ret = reinterpret_cast(self)->getCcdSweptSphereRadius(); return ret; } void btGhostObject_setCcdSweptSphereRadius_1(btGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setCcdSweptSphereRadius(arg0); } long_t btGhostObject_getUserIndex_0(btGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getUserIndex(); return ret; } void btGhostObject_setUserIndex_1(btGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->setUserIndex(arg0); } VoidPtrAddr btGhostObject_getUserPointer_0(btGhostObjectAddr self) { void* ret = reinterpret_cast(self)->getUserPointer(); return reinterpret_cast(ret); } void btGhostObject_setUserPointer_1(btGhostObjectAddr self, VoidPtrAddr arg0) { void* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setUserPointer(pArg0); } btVector3Addr btGhostObject_getInterpolationAngularVelocity_0(btGhostObjectAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationAngularVelocity(); return reinterpret_cast(&ret); } void btGhostObject_setInterpolationAngularVelocity_1(btGhostObjectAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationAngularVelocity(*pArg0); } btVector3Addr btGhostObject_getInterpolationLinearVelocity_0(btGhostObjectAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationLinearVelocity(); return reinterpret_cast(&ret); } void btGhostObject_setInterpolationLinearVelocity_1(btGhostObjectAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationLinearVelocity(*pArg0); } btBroadphaseProxyAddr btGhostObject_getBroadphaseHandle_0(btGhostObjectAddr self) { btBroadphaseProxy* ret = reinterpret_cast(self)->getBroadphaseHandle(); return reinterpret_cast(ret); } long_t btGhostObject_getActivationState_0(btGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getActivationState(); return ret; } void btGhostObject___destroy___0(btGhostObjectAddr self) { delete reinterpret_cast(self); } // btConeShape btConeShapeAddr btConeShape_btConeShape_2(double arg0, double arg1) { btConeShape* newObj = new btConeShape(arg0, arg1); return reinterpret_cast(newObj); } void btConeShape_setLocalScaling_1(btConeShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConeShape_getLocalScaling_0(btConeShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConeShape_calculateLocalInertia_2(btConeShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConeShape___destroy___0(btConeShapeAddr self) { delete reinterpret_cast(self); } // btActionInterface void btActionInterface_updateAction_2(btActionInterfaceAddr self, btCollisionWorldAddr arg0, double arg1) { btCollisionWorld* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateAction(pArg0, arg1); } void btActionInterface___destroy___0(btActionInterfaceAddr self) { delete reinterpret_cast(self); } // btVector3 btVector3Addr btVector3_btVector3_0() { btVector3* newObj = new btVector3(); return reinterpret_cast(newObj); } btVector3Addr btVector3_btVector3_3(double arg0, double arg1, double arg2) { btVector3* newObj = new btVector3(arg0, arg1, arg2); return reinterpret_cast(newObj); } double btVector3_length_0(btVector3Addr self) { double ret = reinterpret_cast(self)->length(); return ret; } double btVector3_x_0(btVector3Addr self) { double ret = reinterpret_cast(self)->x(); return ret; } double btVector3_y_0(btVector3Addr self) { double ret = reinterpret_cast(self)->y(); return ret; } double btVector3_z_0(btVector3Addr self) { double ret = reinterpret_cast(self)->z(); return ret; } void btVector3_setX_1(btVector3Addr self, double arg0) { reinterpret_cast(self)->setX(arg0); } void btVector3_setY_1(btVector3Addr self, double arg0) { reinterpret_cast(self)->setY(arg0); } void btVector3_setZ_1(btVector3Addr self, double arg0) { reinterpret_cast(self)->setZ(arg0); } void btVector3_setValue_3(btVector3Addr self, double arg0, double arg1, double arg2) { reinterpret_cast(self)->setValue(arg0, arg1, arg2); } void btVector3_normalize_0(btVector3Addr self) { reinterpret_cast(self)->normalize(); } btVector3Addr btVector3_rotate_2(btVector3Addr self, btVector3Addr arg0, double arg1) { static btVector3 temp; btVector3* pArg0 = reinterpret_cast(arg0); temp = reinterpret_cast(self)->rotate(*pArg0, arg1); return reinterpret_cast(&temp); } double btVector3_dot_1(btVector3Addr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); double ret = reinterpret_cast(self)->dot(*pArg0); return ret; } btVector3Addr btVector3_op_mul_1(btVector3Addr self, double arg0) { btVector3* pSelf = reinterpret_cast(self); *pSelf *= arg0; return reinterpret_cast(pSelf); } btVector3Addr btVector3_op_add_1(btVector3Addr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pSelf = reinterpret_cast(self); *pSelf += *pArg0; return reinterpret_cast(pSelf); } btVector3Addr btVector3_op_sub_1(btVector3Addr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pSelf = reinterpret_cast(self); *pSelf -= *pArg0; return reinterpret_cast(pSelf); } void btVector3___destroy___0(btVector3Addr self) { delete reinterpret_cast(self); } // btVehicleRaycaster void btVehicleRaycaster_castRay_3(btVehicleRaycasterAddr self, btVector3Addr arg0, btVector3Addr arg1, btVehicleRaycasterResultAddr arg2) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btDefaultVehicleRaycaster::btVehicleRaycasterResult* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->castRay(*pArg0, *pArg1, *pArg2); } void btVehicleRaycaster___destroy___0(btVehicleRaycasterAddr self) { delete reinterpret_cast(self); } // btQuadWord double btQuadWord_x_0(btQuadWordAddr self) { double ret = reinterpret_cast(self)->x(); return ret; } double btQuadWord_y_0(btQuadWordAddr self) { double ret = reinterpret_cast(self)->y(); return ret; } double btQuadWord_z_0(btQuadWordAddr self) { double ret = reinterpret_cast(self)->z(); return ret; } double btQuadWord_w_0(btQuadWordAddr self) { double ret = reinterpret_cast(self)->w(); return ret; } void btQuadWord_setX_1(btQuadWordAddr self, double arg0) { reinterpret_cast(self)->setX(arg0); } void btQuadWord_setY_1(btQuadWordAddr self, double arg0) { reinterpret_cast(self)->setY(arg0); } void btQuadWord_setZ_1(btQuadWordAddr self, double arg0) { reinterpret_cast(self)->setZ(arg0); } void btQuadWord_setW_1(btQuadWordAddr self, double arg0) { reinterpret_cast(self)->setW(arg0); } void btQuadWord___destroy___0(btQuadWordAddr self) { delete reinterpret_cast(self); } // btCylinderShape btCylinderShapeAddr btCylinderShape_btCylinderShape_1(btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btCylinderShape* newObj = new btCylinderShape(*pArg0); return reinterpret_cast(newObj); } void btCylinderShape_setMargin_1(btCylinderShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCylinderShape_getMargin_0(btCylinderShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btCylinderShape_setLocalScaling_1(btCylinderShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCylinderShape_getLocalScaling_0(btCylinderShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCylinderShape_calculateLocalInertia_2(btCylinderShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCylinderShape___destroy___0(btCylinderShapeAddr self) { delete reinterpret_cast(self); } // btConvexShape void btConvexShape_setLocalScaling_1(btConvexShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConvexShape_getLocalScaling_0(btConvexShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConvexShape_calculateLocalInertia_2(btConvexShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConvexShape_setMargin_1(btConvexShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btConvexShape_getMargin_0(btConvexShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btConvexShape___destroy___0(btConvexShapeAddr self) { delete reinterpret_cast(self); } // btDispatcher long_t btDispatcher_getNumManifolds_0(btDispatcherAddr self) { long_t ret = reinterpret_cast(self)->getNumManifolds(); return ret; } btPersistentManifoldAddr btDispatcher_getManifoldByIndexInternal_1(btDispatcherAddr self, long_t arg0) { btPersistentManifold* ret = reinterpret_cast(self)->getManifoldByIndexInternal(arg0); return reinterpret_cast(ret); } void btDispatcher___destroy___0(btDispatcherAddr self) { delete reinterpret_cast(self); } // btGeneric6DofConstraint btGeneric6DofConstraintAddr btGeneric6DofConstraint_btGeneric6DofConstraint_3(btRigidBodyAddr arg0, btTransformAddr arg1, bool arg2) { btRigidBody* pArg0 = reinterpret_cast(arg0); btTransform* pArg1 = reinterpret_cast(arg1); btGeneric6DofConstraint* newObj = new btGeneric6DofConstraint(*pArg0, *pArg1, arg2); return reinterpret_cast(newObj); } btGeneric6DofConstraintAddr btGeneric6DofConstraint_btGeneric6DofConstraint_5(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3, bool arg4) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btTransform* pArg2 = reinterpret_cast(arg2); btTransform* pArg3 = reinterpret_cast(arg3); btGeneric6DofConstraint* newObj = new btGeneric6DofConstraint(*pArg0, *pArg1, *pArg2, *pArg3, arg4); return reinterpret_cast(newObj); } void btGeneric6DofConstraint_setLinearLowerLimit_1(btGeneric6DofConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLinearLowerLimit(*pArg0); } void btGeneric6DofConstraint_setLinearUpperLimit_1(btGeneric6DofConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLinearUpperLimit(*pArg0); } void btGeneric6DofConstraint_setAngularLowerLimit_1(btGeneric6DofConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAngularLowerLimit(*pArg0); } void btGeneric6DofConstraint_setAngularUpperLimit_1(btGeneric6DofConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAngularUpperLimit(*pArg0); } btTransformAddr btGeneric6DofConstraint_getFrameOffsetA_0(btGeneric6DofConstraintAddr self) { const btTransform& ret = reinterpret_cast(self)->getFrameOffsetA(); return reinterpret_cast(&ret); } void btGeneric6DofConstraint_enableFeedback_1(btGeneric6DofConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btGeneric6DofConstraint_getBreakingImpulseThreshold_0(btGeneric6DofConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btGeneric6DofConstraint_setBreakingImpulseThreshold_1(btGeneric6DofConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btGeneric6DofConstraint_getParam_2(btGeneric6DofConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btGeneric6DofConstraint_setParam_3(btGeneric6DofConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btGeneric6DofConstraint___destroy___0(btGeneric6DofConstraintAddr self) { delete reinterpret_cast(self); } // btStridingMeshInterface void btStridingMeshInterface___destroy___0(btStridingMeshInterfaceAddr self) { delete reinterpret_cast(self); } // btMotionState void btMotionState_getWorldTransform_1(btMotionStateAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->getWorldTransform(*pArg0); } void btMotionState_setWorldTransform_1(btMotionStateAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } void btMotionState___destroy___0(btMotionStateAddr self) { delete reinterpret_cast(self); } // ConvexResultCallback bool ConvexResultCallback_hasHit_0(ConvexResultCallbackAddr self) { bool ret = reinterpret_cast(self)->hasHit(); return ret; } long_t ConvexResultCallback_get_m_collisionFilterGroup_0(ConvexResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void ConvexResultCallback_set_m_collisionFilterGroup_1(ConvexResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t ConvexResultCallback_get_m_collisionFilterMask_0(ConvexResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void ConvexResultCallback_set_m_collisionFilterMask_1(ConvexResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } double ConvexResultCallback_get_m_closestHitFraction_0(ConvexResultCallbackAddr self) { double ret = reinterpret_cast(self)->m_closestHitFraction; return ret; } void ConvexResultCallback_set_m_closestHitFraction_1(ConvexResultCallbackAddr self, double arg0) { reinterpret_cast(self)->m_closestHitFraction = arg0; } void ConvexResultCallback___destroy___0(ConvexResultCallbackAddr self) { delete reinterpret_cast(self); } // ContactResultCallback double ContactResultCallback_addSingleResult_7(ContactResultCallbackAddr self, btManifoldPointAddr arg0, btCollisionObjectWrapperAddr arg1, long_t arg2, long_t arg3, btCollisionObjectWrapperAddr arg4, long_t arg5, long_t arg6) { btManifoldPoint* pArg0 = reinterpret_cast(arg0); const btCollisionObjectWrapper* pArg1 = reinterpret_cast(arg1); const btCollisionObjectWrapper* pArg4 = reinterpret_cast(arg4); double ret = reinterpret_cast(self)->addSingleResult(*pArg0, pArg1, arg2, arg3, pArg4, arg5, arg6); return ret; } void ContactResultCallback___destroy___0(ContactResultCallbackAddr self) { delete reinterpret_cast(self); } // RayResultCallback bool RayResultCallback_hasHit_0(RayResultCallbackAddr self) { bool ret = reinterpret_cast(self)->hasHit(); return ret; } long_t RayResultCallback_get_m_collisionFilterGroup_0(RayResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void RayResultCallback_set_m_collisionFilterGroup_1(RayResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t RayResultCallback_get_m_collisionFilterMask_0(RayResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void RayResultCallback_set_m_collisionFilterMask_1(RayResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } double RayResultCallback_get_m_closestHitFraction_0(RayResultCallbackAddr self) { double ret = reinterpret_cast(self)->m_closestHitFraction; return ret; } void RayResultCallback_set_m_closestHitFraction_1(RayResultCallbackAddr self, double arg0) { reinterpret_cast(self)->m_closestHitFraction = arg0; } btCollisionObjectAddr RayResultCallback_get_m_collisionObject_0(RayResultCallbackAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->m_collisionObject; return reinterpret_cast(ret); } void RayResultCallback_set_m_collisionObject_1(RayResultCallbackAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_collisionObject = pArg0; } void RayResultCallback___destroy___0(RayResultCallbackAddr self) { delete reinterpret_cast(self); } // btMatrix3x3 void btMatrix3x3_setEulerZYX_3(btMatrix3x3Addr self, double arg0, double arg1, double arg2) { reinterpret_cast(self)->setEulerZYX(arg0, arg1, arg2); } void btMatrix3x3_getRotation_1(btMatrix3x3Addr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->getRotation(*pArg0); } btVector3Addr btMatrix3x3_getRow_1(btMatrix3x3Addr self, long_t arg0) { static btVector3 temp; temp = reinterpret_cast(self)->getRow(arg0); return reinterpret_cast(&temp); } void btMatrix3x3___destroy___0(btMatrix3x3Addr self) { delete reinterpret_cast(self); } // btDispatcherInfo double btDispatcherInfo_get_m_timeStep_0(btDispatcherInfoAddr self) { double ret = reinterpret_cast(self)->m_timeStep; return ret; } void btDispatcherInfo_set_m_timeStep_1(btDispatcherInfoAddr self, double arg0) { reinterpret_cast(self)->m_timeStep = arg0; } long_t btDispatcherInfo_get_m_stepCount_0(btDispatcherInfoAddr self) { long_t ret = reinterpret_cast(self)->m_stepCount; return ret; } void btDispatcherInfo_set_m_stepCount_1(btDispatcherInfoAddr self, long_t arg0) { reinterpret_cast(self)->m_stepCount = arg0; } long_t btDispatcherInfo_get_m_dispatchFunc_0(btDispatcherInfoAddr self) { long_t ret = reinterpret_cast(self)->m_dispatchFunc; return ret; } void btDispatcherInfo_set_m_dispatchFunc_1(btDispatcherInfoAddr self, long_t arg0) { reinterpret_cast(self)->m_dispatchFunc = arg0; } double btDispatcherInfo_get_m_timeOfImpact_0(btDispatcherInfoAddr self) { double ret = reinterpret_cast(self)->m_timeOfImpact; return ret; } void btDispatcherInfo_set_m_timeOfImpact_1(btDispatcherInfoAddr self, double arg0) { reinterpret_cast(self)->m_timeOfImpact = arg0; } bool btDispatcherInfo_get_m_useContinuous_0(btDispatcherInfoAddr self) { bool ret = reinterpret_cast(self)->m_useContinuous; return ret; } void btDispatcherInfo_set_m_useContinuous_1(btDispatcherInfoAddr self, bool arg0) { reinterpret_cast(self)->m_useContinuous = arg0; } bool btDispatcherInfo_get_m_enableSatConvex_0(btDispatcherInfoAddr self) { bool ret = reinterpret_cast(self)->m_enableSatConvex; return ret; } void btDispatcherInfo_set_m_enableSatConvex_1(btDispatcherInfoAddr self, bool arg0) { reinterpret_cast(self)->m_enableSatConvex = arg0; } bool btDispatcherInfo_get_m_enableSPU_0(btDispatcherInfoAddr self) { bool ret = reinterpret_cast(self)->m_enableSPU; return ret; } void btDispatcherInfo_set_m_enableSPU_1(btDispatcherInfoAddr self, bool arg0) { reinterpret_cast(self)->m_enableSPU = arg0; } bool btDispatcherInfo_get_m_useEpa_0(btDispatcherInfoAddr self) { bool ret = reinterpret_cast(self)->m_useEpa; return ret; } void btDispatcherInfo_set_m_useEpa_1(btDispatcherInfoAddr self, bool arg0) { reinterpret_cast(self)->m_useEpa = arg0; } double btDispatcherInfo_get_m_allowedCcdPenetration_0(btDispatcherInfoAddr self) { double ret = reinterpret_cast(self)->m_allowedCcdPenetration; return ret; } void btDispatcherInfo_set_m_allowedCcdPenetration_1(btDispatcherInfoAddr self, double arg0) { reinterpret_cast(self)->m_allowedCcdPenetration = arg0; } bool btDispatcherInfo_get_m_useConvexConservativeDistanceUtil_0(btDispatcherInfoAddr self) { bool ret = reinterpret_cast(self)->m_useConvexConservativeDistanceUtil; return ret; } void btDispatcherInfo_set_m_useConvexConservativeDistanceUtil_1(btDispatcherInfoAddr self, bool arg0) { reinterpret_cast(self)->m_useConvexConservativeDistanceUtil = arg0; } double btDispatcherInfo_get_m_convexConservativeDistanceThreshold_0(btDispatcherInfoAddr self) { double ret = reinterpret_cast(self)->m_convexConservativeDistanceThreshold; return ret; } void btDispatcherInfo_set_m_convexConservativeDistanceThreshold_1(btDispatcherInfoAddr self, double arg0) { reinterpret_cast(self)->m_convexConservativeDistanceThreshold = arg0; } void btDispatcherInfo___destroy___0(btDispatcherInfoAddr self) { delete reinterpret_cast(self); } // LayaMotionState LayaMotionStateAddr LayaMotionState_LayaMotionState_0() { LayaMotionState0* newObj = new LayaMotionState0(); return reinterpret_cast(newObj); } void LayaMotionState_getWorldTransform_1(LayaMotionStateAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->getWorldTransform(*pArg0); } void LayaMotionState_setWorldTransform_1(LayaMotionStateAddr self, btTransformAddr arg0) { const btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } void LayaMotionState_setNativeGetWorldTransform_1(LayaMotionStateAddr self, JSValueAsParam arg0) { reinterpret_cast(self)->setNativeGetWorldTransform(arg0); } void LayaMotionState_setNativeSetWorldTransform_1(LayaMotionStateAddr self, JSValueAsParam arg0) { reinterpret_cast(self)->setNativeSetWorldTransform(arg0); } void LayaMotionState_setRigidbody_1(LayaMotionStateAddr self, JsValue arg0) { reinterpret_cast(self)->setRigidbody(arg0); } void LayaMotionState___destroy___0(LayaMotionStateAddr self) { delete reinterpret_cast(self); } // btWheelInfoConstructionInfo btVector3Addr btWheelInfoConstructionInfo_get_m_chassisConnectionCS_0(btWheelInfoConstructionInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_chassisConnectionCS; return reinterpret_cast(ret); } void btWheelInfoConstructionInfo_set_m_chassisConnectionCS_1(btWheelInfoConstructionInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_chassisConnectionCS = *pArg0; } btVector3Addr btWheelInfoConstructionInfo_get_m_wheelDirectionCS_0(btWheelInfoConstructionInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_wheelDirectionCS; return reinterpret_cast(ret); } void btWheelInfoConstructionInfo_set_m_wheelDirectionCS_1(btWheelInfoConstructionInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_wheelDirectionCS = *pArg0; } btVector3Addr btWheelInfoConstructionInfo_get_m_wheelAxleCS_0(btWheelInfoConstructionInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_wheelAxleCS; return reinterpret_cast(ret); } void btWheelInfoConstructionInfo_set_m_wheelAxleCS_1(btWheelInfoConstructionInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_wheelAxleCS = *pArg0; } double btWheelInfoConstructionInfo_get_m_suspensionRestLength_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_suspensionRestLength; return ret; } void btWheelInfoConstructionInfo_set_m_suspensionRestLength_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_suspensionRestLength = arg0; } double btWheelInfoConstructionInfo_get_m_maxSuspensionTravelCm_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_maxSuspensionTravelCm; return ret; } void btWheelInfoConstructionInfo_set_m_maxSuspensionTravelCm_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_maxSuspensionTravelCm = arg0; } double btWheelInfoConstructionInfo_get_m_wheelRadius_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelRadius; return ret; } void btWheelInfoConstructionInfo_set_m_wheelRadius_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelRadius = arg0; } double btWheelInfoConstructionInfo_get_m_suspensionStiffness_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_suspensionStiffness; return ret; } void btWheelInfoConstructionInfo_set_m_suspensionStiffness_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_suspensionStiffness = arg0; } double btWheelInfoConstructionInfo_get_m_wheelsDampingCompression_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelsDampingCompression; return ret; } void btWheelInfoConstructionInfo_set_m_wheelsDampingCompression_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelsDampingCompression = arg0; } double btWheelInfoConstructionInfo_get_m_wheelsDampingRelaxation_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelsDampingRelaxation; return ret; } void btWheelInfoConstructionInfo_set_m_wheelsDampingRelaxation_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelsDampingRelaxation = arg0; } double btWheelInfoConstructionInfo_get_m_frictionSlip_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_frictionSlip; return ret; } void btWheelInfoConstructionInfo_set_m_frictionSlip_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_frictionSlip = arg0; } double btWheelInfoConstructionInfo_get_m_maxSuspensionForce_0(btWheelInfoConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_maxSuspensionForce; return ret; } void btWheelInfoConstructionInfo_set_m_maxSuspensionForce_1(btWheelInfoConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_maxSuspensionForce = arg0; } bool btWheelInfoConstructionInfo_get_m_bIsFrontWheel_0(btWheelInfoConstructionInfoAddr self) { bool ret = reinterpret_cast(self)->m_bIsFrontWheel; return ret; } void btWheelInfoConstructionInfo_set_m_bIsFrontWheel_1(btWheelInfoConstructionInfoAddr self, bool arg0) { reinterpret_cast(self)->m_bIsFrontWheel = arg0; } void btWheelInfoConstructionInfo___destroy___0(btWheelInfoConstructionInfoAddr self) { delete reinterpret_cast(self); } // btConvexTriangleMeshShape btConvexTriangleMeshShapeAddr btConvexTriangleMeshShape_btConvexTriangleMeshShape_1(btStridingMeshInterfaceAddr arg0) { btStridingMeshInterface* pArg0 = reinterpret_cast(arg0); btConvexTriangleMeshShape* newObj = new btConvexTriangleMeshShape(pArg0); return reinterpret_cast(newObj); } btConvexTriangleMeshShapeAddr btConvexTriangleMeshShape_btConvexTriangleMeshShape_2(btStridingMeshInterfaceAddr arg0, bool arg1) { btStridingMeshInterface* pArg0 = reinterpret_cast(arg0); btConvexTriangleMeshShape* newObj = new btConvexTriangleMeshShape(pArg0, arg1); return reinterpret_cast(newObj); } void btConvexTriangleMeshShape_setLocalScaling_1(btConvexTriangleMeshShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConvexTriangleMeshShape_getLocalScaling_0(btConvexTriangleMeshShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConvexTriangleMeshShape_calculateLocalInertia_2(btConvexTriangleMeshShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConvexTriangleMeshShape_setMargin_1(btConvexTriangleMeshShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btConvexTriangleMeshShape_getMargin_0(btConvexTriangleMeshShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btConvexTriangleMeshShape___destroy___0(btConvexTriangleMeshShapeAddr self) { delete reinterpret_cast(self); } // btBroadphaseInterface void btBroadphaseInterface___destroy___0(btBroadphaseInterfaceAddr self) { delete reinterpret_cast(self); } // btDefaultCollisionConfiguration btDefaultCollisionConfigurationAddr btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_0() { btDefaultCollisionConfiguration* newObj = new btDefaultCollisionConfiguration(); return reinterpret_cast(newObj); } btDefaultCollisionConfigurationAddr btDefaultCollisionConfiguration_btDefaultCollisionConfiguration_1(btDefaultCollisionConstructionInfoAddr arg0) { btDefaultCollisionConstructionInfo* pArg0 = reinterpret_cast(arg0); btDefaultCollisionConfiguration* newObj = new btDefaultCollisionConfiguration(*pArg0); return reinterpret_cast(newObj); } void btDefaultCollisionConfiguration___destroy___0(btDefaultCollisionConfigurationAddr self) { delete reinterpret_cast(self); } // btRigidBodyConstructionInfo btRigidBodyConstructionInfoAddr btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_3(double arg0, btMotionStateAddr arg1, btCollisionShapeAddr arg2) { btMotionState* pArg1 = reinterpret_cast(arg1); btCollisionShape* pArg2 = reinterpret_cast(arg2); btRigidBody::btRigidBodyConstructionInfo* newObj = new btRigidBody::btRigidBodyConstructionInfo(arg0, pArg1, pArg2); return reinterpret_cast(newObj); } btRigidBodyConstructionInfoAddr btRigidBodyConstructionInfo_btRigidBodyConstructionInfo_4(double arg0, btMotionStateAddr arg1, btCollisionShapeAddr arg2, btVector3Addr arg3) { btMotionState* pArg1 = reinterpret_cast(arg1); btCollisionShape* pArg2 = reinterpret_cast(arg2); btVector3* pArg3 = reinterpret_cast(arg3); btRigidBody::btRigidBodyConstructionInfo* newObj = new btRigidBody::btRigidBodyConstructionInfo(arg0, pArg1, pArg2, *pArg3); return reinterpret_cast(newObj); } double btRigidBodyConstructionInfo_get_m_linearDamping_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_linearDamping; return ret; } void btRigidBodyConstructionInfo_set_m_linearDamping_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_linearDamping = arg0; } double btRigidBodyConstructionInfo_get_m_angularDamping_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_angularDamping; return ret; } void btRigidBodyConstructionInfo_set_m_angularDamping_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_angularDamping = arg0; } double btRigidBodyConstructionInfo_get_m_friction_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_friction; return ret; } void btRigidBodyConstructionInfo_set_m_friction_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_friction = arg0; } double btRigidBodyConstructionInfo_get_m_rollingFriction_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_rollingFriction; return ret; } void btRigidBodyConstructionInfo_set_m_rollingFriction_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_rollingFriction = arg0; } double btRigidBodyConstructionInfo_get_m_restitution_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_restitution; return ret; } void btRigidBodyConstructionInfo_set_m_restitution_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_restitution = arg0; } double btRigidBodyConstructionInfo_get_m_linearSleepingThreshold_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_linearSleepingThreshold; return ret; } void btRigidBodyConstructionInfo_set_m_linearSleepingThreshold_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_linearSleepingThreshold = arg0; } double btRigidBodyConstructionInfo_get_m_angularSleepingThreshold_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_angularSleepingThreshold; return ret; } void btRigidBodyConstructionInfo_set_m_angularSleepingThreshold_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_angularSleepingThreshold = arg0; } bool btRigidBodyConstructionInfo_get_m_additionalDamping_0(btRigidBodyConstructionInfoAddr self) { bool ret = reinterpret_cast(self)->m_additionalDamping; return ret; } void btRigidBodyConstructionInfo_set_m_additionalDamping_1(btRigidBodyConstructionInfoAddr self, bool arg0) { reinterpret_cast(self)->m_additionalDamping = arg0; } double btRigidBodyConstructionInfo_get_m_additionalDampingFactor_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_additionalDampingFactor; return ret; } void btRigidBodyConstructionInfo_set_m_additionalDampingFactor_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_additionalDampingFactor = arg0; } double btRigidBodyConstructionInfo_get_m_additionalLinearDampingThresholdSqr_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_additionalLinearDampingThresholdSqr; return ret; } void btRigidBodyConstructionInfo_set_m_additionalLinearDampingThresholdSqr_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_additionalLinearDampingThresholdSqr = arg0; } double btRigidBodyConstructionInfo_get_m_additionalAngularDampingThresholdSqr_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_additionalAngularDampingThresholdSqr; return ret; } void btRigidBodyConstructionInfo_set_m_additionalAngularDampingThresholdSqr_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_additionalAngularDampingThresholdSqr = arg0; } double btRigidBodyConstructionInfo_get_m_additionalAngularDampingFactor_0(btRigidBodyConstructionInfoAddr self) { double ret = reinterpret_cast(self)->m_additionalAngularDampingFactor; return ret; } void btRigidBodyConstructionInfo_set_m_additionalAngularDampingFactor_1(btRigidBodyConstructionInfoAddr self, double arg0) { reinterpret_cast(self)->m_additionalAngularDampingFactor = arg0; } void btRigidBodyConstructionInfo___destroy___0(btRigidBodyConstructionInfoAddr self) { delete reinterpret_cast(self); } // btCollisionConfiguration void btCollisionConfiguration___destroy___0(btCollisionConfigurationAddr self) { delete reinterpret_cast(self); } // btPersistentManifold btPersistentManifoldAddr btPersistentManifold_btPersistentManifold_0() { btPersistentManifold* newObj = new btPersistentManifold(); return reinterpret_cast(newObj); } btCollisionObjectAddr btPersistentManifold_getBody0_0(btPersistentManifoldAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->getBody0(); return reinterpret_cast(ret); } btCollisionObjectAddr btPersistentManifold_getBody1_0(btPersistentManifoldAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->getBody1(); return reinterpret_cast(ret); } long_t btPersistentManifold_getNumContacts_0(btPersistentManifoldAddr self) { long_t ret = reinterpret_cast(self)->getNumContacts(); return ret; } btManifoldPointAddr btPersistentManifold_getContactPoint_1(btPersistentManifoldAddr self, long_t arg0) { btManifoldPoint& ret = reinterpret_cast(self)->getContactPoint(arg0); return reinterpret_cast(&ret); } void btPersistentManifold___destroy___0(btPersistentManifoldAddr self) { delete reinterpret_cast(self); } // btCompoundShape btCompoundShapeAddr btCompoundShape_btCompoundShape_0() { btCompoundShape* newObj = new btCompoundShape(); return reinterpret_cast(newObj); } btCompoundShapeAddr btCompoundShape_btCompoundShape_1(bool arg0) { btCompoundShape* newObj = new btCompoundShape(arg0); return reinterpret_cast(newObj); } void btCompoundShape_addChildShape_2(btCompoundShapeAddr self, btTransformAddr arg0, btCollisionShapeAddr arg1) { const btTransform* pArg0 = reinterpret_cast(arg0); btCollisionShape* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->addChildShape(*pArg0, pArg1); } void btCompoundShape_removeChildShapeByIndex_1(btCompoundShapeAddr self, long_t arg0) { reinterpret_cast(self)->removeChildShapeByIndex(arg0); } long_t btCompoundShape_getNumChildShapes_0(btCompoundShapeAddr self) { long_t ret = reinterpret_cast(self)->getNumChildShapes(); return ret; } btCollisionShapeAddr btCompoundShape_getChildShape_1(btCompoundShapeAddr self, long_t arg0) { btCollisionShape* ret = reinterpret_cast(self)->getChildShape(arg0); return reinterpret_cast(ret); } void btCompoundShape_setMargin_1(btCompoundShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCompoundShape_getMargin_0(btCompoundShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btCompoundShape_updateChildTransform_2(btCompoundShapeAddr self, long_t arg0, btTransformAddr arg1) { const btTransform* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->updateChildTransform(arg0, *pArg1); } void btCompoundShape_updateChildTransform_3(btCompoundShapeAddr self, long_t arg0, btTransformAddr arg1, bool arg2) { const btTransform* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->updateChildTransform(arg0, *pArg1, arg2); } void btCompoundShape_setLocalScaling_1(btCompoundShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCompoundShape_getLocalScaling_0(btCompoundShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCompoundShape_calculateLocalInertia_2(btCompoundShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCompoundShape___destroy___0(btCompoundShapeAddr self) { delete reinterpret_cast(self); } // ClosestConvexResultCallback ClosestConvexResultCallbackAddr ClosestConvexResultCallback_ClosestConvexResultCallback_2(btVector3Addr arg0, btVector3Addr arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::ClosestConvexResultCallback* newObj = new btCollisionWorld::ClosestConvexResultCallback(*pArg0, *pArg1); return reinterpret_cast(newObj); } bool ClosestConvexResultCallback_hasHit_0(ClosestConvexResultCallbackAddr self) { bool ret = reinterpret_cast(self)->hasHit(); return ret; } btVector3Addr ClosestConvexResultCallback_get_m_convexFromWorld_0(ClosestConvexResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_convexFromWorld; return reinterpret_cast(ret); } void ClosestConvexResultCallback_set_m_convexFromWorld_1(ClosestConvexResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_convexFromWorld = *pArg0; } btVector3Addr ClosestConvexResultCallback_get_m_convexToWorld_0(ClosestConvexResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_convexToWorld; return reinterpret_cast(ret); } void ClosestConvexResultCallback_set_m_convexToWorld_1(ClosestConvexResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_convexToWorld = *pArg0; } btVector3Addr ClosestConvexResultCallback_get_m_hitNormalWorld_0(ClosestConvexResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitNormalWorld; return reinterpret_cast(ret); } void ClosestConvexResultCallback_set_m_hitNormalWorld_1(ClosestConvexResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitNormalWorld = *pArg0; } btVector3Addr ClosestConvexResultCallback_get_m_hitPointWorld_0(ClosestConvexResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitPointWorld; return reinterpret_cast(ret); } void ClosestConvexResultCallback_set_m_hitPointWorld_1(ClosestConvexResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitPointWorld = *pArg0; } btCollisionObjectAddr ClosestConvexResultCallback_get_m_hitCollisionObject_0(ClosestConvexResultCallbackAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->m_hitCollisionObject; return reinterpret_cast(ret); } void ClosestConvexResultCallback_set_m_hitCollisionObject_1(ClosestConvexResultCallbackAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitCollisionObject = pArg0; } long_t ClosestConvexResultCallback_get_m_collisionFilterGroup_0(ClosestConvexResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void ClosestConvexResultCallback_set_m_collisionFilterGroup_1(ClosestConvexResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t ClosestConvexResultCallback_get_m_collisionFilterMask_0(ClosestConvexResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void ClosestConvexResultCallback_set_m_collisionFilterMask_1(ClosestConvexResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } double ClosestConvexResultCallback_get_m_closestHitFraction_0(ClosestConvexResultCallbackAddr self) { double ret = reinterpret_cast(self)->m_closestHitFraction; return ret; } void ClosestConvexResultCallback_set_m_closestHitFraction_1(ClosestConvexResultCallbackAddr self, double arg0) { reinterpret_cast(self)->m_closestHitFraction = arg0; } void ClosestConvexResultCallback___destroy___0(ClosestConvexResultCallbackAddr self) { delete reinterpret_cast(self); } // AllHitsRayResultCallback AllHitsRayResultCallbackAddr AllHitsRayResultCallback_AllHitsRayResultCallback_2(btVector3Addr arg0, btVector3Addr arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::AllHitsRayResultCallback* newObj = new btCollisionWorld::AllHitsRayResultCallback(*pArg0, *pArg1); return reinterpret_cast(newObj); } bool AllHitsRayResultCallback_hasHit_0(AllHitsRayResultCallbackAddr self) { bool ret = reinterpret_cast(self)->hasHit(); return ret; } tBtCollisionObjectArrayAddr AllHitsRayResultCallback_get_m_collisionObjects_0(AllHitsRayResultCallbackAddr self) { btCollisionWorld::tBtCollisionObjectArray* ret = &reinterpret_cast(self)->m_collisionObjects; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_collisionObjects_1(AllHitsRayResultCallbackAddr self, tBtCollisionObjectArrayAddr arg0) { btCollisionWorld::tBtCollisionObjectArray* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_collisionObjects = *pArg0; } btVector3Addr AllHitsRayResultCallback_get_m_rayFromWorld_0(AllHitsRayResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_rayFromWorld; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_rayFromWorld_1(AllHitsRayResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_rayFromWorld = *pArg0; } btVector3Addr AllHitsRayResultCallback_get_m_rayToWorld_0(AllHitsRayResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_rayToWorld; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_rayToWorld_1(AllHitsRayResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_rayToWorld = *pArg0; } tVector3ArrayAddr AllHitsRayResultCallback_get_m_hitNormalWorld_0(AllHitsRayResultCallbackAddr self) { btCollisionWorld::tVector3Array* ret = &reinterpret_cast(self)->m_hitNormalWorld; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_hitNormalWorld_1(AllHitsRayResultCallbackAddr self, tVector3ArrayAddr arg0) { btCollisionWorld::tVector3Array* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitNormalWorld = *pArg0; } tVector3ArrayAddr AllHitsRayResultCallback_get_m_hitPointWorld_0(AllHitsRayResultCallbackAddr self) { btCollisionWorld::tVector3Array* ret = &reinterpret_cast(self)->m_hitPointWorld; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_hitPointWorld_1(AllHitsRayResultCallbackAddr self, tVector3ArrayAddr arg0) { btCollisionWorld::tVector3Array* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitPointWorld = *pArg0; } tScalarArrayAddr AllHitsRayResultCallback_get_m_hitFractions_0(AllHitsRayResultCallbackAddr self) { btCollisionWorld::tScalarArray* ret = &reinterpret_cast(self)->m_hitFractions; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_hitFractions_1(AllHitsRayResultCallbackAddr self, tScalarArrayAddr arg0) { btCollisionWorld::tScalarArray* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitFractions = *pArg0; } long_t AllHitsRayResultCallback_get_m_collisionFilterGroup_0(AllHitsRayResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void AllHitsRayResultCallback_set_m_collisionFilterGroup_1(AllHitsRayResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t AllHitsRayResultCallback_get_m_collisionFilterMask_0(AllHitsRayResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void AllHitsRayResultCallback_set_m_collisionFilterMask_1(AllHitsRayResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } double AllHitsRayResultCallback_get_m_closestHitFraction_0(AllHitsRayResultCallbackAddr self) { double ret = reinterpret_cast(self)->m_closestHitFraction; return ret; } void AllHitsRayResultCallback_set_m_closestHitFraction_1(AllHitsRayResultCallbackAddr self, double arg0) { reinterpret_cast(self)->m_closestHitFraction = arg0; } btCollisionObjectAddr AllHitsRayResultCallback_get_m_collisionObject_0(AllHitsRayResultCallbackAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->m_collisionObject; return reinterpret_cast(ret); } void AllHitsRayResultCallback_set_m_collisionObject_1(AllHitsRayResultCallbackAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_collisionObject = pArg0; } void AllHitsRayResultCallback___destroy___0(AllHitsRayResultCallbackAddr self) { delete reinterpret_cast(self); } // btDefaultVehicleRaycaster btDefaultVehicleRaycasterAddr btDefaultVehicleRaycaster_btDefaultVehicleRaycaster_1(btDynamicsWorldAddr arg0) { btDynamicsWorld* pArg0 = reinterpret_cast(arg0); btDefaultVehicleRaycaster* newObj = new btDefaultVehicleRaycaster(pArg0); return reinterpret_cast(newObj); } void btDefaultVehicleRaycaster_castRay_3(btDefaultVehicleRaycasterAddr self, btVector3Addr arg0, btVector3Addr arg1, btVehicleRaycasterResultAddr arg2) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btDefaultVehicleRaycaster::btVehicleRaycasterResult* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->castRay(*pArg0, *pArg1, *pArg2); } void btDefaultVehicleRaycaster___destroy___0(btDefaultVehicleRaycasterAddr self) { delete reinterpret_cast(self); } // btConstraintSetting btConstraintSettingAddr btConstraintSetting_btConstraintSetting_0() { btConstraintSetting* newObj = new btConstraintSetting(); return reinterpret_cast(newObj); } double btConstraintSetting_get_m_tau_0(btConstraintSettingAddr self) { double ret = reinterpret_cast(self)->m_tau; return ret; } void btConstraintSetting_set_m_tau_1(btConstraintSettingAddr self, double arg0) { reinterpret_cast(self)->m_tau = arg0; } double btConstraintSetting_get_m_damping_0(btConstraintSettingAddr self) { double ret = reinterpret_cast(self)->m_damping; return ret; } void btConstraintSetting_set_m_damping_1(btConstraintSettingAddr self, double arg0) { reinterpret_cast(self)->m_damping = arg0; } double btConstraintSetting_get_m_impulseClamp_0(btConstraintSettingAddr self) { double ret = reinterpret_cast(self)->m_impulseClamp; return ret; } void btConstraintSetting_set_m_impulseClamp_1(btConstraintSettingAddr self, double arg0) { reinterpret_cast(self)->m_impulseClamp = arg0; } void btConstraintSetting___destroy___0(btConstraintSettingAddr self) { delete reinterpret_cast(self); } // LocalShapeInfo long_t LocalShapeInfo_get_m_shapePart_0(LocalShapeInfoAddr self) { long_t ret = reinterpret_cast(self)->m_shapePart; return ret; } void LocalShapeInfo_set_m_shapePart_1(LocalShapeInfoAddr self, long_t arg0) { reinterpret_cast(self)->m_shapePart = arg0; } long_t LocalShapeInfo_get_m_triangleIndex_0(LocalShapeInfoAddr self) { long_t ret = reinterpret_cast(self)->m_triangleIndex; return ret; } void LocalShapeInfo_set_m_triangleIndex_1(LocalShapeInfoAddr self, long_t arg0) { reinterpret_cast(self)->m_triangleIndex = arg0; } void LocalShapeInfo___destroy___0(LocalShapeInfoAddr self) { delete reinterpret_cast(self); } // btRigidBody btRigidBodyAddr btRigidBody_btRigidBody_1(btRigidBodyConstructionInfoAddr arg0) { const btRigidBody::btRigidBodyConstructionInfo* pArg0 = reinterpret_cast(arg0); btRigidBody* newObj = new btRigidBody(*pArg0); return reinterpret_cast(newObj); } btTransformAddr btRigidBody_getCenterOfMassTransform_0(btRigidBodyAddr self) { const btTransform& ret = reinterpret_cast(self)->getCenterOfMassTransform(); return reinterpret_cast(&ret); } void btRigidBody_setCenterOfMassTransform_1(btRigidBodyAddr self, btTransformAddr arg0) { const btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setCenterOfMassTransform(*pArg0); } void btRigidBody_setSleepingThresholds_2(btRigidBodyAddr self, double arg0, double arg1) { reinterpret_cast(self)->setSleepingThresholds(arg0, arg1); } double btRigidBody_getLinearSleepingThreshold_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getLinearSleepingThreshold(); return ret; } double btRigidBody_getAngularSleepingThreshold_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getAngularSleepingThreshold(); return ret; } void btRigidBody_setDamping_2(btRigidBodyAddr self, double arg0, double arg1) { reinterpret_cast(self)->setDamping(arg0, arg1); } void btRigidBody_setMassProps_2(btRigidBodyAddr self, double arg0, btVector3Addr arg1) { const btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->setMassProps(arg0, *pArg1); } void btRigidBody_setLinearFactor_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLinearFactor(*pArg0); } void btRigidBody_applyTorque_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->applyTorque(*pArg0); } void btRigidBody_applyForce_2(btRigidBodyAddr self, btVector3Addr arg0, btVector3Addr arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->applyForce(*pArg0, *pArg1); } void btRigidBody_applyCentralForce_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->applyCentralForce(*pArg0); } void btRigidBody_applyTorqueImpulse_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->applyTorqueImpulse(*pArg0); } void btRigidBody_applyImpulse_2(btRigidBodyAddr self, btVector3Addr arg0, btVector3Addr arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->applyImpulse(*pArg0, *pArg1); } void btRigidBody_applyCentralImpulse_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->applyCentralImpulse(*pArg0); } void btRigidBody_updateInertiaTensor_0(btRigidBodyAddr self) { reinterpret_cast(self)->updateInertiaTensor(); } btVector3Addr btRigidBody_getLinearVelocity_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getLinearVelocity(); return reinterpret_cast(&ret); } btVector3Addr btRigidBody_getAngularVelocity_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getAngularVelocity(); return reinterpret_cast(&ret); } void btRigidBody_setLinearVelocity_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLinearVelocity(*pArg0); } void btRigidBody_setAngularVelocity_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAngularVelocity(*pArg0); } btMotionStateAddr btRigidBody_getMotionState_0(btRigidBodyAddr self) { btMotionState* ret = reinterpret_cast(self)->getMotionState(); return reinterpret_cast(ret); } void btRigidBody_setMotionState_1(btRigidBodyAddr self, btMotionStateAddr arg0) { btMotionState* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setMotionState(pArg0); } void btRigidBody_setAngularFactor_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAngularFactor(*pArg0); } btRigidBodyAddr btRigidBody_upcast_1(btRigidBodyAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btRigidBody* ret = reinterpret_cast(self)->upcast(pArg0); return reinterpret_cast(ret); } void btRigidBody_getAabb_2(btRigidBodyAddr self, btVector3Addr arg0, btVector3Addr arg1) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->getAabb(*pArg0, *pArg1); } void btRigidBody_applyGravity_0(btRigidBodyAddr self) { reinterpret_cast(self)->applyGravity(); } btVector3Addr btRigidBody_getGravity_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getGravity(); return reinterpret_cast(&ret); } void btRigidBody_setGravity_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setGravity(*pArg0); } btVector3Addr btRigidBody_getTotalForce_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getTotalForce(); return reinterpret_cast(&ret); } btVector3Addr btRigidBody_getTotalTorque_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getTotalTorque(); return reinterpret_cast(&ret); } long_t btRigidBody_getFlags_0(btRigidBodyAddr self) { long_t ret = reinterpret_cast(self)->getFlags(); return ret; } void btRigidBody_setFlags_1(btRigidBodyAddr self, long_t arg0) { reinterpret_cast(self)->setFlags(arg0); } void btRigidBody_clearForces_0(btRigidBodyAddr self) { reinterpret_cast(self)->clearForces(); } void btRigidBody_setAnisotropicFriction_2(btRigidBodyAddr self, btVector3Addr arg0, long_t arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAnisotropicFriction(*pArg0, arg1); } btCollisionShapeAddr btRigidBody_getCollisionShape_0(btRigidBodyAddr self) { btCollisionShape* ret = reinterpret_cast(self)->getCollisionShape(); return reinterpret_cast(ret); } void btRigidBody_setContactProcessingThreshold_1(btRigidBodyAddr self, double arg0) { reinterpret_cast(self)->setContactProcessingThreshold(arg0); } void btRigidBody_setActivationState_1(btRigidBodyAddr self, long_t arg0) { reinterpret_cast(self)->setActivationState(arg0); } void btRigidBody_forceActivationState_1(btRigidBodyAddr self, long_t arg0) { reinterpret_cast(self)->forceActivationState(arg0); } void btRigidBody_activate_0(btRigidBodyAddr self) { reinterpret_cast(self)->activate(); } void btRigidBody_activate_1(btRigidBodyAddr self, bool arg0) { reinterpret_cast(self)->activate(arg0); } bool btRigidBody_isActive_0(btRigidBodyAddr self) { bool ret = reinterpret_cast(self)->isActive(); return ret; } bool btRigidBody_isKinematicObject_0(btRigidBodyAddr self) { bool ret = reinterpret_cast(self)->isKinematicObject(); return ret; } bool btRigidBody_isStaticObject_0(btRigidBodyAddr self) { bool ret = reinterpret_cast(self)->isStaticObject(); return ret; } bool btRigidBody_isStaticOrKinematicObject_0(btRigidBodyAddr self) { bool ret = reinterpret_cast(self)->isStaticOrKinematicObject(); return ret; } double btRigidBody_getRestitution_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getRestitution(); return ret; } void btRigidBody_setRestitution_1(btRigidBodyAddr self, double arg0) { reinterpret_cast(self)->setRestitution(arg0); } double btRigidBody_getFriction_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getFriction(); return ret; } void btRigidBody_setFriction_1(btRigidBodyAddr self, double arg0) { reinterpret_cast(self)->setFriction(arg0); } double btRigidBody_getRollingFriction_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getRollingFriction(); return ret; } void btRigidBody_setRollingFriction_1(btRigidBodyAddr self, double arg0) { reinterpret_cast(self)->setRollingFriction(arg0); } long_t btRigidBody_getCollisionFlags_0(btRigidBodyAddr self) { long_t ret = reinterpret_cast(self)->getCollisionFlags(); return ret; } void btRigidBody_setCollisionFlags_1(btRigidBodyAddr self, long_t arg0) { reinterpret_cast(self)->setCollisionFlags(arg0); } btTransformAddr btRigidBody_getWorldTransform_0(btRigidBodyAddr self) { btTransform& ret = reinterpret_cast(self)->getWorldTransform(); return reinterpret_cast(&ret); } void btRigidBody_setWorldTransform_1(btRigidBodyAddr self, btTransformAddr arg0) { const btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } void btRigidBody_setCollisionShape_1(btRigidBodyAddr self, btCollisionShapeAddr arg0) { btCollisionShape* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setCollisionShape(pArg0); } double btRigidBody_getCcdMotionThreshold_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getCcdMotionThreshold(); return ret; } void btRigidBody_setCcdMotionThreshold_1(btRigidBodyAddr self, double arg0) { reinterpret_cast(self)->setCcdMotionThreshold(arg0); } double btRigidBody_getCcdSweptSphereRadius_0(btRigidBodyAddr self) { double ret = reinterpret_cast(self)->getCcdSweptSphereRadius(); return ret; } void btRigidBody_setCcdSweptSphereRadius_1(btRigidBodyAddr self, double arg0) { reinterpret_cast(self)->setCcdSweptSphereRadius(arg0); } long_t btRigidBody_getUserIndex_0(btRigidBodyAddr self) { long_t ret = reinterpret_cast(self)->getUserIndex(); return ret; } void btRigidBody_setUserIndex_1(btRigidBodyAddr self, long_t arg0) { reinterpret_cast(self)->setUserIndex(arg0); } VoidPtrAddr btRigidBody_getUserPointer_0(btRigidBodyAddr self) { void* ret = reinterpret_cast(self)->getUserPointer(); return reinterpret_cast(ret); } void btRigidBody_setUserPointer_1(btRigidBodyAddr self, VoidPtrAddr arg0) { void* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setUserPointer(pArg0); } btVector3Addr btRigidBody_getInterpolationAngularVelocity_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationAngularVelocity(); return reinterpret_cast(&ret); } void btRigidBody_setInterpolationAngularVelocity_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationAngularVelocity(*pArg0); } btVector3Addr btRigidBody_getInterpolationLinearVelocity_0(btRigidBodyAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationLinearVelocity(); return reinterpret_cast(&ret); } void btRigidBody_setInterpolationLinearVelocity_1(btRigidBodyAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationLinearVelocity(*pArg0); } btBroadphaseProxyAddr btRigidBody_getBroadphaseHandle_0(btRigidBodyAddr self) { btBroadphaseProxy* ret = reinterpret_cast(self)->getBroadphaseHandle(); return reinterpret_cast(ret); } long_t btRigidBody_getActivationState_0(btRigidBodyAddr self) { long_t ret = reinterpret_cast(self)->getActivationState(); return ret; } void btRigidBody___destroy___0(btRigidBodyAddr self) { delete reinterpret_cast(self); } // btDbvtBroadphase btDbvtBroadphaseAddr btDbvtBroadphase_btDbvtBroadphase_0() { btDbvtBroadphase* newObj = new btDbvtBroadphase(); return reinterpret_cast(newObj); } btOverlappingPairCacheAddr btDbvtBroadphase_getOverlappingPairCache_0(btDbvtBroadphaseAddr self) { btOverlappingPairCache* ret = reinterpret_cast(self)->getOverlappingPairCache(); return reinterpret_cast(ret); } void btDbvtBroadphase___destroy___0(btDbvtBroadphaseAddr self) { delete reinterpret_cast(self); } // btCollisionDispatcher btCollisionDispatcherAddr btCollisionDispatcher_btCollisionDispatcher_1(btDefaultCollisionConfigurationAddr arg0) { btDefaultCollisionConfiguration* pArg0 = reinterpret_cast(arg0); btCollisionDispatcher* newObj = new btCollisionDispatcher(pArg0); return reinterpret_cast(newObj); } long_t btCollisionDispatcher_getNumManifolds_0(btCollisionDispatcherAddr self) { long_t ret = reinterpret_cast(self)->getNumManifolds(); return ret; } btPersistentManifoldAddr btCollisionDispatcher_getManifoldByIndexInternal_1(btCollisionDispatcherAddr self, long_t arg0) { btPersistentManifold* ret = reinterpret_cast(self)->getManifoldByIndexInternal(arg0); return reinterpret_cast(ret); } void btCollisionDispatcher___destroy___0(btCollisionDispatcherAddr self) { delete reinterpret_cast(self); } // btAxisSweep3 btAxisSweep3Addr btAxisSweep3_btAxisSweep3_2(btVector3Addr arg0, btVector3Addr arg1) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); btAxisSweep3* newObj = new btAxisSweep3(*pArg0, *pArg1); return reinterpret_cast(newObj); } btAxisSweep3Addr btAxisSweep3_btAxisSweep3_3(btVector3Addr arg0, btVector3Addr arg1, long_t arg2) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); btAxisSweep3* newObj = new btAxisSweep3(*pArg0, *pArg1, arg2); return reinterpret_cast(newObj); } btAxisSweep3Addr btAxisSweep3_btAxisSweep3_4(btVector3Addr arg0, btVector3Addr arg1, long_t arg2, btOverlappingPairCacheAddr arg3) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); btOverlappingPairCache* pArg3 = reinterpret_cast(arg3); btAxisSweep3* newObj = new btAxisSweep3(*pArg0, *pArg1, arg2, pArg3); return reinterpret_cast(newObj); } btAxisSweep3Addr btAxisSweep3_btAxisSweep3_5(btVector3Addr arg0, btVector3Addr arg1, long_t arg2, btOverlappingPairCacheAddr arg3, bool arg4) { btVector3* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); btOverlappingPairCache* pArg3 = reinterpret_cast(arg3); btAxisSweep3* newObj = new btAxisSweep3(*pArg0, *pArg1, arg2, pArg3, arg4); return reinterpret_cast(newObj); } void btAxisSweep3___destroy___0(btAxisSweep3Addr self) { delete reinterpret_cast(self); } // VoidPtr void VoidPtr___destroy___0(VoidPtrAddr self) { delete reinterpret_cast(self); } // btConeTwistConstraint btConeTwistConstraintAddr btConeTwistConstraint_btConeTwistConstraint_2(btRigidBodyAddr arg0, btTransformAddr arg1) { btRigidBody* pArg0 = reinterpret_cast(arg0); btTransform* pArg1 = reinterpret_cast(arg1); btConeTwistConstraint* newObj = new btConeTwistConstraint(*pArg0, *pArg1); return reinterpret_cast(newObj); } btConeTwistConstraintAddr btConeTwistConstraint_btConeTwistConstraint_4(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btTransform* pArg2 = reinterpret_cast(arg2); btTransform* pArg3 = reinterpret_cast(arg3); btConeTwistConstraint* newObj = new btConeTwistConstraint(*pArg0, *pArg1, *pArg2, *pArg3); return reinterpret_cast(newObj); } void btConeTwistConstraint_setLimit_2(btConeTwistConstraintAddr self, long_t arg0, double arg1) { reinterpret_cast(self)->setLimit(arg0, arg1); } void btConeTwistConstraint_setAngularOnly_1(btConeTwistConstraintAddr self, bool arg0) { reinterpret_cast(self)->setAngularOnly(arg0); } void btConeTwistConstraint_setDamping_1(btConeTwistConstraintAddr self, double arg0) { reinterpret_cast(self)->setDamping(arg0); } void btConeTwistConstraint_enableMotor_1(btConeTwistConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableMotor(arg0); } void btConeTwistConstraint_setMaxMotorImpulse_1(btConeTwistConstraintAddr self, double arg0) { reinterpret_cast(self)->setMaxMotorImpulse(arg0); } void btConeTwistConstraint_setMaxMotorImpulseNormalized_1(btConeTwistConstraintAddr self, double arg0) { reinterpret_cast(self)->setMaxMotorImpulseNormalized(arg0); } void btConeTwistConstraint_setMotorTarget_1(btConeTwistConstraintAddr self, btQuaternionAddr arg0) { const btQuaternion* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setMotorTarget(*pArg0); } void btConeTwistConstraint_setMotorTargetInConstraintSpace_1(btConeTwistConstraintAddr self, btQuaternionAddr arg0) { const btQuaternion* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setMotorTargetInConstraintSpace(*pArg0); } void btConeTwistConstraint_enableFeedback_1(btConeTwistConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btConeTwistConstraint_getBreakingImpulseThreshold_0(btConeTwistConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btConeTwistConstraint_setBreakingImpulseThreshold_1(btConeTwistConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btConeTwistConstraint_getParam_2(btConeTwistConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btConeTwistConstraint_setParam_3(btConeTwistConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btConeTwistConstraint___destroy___0(btConeTwistConstraintAddr self) { delete reinterpret_cast(self); } // btHingeConstraint btHingeConstraintAddr btHingeConstraint_btHingeConstraint_2(btRigidBodyAddr arg0, btTransformAddr arg1) { btRigidBody* pArg0 = reinterpret_cast(arg0); btTransform* pArg1 = reinterpret_cast(arg1); btHingeConstraint* newObj = new btHingeConstraint(*pArg0, *pArg1); return reinterpret_cast(newObj); } btHingeConstraintAddr btHingeConstraint_btHingeConstraint_3(btRigidBodyAddr arg0, btTransformAddr arg1, bool arg2) { btRigidBody* pArg0 = reinterpret_cast(arg0); btTransform* pArg1 = reinterpret_cast(arg1); btHingeConstraint* newObj = new btHingeConstraint(*pArg0, *pArg1, arg2); return reinterpret_cast(newObj); } btHingeConstraintAddr btHingeConstraint_btHingeConstraint_4(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btTransform* pArg2 = reinterpret_cast(arg2); btTransform* pArg3 = reinterpret_cast(arg3); btHingeConstraint* newObj = new btHingeConstraint(*pArg0, *pArg1, *pArg2, *pArg3); return reinterpret_cast(newObj); } btHingeConstraintAddr btHingeConstraint_btHingeConstraint_5(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3, bool arg4) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btTransform* pArg2 = reinterpret_cast(arg2); btTransform* pArg3 = reinterpret_cast(arg3); btHingeConstraint* newObj = new btHingeConstraint(*pArg0, *pArg1, *pArg2, *pArg3, arg4); return reinterpret_cast(newObj); } btHingeConstraintAddr btHingeConstraint_btHingeConstraint_6(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btVector3Addr arg2, btVector3Addr arg3, btVector3Addr arg4, btVector3Addr arg5) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btVector3* pArg2 = reinterpret_cast(arg2); btVector3* pArg3 = reinterpret_cast(arg3); btVector3* pArg4 = reinterpret_cast(arg4); btVector3* pArg5 = reinterpret_cast(arg5); btHingeConstraint* newObj = new btHingeConstraint(*pArg0, *pArg1, *pArg2, *pArg3, *pArg4, *pArg5); return reinterpret_cast(newObj); } btHingeConstraintAddr btHingeConstraint_btHingeConstraint_7(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btVector3Addr arg2, btVector3Addr arg3, btVector3Addr arg4, btVector3Addr arg5, bool arg6) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btVector3* pArg2 = reinterpret_cast(arg2); btVector3* pArg3 = reinterpret_cast(arg3); btVector3* pArg4 = reinterpret_cast(arg4); btVector3* pArg5 = reinterpret_cast(arg5); btHingeConstraint* newObj = new btHingeConstraint(*pArg0, *pArg1, *pArg2, *pArg3, *pArg4, *pArg5, arg6); return reinterpret_cast(newObj); } void btHingeConstraint_setLimit_4(btHingeConstraintAddr self, double arg0, double arg1, double arg2, double arg3) { reinterpret_cast(self)->setLimit(arg0, arg1, arg2, arg3); } void btHingeConstraint_setLimit_5(btHingeConstraintAddr self, double arg0, double arg1, double arg2, double arg3, double arg4) { reinterpret_cast(self)->setLimit(arg0, arg1, arg2, arg3, arg4); } void btHingeConstraint_enableAngularMotor_3(btHingeConstraintAddr self, bool arg0, double arg1, double arg2) { reinterpret_cast(self)->enableAngularMotor(arg0, arg1, arg2); } void btHingeConstraint_setAngularOnly_1(btHingeConstraintAddr self, bool arg0) { reinterpret_cast(self)->setAngularOnly(arg0); } void btHingeConstraint_enableMotor_1(btHingeConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableMotor(arg0); } void btHingeConstraint_setMaxMotorImpulse_1(btHingeConstraintAddr self, double arg0) { reinterpret_cast(self)->setMaxMotorImpulse(arg0); } void btHingeConstraint_setMotorTarget_2(btHingeConstraintAddr self, double arg0, double arg1) { reinterpret_cast(self)->setMotorTarget(arg0, arg1); } void btHingeConstraint_enableFeedback_1(btHingeConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btHingeConstraint_getBreakingImpulseThreshold_0(btHingeConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btHingeConstraint_setBreakingImpulseThreshold_1(btHingeConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btHingeConstraint_getParam_2(btHingeConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btHingeConstraint_setParam_3(btHingeConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btHingeConstraint___destroy___0(btHingeConstraintAddr self) { delete reinterpret_cast(self); } // JSValueAsParam // btConeShapeZ btConeShapeZAddr btConeShapeZ_btConeShapeZ_2(double arg0, double arg1) { btConeShapeZ* newObj = new btConeShapeZ(arg0, arg1); return reinterpret_cast(newObj); } void btConeShapeZ_setLocalScaling_1(btConeShapeZAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConeShapeZ_getLocalScaling_0(btConeShapeZAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConeShapeZ_calculateLocalInertia_2(btConeShapeZAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConeShapeZ___destroy___0(btConeShapeZAddr self) { delete reinterpret_cast(self); } // btConeShapeX btConeShapeXAddr btConeShapeX_btConeShapeX_2(double arg0, double arg1) { btConeShapeX* newObj = new btConeShapeX(arg0, arg1); return reinterpret_cast(newObj); } void btConeShapeX_setLocalScaling_1(btConeShapeXAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConeShapeX_getLocalScaling_0(btConeShapeXAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConeShapeX_calculateLocalInertia_2(btConeShapeXAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConeShapeX___destroy___0(btConeShapeXAddr self) { delete reinterpret_cast(self); } // btTriangleMesh btTriangleMeshAddr btTriangleMesh_btTriangleMesh_0() { btTriangleMesh* newObj = new btTriangleMesh(); return reinterpret_cast(newObj); } btTriangleMeshAddr btTriangleMesh_btTriangleMesh_1(bool arg0) { btTriangleMesh* newObj = new btTriangleMesh(arg0); return reinterpret_cast(newObj); } btTriangleMeshAddr btTriangleMesh_btTriangleMesh_2(bool arg0, bool arg1) { btTriangleMesh* newObj = new btTriangleMesh(arg0, arg1); return reinterpret_cast(newObj); } void btTriangleMesh_addTriangle_3(btTriangleMeshAddr self, btVector3Addr arg0, btVector3Addr arg1, btVector3Addr arg2) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); const btVector3* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->addTriangle(*pArg0, *pArg1, *pArg2); } void btTriangleMesh_addTriangle_4(btTriangleMeshAddr self, btVector3Addr arg0, btVector3Addr arg1, btVector3Addr arg2, bool arg3) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); const btVector3* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->addTriangle(*pArg0, *pArg1, *pArg2, arg3); } void btTriangleMesh___destroy___0(btTriangleMeshAddr self) { delete reinterpret_cast(self); } // btConvexHullShape btConvexHullShapeAddr btConvexHullShape_btConvexHullShape_0() { btConvexHullShape* newObj = new btConvexHullShape(); return reinterpret_cast(newObj); } void btConvexHullShape_addPoint_1(btConvexHullShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addPoint(*pArg0); } void btConvexHullShape_addPoint_2(btConvexHullShapeAddr self, btVector3Addr arg0, bool arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addPoint(*pArg0, arg1); } void btConvexHullShape_setMargin_1(btConvexHullShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btConvexHullShape_getMargin_0(btConvexHullShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btConvexHullShape_setLocalScaling_1(btConvexHullShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btConvexHullShape_getLocalScaling_0(btConvexHullShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btConvexHullShape_calculateLocalInertia_2(btConvexHullShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btConvexHullShape___destroy___0(btConvexHullShapeAddr self) { delete reinterpret_cast(self); } // btVehicleTuning btVehicleTuningAddr btVehicleTuning_btVehicleTuning_0() { btRaycastVehicle::btVehicleTuning* newObj = new btRaycastVehicle::btVehicleTuning(); return reinterpret_cast(newObj); } double btVehicleTuning_get_m_suspensionStiffness_0(btVehicleTuningAddr self) { double ret = reinterpret_cast(self)->m_suspensionStiffness; return ret; } void btVehicleTuning_set_m_suspensionStiffness_1(btVehicleTuningAddr self, double arg0) { reinterpret_cast(self)->m_suspensionStiffness = arg0; } double btVehicleTuning_get_m_suspensionCompression_0(btVehicleTuningAddr self) { double ret = reinterpret_cast(self)->m_suspensionCompression; return ret; } void btVehicleTuning_set_m_suspensionCompression_1(btVehicleTuningAddr self, double arg0) { reinterpret_cast(self)->m_suspensionCompression = arg0; } double btVehicleTuning_get_m_suspensionDamping_0(btVehicleTuningAddr self) { double ret = reinterpret_cast(self)->m_suspensionDamping; return ret; } void btVehicleTuning_set_m_suspensionDamping_1(btVehicleTuningAddr self, double arg0) { reinterpret_cast(self)->m_suspensionDamping = arg0; } double btVehicleTuning_get_m_maxSuspensionTravelCm_0(btVehicleTuningAddr self) { double ret = reinterpret_cast(self)->m_maxSuspensionTravelCm; return ret; } void btVehicleTuning_set_m_maxSuspensionTravelCm_1(btVehicleTuningAddr self, double arg0) { reinterpret_cast(self)->m_maxSuspensionTravelCm = arg0; } double btVehicleTuning_get_m_frictionSlip_0(btVehicleTuningAddr self) { double ret = reinterpret_cast(self)->m_frictionSlip; return ret; } void btVehicleTuning_set_m_frictionSlip_1(btVehicleTuningAddr self, double arg0) { reinterpret_cast(self)->m_frictionSlip = arg0; } double btVehicleTuning_get_m_maxSuspensionForce_0(btVehicleTuningAddr self) { double ret = reinterpret_cast(self)->m_maxSuspensionForce; return ret; } void btVehicleTuning_set_m_maxSuspensionForce_1(btVehicleTuningAddr self, double arg0) { reinterpret_cast(self)->m_maxSuspensionForce = arg0; } // btCollisionObjectWrapper // btGImpactMeshShape btGImpactMeshShapeAddr btGImpactMeshShape_btGImpactMeshShape_1(btStridingMeshInterfaceAddr arg0) { btStridingMeshInterface* pArg0 = reinterpret_cast(arg0); btGImpactMeshShape* newObj = new btGImpactMeshShape(pArg0); return reinterpret_cast(newObj); } void btGImpactMeshShape_setLocalScaling_1(btGImpactMeshShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btGImpactMeshShape_getLocalScaling_0(btGImpactMeshShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btGImpactMeshShape_calculateLocalInertia_2(btGImpactMeshShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btGImpactMeshShape_updateBound_0(btGImpactMeshShapeAddr self) { reinterpret_cast(self)->updateBound(); } void btGImpactMeshShape___destroy___0(btGImpactMeshShapeAddr self) { delete reinterpret_cast(self); } // btDefaultMotionState btDefaultMotionStateAddr btDefaultMotionState_btDefaultMotionState_0() { btDefaultMotionState* newObj = new btDefaultMotionState(); return reinterpret_cast(newObj); } btDefaultMotionStateAddr btDefaultMotionState_btDefaultMotionState_1(btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); btDefaultMotionState* newObj = new btDefaultMotionState(*pArg0); return reinterpret_cast(newObj); } btDefaultMotionStateAddr btDefaultMotionState_btDefaultMotionState_2(btTransformAddr arg0, btTransformAddr arg1) { btTransform* pArg0 = reinterpret_cast(arg0); btTransform* pArg1 = reinterpret_cast(arg1); btDefaultMotionState* newObj = new btDefaultMotionState(*pArg0, *pArg1); return reinterpret_cast(newObj); } void btDefaultMotionState_getWorldTransform_1(btDefaultMotionStateAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->getWorldTransform(*pArg0); } void btDefaultMotionState_setWorldTransform_1(btDefaultMotionStateAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } btTransformAddr btDefaultMotionState_get_m_graphicsWorldTrans_0(btDefaultMotionStateAddr self) { btTransform* ret = &reinterpret_cast(self)->m_graphicsWorldTrans; return reinterpret_cast(ret); } void btDefaultMotionState_set_m_graphicsWorldTrans_1(btDefaultMotionStateAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_graphicsWorldTrans = *pArg0; } void btDefaultMotionState___destroy___0(btDefaultMotionStateAddr self) { delete reinterpret_cast(self); } // btWheelInfo btWheelInfoAddr btWheelInfo_btWheelInfo_1(btWheelInfoConstructionInfoAddr arg0) { btWheelInfoConstructionInfo* pArg0 = reinterpret_cast(arg0); btWheelInfo* newObj = new btWheelInfo(*pArg0); return reinterpret_cast(newObj); } double btWheelInfo_getSuspensionRestLength_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->getSuspensionRestLength(); return ret; } void btWheelInfo_updateWheel_2(btWheelInfoAddr self, btRigidBodyAddr arg0, RaycastInfoAddr arg1) { const btRigidBody* pArg0 = reinterpret_cast(arg0); btWheelInfo::RaycastInfo* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->updateWheel(*pArg0, *pArg1); } double btWheelInfo_get_m_suspensionStiffness_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_suspensionStiffness; return ret; } void btWheelInfo_set_m_suspensionStiffness_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_suspensionStiffness = arg0; } double btWheelInfo_get_m_frictionSlip_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_frictionSlip; return ret; } void btWheelInfo_set_m_frictionSlip_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_frictionSlip = arg0; } double btWheelInfo_get_m_engineForce_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_engineForce; return ret; } void btWheelInfo_set_m_engineForce_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_engineForce = arg0; } double btWheelInfo_get_m_rollInfluence_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_rollInfluence; return ret; } void btWheelInfo_set_m_rollInfluence_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_rollInfluence = arg0; } double btWheelInfo_get_m_suspensionRestLength1_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_suspensionRestLength1; return ret; } void btWheelInfo_set_m_suspensionRestLength1_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_suspensionRestLength1 = arg0; } double btWheelInfo_get_m_wheelsRadius_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelsRadius; return ret; } void btWheelInfo_set_m_wheelsRadius_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelsRadius = arg0; } double btWheelInfo_get_m_wheelsDampingCompression_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelsDampingCompression; return ret; } void btWheelInfo_set_m_wheelsDampingCompression_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelsDampingCompression = arg0; } double btWheelInfo_get_m_wheelsDampingRelaxation_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelsDampingRelaxation; return ret; } void btWheelInfo_set_m_wheelsDampingRelaxation_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelsDampingRelaxation = arg0; } double btWheelInfo_get_m_steering_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_steering; return ret; } void btWheelInfo_set_m_steering_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_steering = arg0; } double btWheelInfo_get_m_maxSuspensionForce_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_maxSuspensionForce; return ret; } void btWheelInfo_set_m_maxSuspensionForce_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_maxSuspensionForce = arg0; } double btWheelInfo_get_m_maxSuspensionTravelCm_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_maxSuspensionTravelCm; return ret; } void btWheelInfo_set_m_maxSuspensionTravelCm_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_maxSuspensionTravelCm = arg0; } double btWheelInfo_get_m_wheelsSuspensionForce_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_wheelsSuspensionForce; return ret; } void btWheelInfo_set_m_wheelsSuspensionForce_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_wheelsSuspensionForce = arg0; } bool btWheelInfo_get_m_bIsFrontWheel_0(btWheelInfoAddr self) { bool ret = reinterpret_cast(self)->m_bIsFrontWheel; return ret; } void btWheelInfo_set_m_bIsFrontWheel_1(btWheelInfoAddr self, bool arg0) { reinterpret_cast(self)->m_bIsFrontWheel = arg0; } RaycastInfoAddr btWheelInfo_get_m_raycastInfo_0(btWheelInfoAddr self) { btWheelInfo::RaycastInfo* ret = &reinterpret_cast(self)->m_raycastInfo; return reinterpret_cast(ret); } void btWheelInfo_set_m_raycastInfo_1(btWheelInfoAddr self, RaycastInfoAddr arg0) { btWheelInfo::RaycastInfo* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_raycastInfo = *pArg0; } btVector3Addr btWheelInfo_get_m_chassisConnectionPointCS_0(btWheelInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_chassisConnectionPointCS; return reinterpret_cast(ret); } void btWheelInfo_set_m_chassisConnectionPointCS_1(btWheelInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_chassisConnectionPointCS = *pArg0; } btTransformAddr btWheelInfo_get_m_worldTransform_0(btWheelInfoAddr self) { btTransform* ret = &reinterpret_cast(self)->m_worldTransform; return reinterpret_cast(ret); } void btWheelInfo_set_m_worldTransform_1(btWheelInfoAddr self, btTransformAddr arg0) { btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_worldTransform = *pArg0; } btVector3Addr btWheelInfo_get_m_wheelDirectionCS_0(btWheelInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_wheelDirectionCS; return reinterpret_cast(ret); } void btWheelInfo_set_m_wheelDirectionCS_1(btWheelInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_wheelDirectionCS = *pArg0; } btVector3Addr btWheelInfo_get_m_wheelAxleCS_0(btWheelInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_wheelAxleCS; return reinterpret_cast(ret); } void btWheelInfo_set_m_wheelAxleCS_1(btWheelInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_wheelAxleCS = *pArg0; } double btWheelInfo_get_m_rotation_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_rotation; return ret; } void btWheelInfo_set_m_rotation_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_rotation = arg0; } double btWheelInfo_get_m_deltaRotation_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_deltaRotation; return ret; } void btWheelInfo_set_m_deltaRotation_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_deltaRotation = arg0; } double btWheelInfo_get_m_brake_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_brake; return ret; } void btWheelInfo_set_m_brake_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_brake = arg0; } double btWheelInfo_get_m_clippedInvContactDotSuspension_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_clippedInvContactDotSuspension; return ret; } void btWheelInfo_set_m_clippedInvContactDotSuspension_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_clippedInvContactDotSuspension = arg0; } double btWheelInfo_get_m_suspensionRelativeVelocity_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_suspensionRelativeVelocity; return ret; } void btWheelInfo_set_m_suspensionRelativeVelocity_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_suspensionRelativeVelocity = arg0; } double btWheelInfo_get_m_skidInfo_0(btWheelInfoAddr self) { double ret = reinterpret_cast(self)->m_skidInfo; return ret; } void btWheelInfo_set_m_skidInfo_1(btWheelInfoAddr self, double arg0) { reinterpret_cast(self)->m_skidInfo = arg0; } void btWheelInfo___destroy___0(btWheelInfoAddr self) { delete reinterpret_cast(self); } // btVector4 btVector4Addr btVector4_btVector4_0() { btVector4* newObj = new btVector4(); return reinterpret_cast(newObj); } btVector4Addr btVector4_btVector4_4(double arg0, double arg1, double arg2, double arg3) { btVector4* newObj = new btVector4(arg0, arg1, arg2, arg3); return reinterpret_cast(newObj); } double btVector4_w_0(btVector4Addr self) { double ret = reinterpret_cast(self)->w(); return ret; } void btVector4_setValue_4(btVector4Addr self, double arg0, double arg1, double arg2, double arg3) { reinterpret_cast(self)->setValue(arg0, arg1, arg2, arg3); } double btVector4_length_0(btVector4Addr self) { double ret = reinterpret_cast(self)->length(); return ret; } double btVector4_x_0(btVector4Addr self) { double ret = reinterpret_cast(self)->x(); return ret; } double btVector4_y_0(btVector4Addr self) { double ret = reinterpret_cast(self)->y(); return ret; } double btVector4_z_0(btVector4Addr self) { double ret = reinterpret_cast(self)->z(); return ret; } void btVector4_setX_1(btVector4Addr self, double arg0) { reinterpret_cast(self)->setX(arg0); } void btVector4_setY_1(btVector4Addr self, double arg0) { reinterpret_cast(self)->setY(arg0); } void btVector4_setZ_1(btVector4Addr self, double arg0) { reinterpret_cast(self)->setZ(arg0); } void btVector4_normalize_0(btVector4Addr self) { reinterpret_cast(self)->normalize(); } btVector3Addr btVector4_rotate_2(btVector4Addr self, btVector3Addr arg0, double arg1) { static btVector3 temp; btVector3* pArg0 = reinterpret_cast(arg0); temp = reinterpret_cast(self)->rotate(*pArg0, arg1); return reinterpret_cast(&temp); } double btVector4_dot_1(btVector4Addr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); double ret = reinterpret_cast(self)->dot(*pArg0); return ret; } btVector3Addr btVector4_op_mul_1(btVector4Addr self, double arg0) { btVector4* pSelf = reinterpret_cast(self); *pSelf *= arg0; return reinterpret_cast(pSelf); } btVector3Addr btVector4_op_add_1(btVector4Addr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btVector4* pSelf = reinterpret_cast(self); *pSelf += *pArg0; return reinterpret_cast(pSelf); } btVector3Addr btVector4_op_sub_1(btVector4Addr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btVector4* pSelf = reinterpret_cast(self); *pSelf -= *pArg0; return reinterpret_cast(pSelf); } void btVector4___destroy___0(btVector4Addr self) { delete reinterpret_cast(self); } // JsValue // btDefaultCollisionConstructionInfo btDefaultCollisionConstructionInfoAddr btDefaultCollisionConstructionInfo_btDefaultCollisionConstructionInfo_0() { btDefaultCollisionConstructionInfo* newObj = new btDefaultCollisionConstructionInfo(); return reinterpret_cast(newObj); } void btDefaultCollisionConstructionInfo___destroy___0(btDefaultCollisionConstructionInfoAddr self) { delete reinterpret_cast(self); } // btVehicleRaycasterResult btVector3Addr btVehicleRaycasterResult_get_m_hitPointInWorld_0(btVehicleRaycasterResultAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitPointInWorld; return reinterpret_cast(ret); } void btVehicleRaycasterResult_set_m_hitPointInWorld_1(btVehicleRaycasterResultAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitPointInWorld = *pArg0; } btVector3Addr btVehicleRaycasterResult_get_m_hitNormalInWorld_0(btVehicleRaycasterResultAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitNormalInWorld; return reinterpret_cast(ret); } void btVehicleRaycasterResult_set_m_hitNormalInWorld_1(btVehicleRaycasterResultAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitNormalInWorld = *pArg0; } double btVehicleRaycasterResult_get_m_distFraction_0(btVehicleRaycasterResultAddr self) { double ret = reinterpret_cast(self)->m_distFraction; return ret; } void btVehicleRaycasterResult_set_m_distFraction_1(btVehicleRaycasterResultAddr self, double arg0) { reinterpret_cast(self)->m_distFraction = arg0; } void btVehicleRaycasterResult___destroy___0(btVehicleRaycasterResultAddr self) { delete reinterpret_cast(self); } // btConstraintSolver void btConstraintSolver___destroy___0(btConstraintSolverAddr self) { delete reinterpret_cast(self); } // btRaycastVehicle btRaycastVehicleAddr btRaycastVehicle_btRaycastVehicle_3(btVehicleTuningAddr arg0, btRigidBodyAddr arg1, btVehicleRaycasterAddr arg2) { const btRaycastVehicle::btVehicleTuning* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btVehicleRaycaster* pArg2 = reinterpret_cast(arg2); btRaycastVehicle* newObj = new btRaycastVehicle(*pArg0, pArg1, pArg2); return reinterpret_cast(newObj); } void btRaycastVehicle_applyEngineForce_2(btRaycastVehicleAddr self, double arg0, long_t arg1) { reinterpret_cast(self)->applyEngineForce(arg0, arg1); } void btRaycastVehicle_setSteeringValue_2(btRaycastVehicleAddr self, double arg0, long_t arg1) { reinterpret_cast(self)->setSteeringValue(arg0, arg1); } btTransformAddr btRaycastVehicle_getWheelTransformWS_1(btRaycastVehicleAddr self, long_t arg0) { const btTransform& ret = reinterpret_cast(self)->getWheelTransformWS(arg0); return reinterpret_cast(&ret); } void btRaycastVehicle_updateWheelTransform_2(btRaycastVehicleAddr self, long_t arg0, bool arg1) { reinterpret_cast(self)->updateWheelTransform(arg0, arg1); } btWheelInfoAddr btRaycastVehicle_addWheel_7(btRaycastVehicleAddr self, btVector3Addr arg0, btVector3Addr arg1, btVector3Addr arg2, double arg3, double arg4, btVehicleTuningAddr arg5, bool arg6) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); const btVector3* pArg2 = reinterpret_cast(arg2); const btRaycastVehicle::btVehicleTuning* pArg5 = reinterpret_cast(arg5); btWheelInfo& ret = reinterpret_cast(self)->addWheel(*pArg0, *pArg1, *pArg2, arg3, arg4, *pArg5, arg6); return reinterpret_cast(&ret); } long_t btRaycastVehicle_getNumWheels_0(btRaycastVehicleAddr self) { long_t ret = reinterpret_cast(self)->getNumWheels(); return ret; } btRigidBodyAddr btRaycastVehicle_getRigidBody_0(btRaycastVehicleAddr self) { btRigidBody* ret = reinterpret_cast(self)->getRigidBody(); return reinterpret_cast(ret); } btWheelInfoAddr btRaycastVehicle_getWheelInfo_1(btRaycastVehicleAddr self, long_t arg0) { btWheelInfo& ret = reinterpret_cast(self)->getWheelInfo(arg0); return reinterpret_cast(&ret); } void btRaycastVehicle_setBrake_2(btRaycastVehicleAddr self, double arg0, long_t arg1) { reinterpret_cast(self)->setBrake(arg0, arg1); } void btRaycastVehicle_setCoordinateSystem_3(btRaycastVehicleAddr self, long_t arg0, long_t arg1, long_t arg2) { reinterpret_cast(self)->setCoordinateSystem(arg0, arg1, arg2); } double btRaycastVehicle_getCurrentSpeedKmHour_0(btRaycastVehicleAddr self) { double ret = reinterpret_cast(self)->getCurrentSpeedKmHour(); return ret; } btTransformAddr btRaycastVehicle_getChassisWorldTransform_0(btRaycastVehicleAddr self) { const btTransform& ret = reinterpret_cast(self)->getChassisWorldTransform(); return reinterpret_cast(&ret); } double btRaycastVehicle_rayCast_1(btRaycastVehicleAddr self, btWheelInfoAddr arg0) { btWheelInfo* pArg0 = reinterpret_cast(arg0); double ret = reinterpret_cast(self)->rayCast(*pArg0); return ret; } void btRaycastVehicle_updateVehicle_1(btRaycastVehicleAddr self, double arg0) { reinterpret_cast(self)->updateVehicle(arg0); } void btRaycastVehicle_resetSuspension_0(btRaycastVehicleAddr self) { reinterpret_cast(self)->resetSuspension(); } double btRaycastVehicle_getSteeringValue_1(btRaycastVehicleAddr self, long_t arg0) { double ret = reinterpret_cast(self)->getSteeringValue(arg0); return ret; } void btRaycastVehicle_updateWheelTransformsWS_1(btRaycastVehicleAddr self, btWheelInfoAddr arg0) { btWheelInfo* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateWheelTransformsWS(*pArg0); } void btRaycastVehicle_updateWheelTransformsWS_2(btRaycastVehicleAddr self, btWheelInfoAddr arg0, bool arg1) { btWheelInfo* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateWheelTransformsWS(*pArg0, arg1); } void btRaycastVehicle_setPitchControl_1(btRaycastVehicleAddr self, double arg0) { reinterpret_cast(self)->setPitchControl(arg0); } void btRaycastVehicle_updateSuspension_1(btRaycastVehicleAddr self, double arg0) { reinterpret_cast(self)->updateSuspension(arg0); } void btRaycastVehicle_updateFriction_1(btRaycastVehicleAddr self, double arg0) { reinterpret_cast(self)->updateFriction(arg0); } long_t btRaycastVehicle_getRightAxis_0(btRaycastVehicleAddr self) { long_t ret = reinterpret_cast(self)->getRightAxis(); return ret; } long_t btRaycastVehicle_getUpAxis_0(btRaycastVehicleAddr self) { long_t ret = reinterpret_cast(self)->getUpAxis(); return ret; } long_t btRaycastVehicle_getForwardAxis_0(btRaycastVehicleAddr self) { long_t ret = reinterpret_cast(self)->getForwardAxis(); return ret; } btVector3Addr btRaycastVehicle_getForwardVector_0(btRaycastVehicleAddr self) { static btVector3 temp; temp = reinterpret_cast(self)->getForwardVector(); return reinterpret_cast(&temp); } long_t btRaycastVehicle_getUserConstraintType_0(btRaycastVehicleAddr self) { long_t ret = reinterpret_cast(self)->getUserConstraintType(); return ret; } void btRaycastVehicle_setUserConstraintType_1(btRaycastVehicleAddr self, long_t arg0) { reinterpret_cast(self)->setUserConstraintType(arg0); } void btRaycastVehicle_setUserConstraintId_1(btRaycastVehicleAddr self, long_t arg0) { reinterpret_cast(self)->setUserConstraintId(arg0); } long_t btRaycastVehicle_getUserConstraintId_0(btRaycastVehicleAddr self) { long_t ret = reinterpret_cast(self)->getUserConstraintId(); return ret; } void btRaycastVehicle_updateAction_2(btRaycastVehicleAddr self, btCollisionWorldAddr arg0, double arg1) { btCollisionWorld* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateAction(pArg0, arg1); } void btRaycastVehicle___destroy___0(btRaycastVehicleAddr self) { delete reinterpret_cast(self); } // tVector3Array long_t tVector3Array_size_0(tVector3ArrayAddr self) { long_t ret = reinterpret_cast(self)->size(); return ret; } btVector3Addr tVector3Array_at_1(tVector3ArrayAddr self, long_t arg0) { static btVector3 temp; temp = reinterpret_cast(self)->at(arg0); return reinterpret_cast(&temp); } void tVector3Array_clear_0(tVector3ArrayAddr self) { reinterpret_cast(self)->clear(); } void tVector3Array_push_back_1(tVector3ArrayAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->push_back(*pArg0); } void tVector3Array_pop_back_0(tVector3ArrayAddr self) { reinterpret_cast(self)->pop_back(); } void tVector3Array___destroy___0(tVector3ArrayAddr self) { delete reinterpret_cast(self); } // btCylinderShapeX btCylinderShapeXAddr btCylinderShapeX_btCylinderShapeX_1(btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btCylinderShapeX* newObj = new btCylinderShapeX(*pArg0); return reinterpret_cast(newObj); } void btCylinderShapeX_setMargin_1(btCylinderShapeXAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCylinderShapeX_getMargin_0(btCylinderShapeXAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btCylinderShapeX_setLocalScaling_1(btCylinderShapeXAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCylinderShapeX_getLocalScaling_0(btCylinderShapeXAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCylinderShapeX_calculateLocalInertia_2(btCylinderShapeXAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCylinderShapeX___destroy___0(btCylinderShapeXAddr self) { delete reinterpret_cast(self); } // btCylinderShapeZ btCylinderShapeZAddr btCylinderShapeZ_btCylinderShapeZ_1(btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btCylinderShapeZ* newObj = new btCylinderShapeZ(*pArg0); return reinterpret_cast(newObj); } void btCylinderShapeZ_setMargin_1(btCylinderShapeZAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCylinderShapeZ_getMargin_0(btCylinderShapeZAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btCylinderShapeZ_setLocalScaling_1(btCylinderShapeZAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCylinderShapeZ_getLocalScaling_0(btCylinderShapeZAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCylinderShapeZ_calculateLocalInertia_2(btCylinderShapeZAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCylinderShapeZ___destroy___0(btCylinderShapeZAddr self) { delete reinterpret_cast(self); } // btSequentialImpulseConstraintSolver btSequentialImpulseConstraintSolverAddr btSequentialImpulseConstraintSolver_btSequentialImpulseConstraintSolver_0() { btSequentialImpulseConstraintSolver* newObj = new btSequentialImpulseConstraintSolver(); return reinterpret_cast(newObj); } void btSequentialImpulseConstraintSolver___destroy___0(btSequentialImpulseConstraintSolverAddr self) { delete reinterpret_cast(self); } // RaycastInfo btVector3Addr RaycastInfo_get_m_contactNormalWS_0(RaycastInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_contactNormalWS; return reinterpret_cast(ret); } void RaycastInfo_set_m_contactNormalWS_1(RaycastInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_contactNormalWS = *pArg0; } btVector3Addr RaycastInfo_get_m_contactPointWS_0(RaycastInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_contactPointWS; return reinterpret_cast(ret); } void RaycastInfo_set_m_contactPointWS_1(RaycastInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_contactPointWS = *pArg0; } double RaycastInfo_get_m_suspensionLength_0(RaycastInfoAddr self) { double ret = reinterpret_cast(self)->m_suspensionLength; return ret; } void RaycastInfo_set_m_suspensionLength_1(RaycastInfoAddr self, double arg0) { reinterpret_cast(self)->m_suspensionLength = arg0; } btVector3Addr RaycastInfo_get_m_hardPointWS_0(RaycastInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hardPointWS; return reinterpret_cast(ret); } void RaycastInfo_set_m_hardPointWS_1(RaycastInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hardPointWS = *pArg0; } btVector3Addr RaycastInfo_get_m_wheelDirectionWS_0(RaycastInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_wheelDirectionWS; return reinterpret_cast(ret); } void RaycastInfo_set_m_wheelDirectionWS_1(RaycastInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_wheelDirectionWS = *pArg0; } btVector3Addr RaycastInfo_get_m_wheelAxleWS_0(RaycastInfoAddr self) { btVector3* ret = &reinterpret_cast(self)->m_wheelAxleWS; return reinterpret_cast(ret); } void RaycastInfo_set_m_wheelAxleWS_1(RaycastInfoAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_wheelAxleWS = *pArg0; } bool RaycastInfo_get_m_isInContact_0(RaycastInfoAddr self) { bool ret = reinterpret_cast(self)->m_isInContact; return ret; } void RaycastInfo_set_m_isInContact_1(RaycastInfoAddr self, bool arg0) { reinterpret_cast(self)->m_isInContact = arg0; } VoidPtrAddr RaycastInfo_get_m_groundObject_0(RaycastInfoAddr self) { void* ret = reinterpret_cast(self)->m_groundObject; return reinterpret_cast(ret); } void RaycastInfo_set_m_groundObject_1(RaycastInfoAddr self, VoidPtrAddr arg0) { void* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_groundObject = pArg0; } void RaycastInfo___destroy___0(RaycastInfoAddr self) { delete reinterpret_cast(self); } // btHeightfieldTerrainShape btHeightfieldTerrainShapeAddr btHeightfieldTerrainShape_btHeightfieldTerrainShape_9(long_t arg0, long_t arg1, VoidPtrAddr arg2, double arg3, double arg4, double arg5, long_t arg6, long_t arg7, bool arg8) { void* pArg2 = reinterpret_cast(arg2); btHeightfieldTerrainShape* newObj = new btHeightfieldTerrainShape(arg0, arg1, pArg2, arg3, arg4, arg5, arg6, (PHY_ScalarType) arg7, arg8); return reinterpret_cast(newObj); } void btHeightfieldTerrainShape_setMargin_1(btHeightfieldTerrainShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btHeightfieldTerrainShape_getMargin_0(btHeightfieldTerrainShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btHeightfieldTerrainShape_setLocalScaling_1(btHeightfieldTerrainShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btHeightfieldTerrainShape_getLocalScaling_0(btHeightfieldTerrainShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btHeightfieldTerrainShape_calculateLocalInertia_2(btHeightfieldTerrainShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btHeightfieldTerrainShape___destroy___0(btHeightfieldTerrainShapeAddr self) { delete reinterpret_cast(self); } // btDiscreteDynamicsWorld btDiscreteDynamicsWorldAddr btDiscreteDynamicsWorld_btDiscreteDynamicsWorld_4(btDispatcherAddr arg0, btBroadphaseInterfaceAddr arg1, btConstraintSolverAddr arg2, btCollisionConfigurationAddr arg3) { btDispatcher* pArg0 = reinterpret_cast(arg0); btBroadphaseInterface* pArg1 = reinterpret_cast(arg1); btConstraintSolver* pArg2 = reinterpret_cast(arg2); btCollisionConfiguration* pArg3 = reinterpret_cast(arg3); btDiscreteDynamicsWorld* newObj = new btDiscreteDynamicsWorld(pArg0, pArg1, pArg2, pArg3); return reinterpret_cast(newObj); } void btDiscreteDynamicsWorld_setGravity_1(btDiscreteDynamicsWorldAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setGravity(*pArg0); } btVector3Addr btDiscreteDynamicsWorld_getGravity_0(btDiscreteDynamicsWorldAddr self) { static btVector3 temp; temp = reinterpret_cast(self)->getGravity(); return reinterpret_cast(&temp); } void btDiscreteDynamicsWorld_addRigidBody_1(btDiscreteDynamicsWorldAddr self, btRigidBodyAddr arg0) { btRigidBody* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addRigidBody(pArg0); } void btDiscreteDynamicsWorld_addRigidBody_3(btDiscreteDynamicsWorldAddr self, btRigidBodyAddr arg0, long_t arg1, long_t arg2) { btRigidBody* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addRigidBody(pArg0, arg1, arg2); } void btDiscreteDynamicsWorld_removeRigidBody_1(btDiscreteDynamicsWorldAddr self, btRigidBodyAddr arg0) { btRigidBody* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeRigidBody(pArg0); } void btDiscreteDynamicsWorld_addConstraint_1(btDiscreteDynamicsWorldAddr self, btTypedConstraintAddr arg0) { btTypedConstraint* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addConstraint(pArg0); } void btDiscreteDynamicsWorld_addConstraint_2(btDiscreteDynamicsWorldAddr self, btTypedConstraintAddr arg0, bool arg1) { btTypedConstraint* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addConstraint(pArg0, arg1); } void btDiscreteDynamicsWorld_removeConstraint_1(btDiscreteDynamicsWorldAddr self, btTypedConstraintAddr arg0) { btTypedConstraint* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeConstraint(pArg0); } long_t btDiscreteDynamicsWorld_stepSimulation_1(btDiscreteDynamicsWorldAddr self, double arg0) { long_t ret = reinterpret_cast(self)->stepSimulation(arg0); return ret; } long_t btDiscreteDynamicsWorld_stepSimulation_2(btDiscreteDynamicsWorldAddr self, double arg0, long_t arg1) { long_t ret = reinterpret_cast(self)->stepSimulation(arg0, arg1); return ret; } long_t btDiscreteDynamicsWorld_stepSimulation_3(btDiscreteDynamicsWorldAddr self, double arg0, long_t arg1, double arg2) { long_t ret = reinterpret_cast(self)->stepSimulation(arg0, arg1, arg2); return ret; } void btDiscreteDynamicsWorld_clearForces_0(btDiscreteDynamicsWorldAddr self) { reinterpret_cast(self)->clearForces(); } void btDiscreteDynamicsWorld_setApplySpeculativeContactRestitution_1(btDiscreteDynamicsWorldAddr self, bool arg0) { reinterpret_cast(self)->setApplySpeculativeContactRestitution(arg0); } bool btDiscreteDynamicsWorld_getApplySpeculativeContactRestitution_0(btDiscreteDynamicsWorldAddr self) { bool ret = reinterpret_cast(self)->getApplySpeculativeContactRestitution(); return ret; } btDispatcherAddr btDiscreteDynamicsWorld_getDispatcher_0(btDiscreteDynamicsWorldAddr self) { btDispatcher* ret = reinterpret_cast(self)->getDispatcher(); return reinterpret_cast(ret); } void btDiscreteDynamicsWorld_rayTest_3(btDiscreteDynamicsWorldAddr self, btVector3Addr arg0, btVector3Addr arg1, RayResultCallbackAddr arg2) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::RayResultCallback* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->rayTest(*pArg0, *pArg1, *pArg2); } btOverlappingPairCacheAddr btDiscreteDynamicsWorld_getPairCache_0(btDiscreteDynamicsWorldAddr self) { btOverlappingPairCache* ret = reinterpret_cast(self)->getPairCache(); return reinterpret_cast(ret); } btDispatcherInfoAddr btDiscreteDynamicsWorld_getDispatchInfo_0(btDiscreteDynamicsWorldAddr self) { btDispatcherInfo& ret = reinterpret_cast(self)->getDispatchInfo(); return reinterpret_cast(&ret); } void btDiscreteDynamicsWorld_addCollisionObject_1(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0); } void btDiscreteDynamicsWorld_addCollisionObject_2(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0, long_t arg1) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0, arg1); } void btDiscreteDynamicsWorld_addCollisionObject_3(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0, long_t arg1, long_t arg2) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addCollisionObject(pArg0, arg1, arg2); } void btDiscreteDynamicsWorld_removeCollisionObject_1(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeCollisionObject(pArg0); } btBroadphaseInterfaceAddr btDiscreteDynamicsWorld_getBroadphase_0(btDiscreteDynamicsWorldAddr self) { const btBroadphaseInterface* ret = reinterpret_cast(self)->getBroadphase(); return reinterpret_cast(ret); } void btDiscreteDynamicsWorld_convexSweepTest_5(btDiscreteDynamicsWorldAddr self, btConvexShapeAddr arg0, btTransformAddr arg1, btTransformAddr arg2, ConvexResultCallbackAddr arg3, double arg4) { const btConvexShape* pArg0 = reinterpret_cast(arg0); const btTransform* pArg1 = reinterpret_cast(arg1); const btTransform* pArg2 = reinterpret_cast(arg2); btCollisionWorld::ConvexResultCallback* pArg3 = reinterpret_cast(arg3); reinterpret_cast(self)->convexSweepTest(pArg0, *pArg1, *pArg2, *pArg3, arg4); } void btDiscreteDynamicsWorld_contactPairTest_3(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0, btCollisionObjectAddr arg1, ContactResultCallbackAddr arg2) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionObject* pArg1 = reinterpret_cast(arg1); btCollisionWorld::ContactResultCallback* pArg2 = reinterpret_cast(arg2); reinterpret_cast(self)->contactPairTest(pArg0, pArg1, *pArg2); } void btDiscreteDynamicsWorld_contactTest_2(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0, ContactResultCallbackAddr arg1) { btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionWorld::ContactResultCallback* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->contactTest(pArg0, *pArg1); } void btDiscreteDynamicsWorld_updateSingleAabb_1(btDiscreteDynamicsWorldAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateSingleAabb(pArg0); } void btDiscreteDynamicsWorld_addAction_1(btDiscreteDynamicsWorldAddr self, btActionInterfaceAddr arg0) { btActionInterface* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->addAction(pArg0); } void btDiscreteDynamicsWorld_removeAction_1(btDiscreteDynamicsWorldAddr self, btActionInterfaceAddr arg0) { btActionInterface* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->removeAction(pArg0); } btContactSolverInfoAddr btDiscreteDynamicsWorld_getSolverInfo_0(btDiscreteDynamicsWorldAddr self) { btContactSolverInfo& ret = reinterpret_cast(self)->getSolverInfo(); return reinterpret_cast(&ret); } void btDiscreteDynamicsWorld___destroy___0(btDiscreteDynamicsWorldAddr self) { delete reinterpret_cast(self); } // btGhostPairCallback btGhostPairCallbackAddr btGhostPairCallback_btGhostPairCallback_0() { btGhostPairCallback* newObj = new btGhostPairCallback(); return reinterpret_cast(newObj); } void btGhostPairCallback___destroy___0(btGhostPairCallbackAddr self) { delete reinterpret_cast(self); } // btOverlappingPairCallback void btOverlappingPairCallback___destroy___0(btOverlappingPairCallbackAddr self) { delete reinterpret_cast(self); } // btKinematicCharacterController btKinematicCharacterControllerAddr btKinematicCharacterController_btKinematicCharacterController_4(btPairCachingGhostObjectAddr arg0, btConvexShapeAddr arg1, double arg2, btVector3Addr arg3) { btPairCachingGhostObject* pArg0 = reinterpret_cast(arg0); btConvexShape* pArg1 = reinterpret_cast(arg1); const btVector3* pArg3 = reinterpret_cast(arg3); btKinematicCharacterController* newObj = new btKinematicCharacterController(pArg0, pArg1, arg2, *pArg3); return reinterpret_cast(newObj); } void btKinematicCharacterController_setUp_1(btKinematicCharacterControllerAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setUp(*pArg0); } void btKinematicCharacterController_setWalkDirection_1(btKinematicCharacterControllerAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWalkDirection(*pArg0); } void btKinematicCharacterController_setVelocityForTimeInterval_2(btKinematicCharacterControllerAddr self, btVector3Addr arg0, double arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setVelocityForTimeInterval(*pArg0, arg1); } void btKinematicCharacterController_warp_1(btKinematicCharacterControllerAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->warp(*pArg0); } void btKinematicCharacterController_preStep_1(btKinematicCharacterControllerAddr self, btCollisionWorldAddr arg0) { btCollisionWorld* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->preStep(pArg0); } void btKinematicCharacterController_playerStep_2(btKinematicCharacterControllerAddr self, btCollisionWorldAddr arg0, double arg1) { btCollisionWorld* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->playerStep(pArg0, arg1); } void btKinematicCharacterController_setFallSpeed_1(btKinematicCharacterControllerAddr self, double arg0) { reinterpret_cast(self)->setFallSpeed(arg0); } void btKinematicCharacterController_setJumpSpeed_1(btKinematicCharacterControllerAddr self, double arg0) { reinterpret_cast(self)->setJumpSpeed(arg0); } void btKinematicCharacterController_setMaxJumpHeight_1(btKinematicCharacterControllerAddr self, double arg0) { reinterpret_cast(self)->setMaxJumpHeight(arg0); } bool btKinematicCharacterController_canJump_0(btKinematicCharacterControllerAddr self) { bool ret = reinterpret_cast(self)->canJump(); return ret; } void btKinematicCharacterController_jump_1(btKinematicCharacterControllerAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->jump(*pArg0); } void btKinematicCharacterController_setGravity_1(btKinematicCharacterControllerAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setGravity(*pArg0); } btVector3Addr btKinematicCharacterController_getGravity_0(btKinematicCharacterControllerAddr self) { static btVector3 temp; temp = reinterpret_cast(self)->getGravity(); return reinterpret_cast(&temp); } void btKinematicCharacterController_setMaxSlope_1(btKinematicCharacterControllerAddr self, double arg0) { reinterpret_cast(self)->setMaxSlope(arg0); } double btKinematicCharacterController_getMaxSlope_0(btKinematicCharacterControllerAddr self) { double ret = reinterpret_cast(self)->getMaxSlope(); return ret; } btPairCachingGhostObjectAddr btKinematicCharacterController_getGhostObject_0(btKinematicCharacterControllerAddr self) { btPairCachingGhostObject* ret = reinterpret_cast(self)->getGhostObject(); return reinterpret_cast(ret); } void btKinematicCharacterController_setUseGhostSweepTest_1(btKinematicCharacterControllerAddr self, bool arg0) { reinterpret_cast(self)->setUseGhostSweepTest(arg0); } bool btKinematicCharacterController_onGround_0(btKinematicCharacterControllerAddr self) { bool ret = reinterpret_cast(self)->onGround(); return ret; } void btKinematicCharacterController_setUpInterpolate_1(btKinematicCharacterControllerAddr self, bool arg0) { reinterpret_cast(self)->setUpInterpolate(arg0); } void btKinematicCharacterController_updateAction_2(btKinematicCharacterControllerAddr self, btCollisionWorldAddr arg0, double arg1) { btCollisionWorld* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->updateAction(pArg0, arg1); } void btKinematicCharacterController___destroy___0(btKinematicCharacterControllerAddr self) { delete reinterpret_cast(self); } // btStaticPlaneShape btStaticPlaneShapeAddr btStaticPlaneShape_btStaticPlaneShape_2(btVector3Addr arg0, double arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); btStaticPlaneShape* newObj = new btStaticPlaneShape(*pArg0, arg1); return reinterpret_cast(newObj); } void btStaticPlaneShape_setLocalScaling_1(btStaticPlaneShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btStaticPlaneShape_getLocalScaling_0(btStaticPlaneShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btStaticPlaneShape_calculateLocalInertia_2(btStaticPlaneShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btStaticPlaneShape___destroy___0(btStaticPlaneShapeAddr self) { delete reinterpret_cast(self); } // btOverlappingPairCache void btOverlappingPairCache_setInternalGhostPairCallback_1(btOverlappingPairCacheAddr self, btOverlappingPairCallbackAddr arg0) { btOverlappingPairCallback* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInternalGhostPairCallback(pArg0); } void btOverlappingPairCache___destroy___0(btOverlappingPairCacheAddr self) { delete reinterpret_cast(self); } // tBtCollisionObjectArray long_t tBtCollisionObjectArray_size_0(tBtCollisionObjectArrayAddr self) { long_t ret = reinterpret_cast(self)->size(); return ret; } btCollisionObjectAddr tBtCollisionObjectArray_at_1(tBtCollisionObjectArrayAddr self, long_t arg0) { const btCollisionObject* ret = reinterpret_cast(self)->at(arg0); return reinterpret_cast(ret); } void tBtCollisionObjectArray_clear_0(tBtCollisionObjectArrayAddr self) { reinterpret_cast(self)->clear(); } void tBtCollisionObjectArray_push_back_1(tBtCollisionObjectArrayAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->push_back(pArg0); } void tBtCollisionObjectArray_pop_back_0(tBtCollisionObjectArrayAddr self) { reinterpret_cast(self)->pop_back(); } void tBtCollisionObjectArray___destroy___0(tBtCollisionObjectArrayAddr self) { delete reinterpret_cast(self); } // btFixedConstraint btFixedConstraintAddr btFixedConstraint_btFixedConstraint_4(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); const btTransform* pArg2 = reinterpret_cast(arg2); const btTransform* pArg3 = reinterpret_cast(arg3); btFixedConstraint* newObj = new btFixedConstraint(*pArg0, *pArg1, *pArg2, *pArg3); return reinterpret_cast(newObj); } void btFixedConstraint_enableFeedback_1(btFixedConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btFixedConstraint_getBreakingImpulseThreshold_0(btFixedConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btFixedConstraint_setBreakingImpulseThreshold_1(btFixedConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btFixedConstraint_getParam_2(btFixedConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btFixedConstraint_setParam_3(btFixedConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btFixedConstraint___destroy___0(btFixedConstraintAddr self) { delete reinterpret_cast(self); } // btTransform btTransformAddr btTransform_btTransform_0() { btTransform* newObj = new btTransform(); return reinterpret_cast(newObj); } btTransformAddr btTransform_btTransform_2(btQuaternionAddr arg0, btVector3Addr arg1) { btQuaternion* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); btTransform* newObj = new btTransform(*pArg0, *pArg1); return reinterpret_cast(newObj); } void btTransform_setIdentity_0(btTransformAddr self) { reinterpret_cast(self)->setIdentity(); } void btTransform_setOrigin_1(btTransformAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setOrigin(*pArg0); } void btTransform_setRotation_1(btTransformAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setRotation(*pArg0); } btVector3Addr btTransform_getOrigin_0(btTransformAddr self) { btVector3& ret = reinterpret_cast(self)->getOrigin(); return reinterpret_cast(&ret); } btQuaternionAddr btTransform_getRotation_0(btTransformAddr self) { static btQuaternion temp; temp = reinterpret_cast(self)->getRotation(); return reinterpret_cast(&temp); } btMatrix3x3Addr btTransform_getBasis_0(btTransformAddr self) { btMatrix3x3& ret = reinterpret_cast(self)->getBasis(); return reinterpret_cast(&ret); } void btTransform_setFromOpenGLMatrix_1(btTransformAddr self, double* arg0) { reinterpret_cast(self)->setFromOpenGLMatrix(reinterpret_cast(arg0)); } void btTransform___destroy___0(btTransformAddr self) { delete reinterpret_cast(self); } // ClosestRayResultCallback ClosestRayResultCallbackAddr ClosestRayResultCallback_ClosestRayResultCallback_2(btVector3Addr arg0, btVector3Addr arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::ClosestRayResultCallback* newObj = new btCollisionWorld::ClosestRayResultCallback(*pArg0, *pArg1); return reinterpret_cast(newObj); } bool ClosestRayResultCallback_hasHit_0(ClosestRayResultCallbackAddr self) { bool ret = reinterpret_cast(self)->hasHit(); return ret; } btVector3Addr ClosestRayResultCallback_get_m_rayFromWorld_0(ClosestRayResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_rayFromWorld; return reinterpret_cast(ret); } void ClosestRayResultCallback_set_m_rayFromWorld_1(ClosestRayResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_rayFromWorld = *pArg0; } btVector3Addr ClosestRayResultCallback_get_m_rayToWorld_0(ClosestRayResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_rayToWorld; return reinterpret_cast(ret); } void ClosestRayResultCallback_set_m_rayToWorld_1(ClosestRayResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_rayToWorld = *pArg0; } btVector3Addr ClosestRayResultCallback_get_m_hitNormalWorld_0(ClosestRayResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitNormalWorld; return reinterpret_cast(ret); } void ClosestRayResultCallback_set_m_hitNormalWorld_1(ClosestRayResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitNormalWorld = *pArg0; } btVector3Addr ClosestRayResultCallback_get_m_hitPointWorld_0(ClosestRayResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitPointWorld; return reinterpret_cast(ret); } void ClosestRayResultCallback_set_m_hitPointWorld_1(ClosestRayResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitPointWorld = *pArg0; } long_t ClosestRayResultCallback_get_m_collisionFilterGroup_0(ClosestRayResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void ClosestRayResultCallback_set_m_collisionFilterGroup_1(ClosestRayResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t ClosestRayResultCallback_get_m_collisionFilterMask_0(ClosestRayResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void ClosestRayResultCallback_set_m_collisionFilterMask_1(ClosestRayResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } double ClosestRayResultCallback_get_m_closestHitFraction_0(ClosestRayResultCallbackAddr self) { double ret = reinterpret_cast(self)->m_closestHitFraction; return ret; } void ClosestRayResultCallback_set_m_closestHitFraction_1(ClosestRayResultCallbackAddr self, double arg0) { reinterpret_cast(self)->m_closestHitFraction = arg0; } btCollisionObjectAddr ClosestRayResultCallback_get_m_collisionObject_0(ClosestRayResultCallbackAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->m_collisionObject; return reinterpret_cast(ret); } void ClosestRayResultCallback_set_m_collisionObject_1(ClosestRayResultCallbackAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_collisionObject = pArg0; } void ClosestRayResultCallback___destroy___0(ClosestRayResultCallbackAddr self) { delete reinterpret_cast(self); } // AllConvexResultCallback AllConvexResultCallbackAddr AllConvexResultCallback_AllConvexResultCallback_2(btVector3Addr arg0, btVector3Addr arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); const btVector3* pArg1 = reinterpret_cast(arg1); btCollisionWorld::AllConvexResultCallback* newObj = new btCollisionWorld::AllConvexResultCallback(*pArg0, *pArg1); return reinterpret_cast(newObj); } bool AllConvexResultCallback_hasHit_0(AllConvexResultCallbackAddr self) { bool ret = reinterpret_cast(self)->hasHit(); return ret; } btVector3Addr AllConvexResultCallback_get_m_convexFromWorld_0(AllConvexResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_convexFromWorld; return reinterpret_cast(ret); } void AllConvexResultCallback_set_m_convexFromWorld_1(AllConvexResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_convexFromWorld = *pArg0; } btVector3Addr AllConvexResultCallback_get_m_convexToWorld_0(AllConvexResultCallbackAddr self) { btVector3* ret = &reinterpret_cast(self)->m_convexToWorld; return reinterpret_cast(ret); } void AllConvexResultCallback_set_m_convexToWorld_1(AllConvexResultCallbackAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_convexToWorld = *pArg0; } tVector3ArrayAddr AllConvexResultCallback_get_m_hitNormalWorld_0(AllConvexResultCallbackAddr self) { btCollisionWorld::tVector3Array* ret = &reinterpret_cast(self)->m_hitNormalWorld; return reinterpret_cast(ret); } void AllConvexResultCallback_set_m_hitNormalWorld_1(AllConvexResultCallbackAddr self, tVector3ArrayAddr arg0) { btCollisionWorld::tVector3Array* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitNormalWorld = *pArg0; } tVector3ArrayAddr AllConvexResultCallback_get_m_hitPointWorld_0(AllConvexResultCallbackAddr self) { btCollisionWorld::tVector3Array* ret = &reinterpret_cast(self)->m_hitPointWorld; return reinterpret_cast(ret); } void AllConvexResultCallback_set_m_hitPointWorld_1(AllConvexResultCallbackAddr self, tVector3ArrayAddr arg0) { btCollisionWorld::tVector3Array* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitPointWorld = *pArg0; } tScalarArrayAddr AllConvexResultCallback_get_m_hitFractions_0(AllConvexResultCallbackAddr self) { btCollisionWorld::tScalarArray* ret = &reinterpret_cast(self)->m_hitFractions; return reinterpret_cast(ret); } void AllConvexResultCallback_set_m_hitFractions_1(AllConvexResultCallbackAddr self, tScalarArrayAddr arg0) { btCollisionWorld::tScalarArray* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitFractions = *pArg0; } tBtCollisionObjectArrayAddr AllConvexResultCallback_get_m_collisionObjects_0(AllConvexResultCallbackAddr self) { btCollisionWorld::tBtCollisionObjectArray* ret = &reinterpret_cast(self)->m_collisionObjects; return reinterpret_cast(ret); } void AllConvexResultCallback_set_m_collisionObjects_1(AllConvexResultCallbackAddr self, tBtCollisionObjectArrayAddr arg0) { btCollisionWorld::tBtCollisionObjectArray* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_collisionObjects = *pArg0; } long_t AllConvexResultCallback_get_m_collisionFilterGroup_0(AllConvexResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void AllConvexResultCallback_set_m_collisionFilterGroup_1(AllConvexResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t AllConvexResultCallback_get_m_collisionFilterMask_0(AllConvexResultCallbackAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void AllConvexResultCallback_set_m_collisionFilterMask_1(AllConvexResultCallbackAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } double AllConvexResultCallback_get_m_closestHitFraction_0(AllConvexResultCallbackAddr self) { double ret = reinterpret_cast(self)->m_closestHitFraction; return ret; } void AllConvexResultCallback_set_m_closestHitFraction_1(AllConvexResultCallbackAddr self, double arg0) { reinterpret_cast(self)->m_closestHitFraction = arg0; } void AllConvexResultCallback___destroy___0(AllConvexResultCallbackAddr self) { delete reinterpret_cast(self); } // ConcreteContactResultCallback ConcreteContactResultCallbackAddr ConcreteContactResultCallback_ConcreteContactResultCallback_0() { ConcreteContactResultCallback* newObj = new ConcreteContactResultCallback(); return reinterpret_cast(newObj); } double ConcreteContactResultCallback_addSingleResult_7(ConcreteContactResultCallbackAddr self, btManifoldPointAddr arg0, btCollisionObjectWrapperAddr arg1, long_t arg2, long_t arg3, btCollisionObjectWrapperAddr arg4, long_t arg5, long_t arg6) { btManifoldPoint* pArg0 = reinterpret_cast(arg0); const btCollisionObjectWrapper* pArg1 = reinterpret_cast(arg1); const btCollisionObjectWrapper* pArg4 = reinterpret_cast(arg4); double ret = reinterpret_cast(self)->addSingleResult(*pArg0, pArg1, arg2, arg3, pArg4, arg5, arg6); return ret; } void ConcreteContactResultCallback___destroy___0(ConcreteContactResultCallbackAddr self) { delete reinterpret_cast(self); } // btBvhTriangleMeshShape btBvhTriangleMeshShapeAddr btBvhTriangleMeshShape_btBvhTriangleMeshShape_2(btStridingMeshInterfaceAddr arg0, bool arg1) { btStridingMeshInterface* pArg0 = reinterpret_cast(arg0); btBvhTriangleMeshShape* newObj = new btBvhTriangleMeshShape(pArg0, arg1); return reinterpret_cast(newObj); } btBvhTriangleMeshShapeAddr btBvhTriangleMeshShape_btBvhTriangleMeshShape_3(btStridingMeshInterfaceAddr arg0, bool arg1, bool arg2) { btStridingMeshInterface* pArg0 = reinterpret_cast(arg0); btBvhTriangleMeshShape* newObj = new btBvhTriangleMeshShape(pArg0, arg1, arg2); return reinterpret_cast(newObj); } void btBvhTriangleMeshShape_setLocalScaling_1(btBvhTriangleMeshShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btBvhTriangleMeshShape_getLocalScaling_0(btBvhTriangleMeshShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btBvhTriangleMeshShape_calculateLocalInertia_2(btBvhTriangleMeshShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btBvhTriangleMeshShape___destroy___0(btBvhTriangleMeshShapeAddr self) { delete reinterpret_cast(self); } // btSliderConstraint btSliderConstraintAddr btSliderConstraint_btSliderConstraint_3(btRigidBodyAddr arg0, btTransformAddr arg1, bool arg2) { btRigidBody* pArg0 = reinterpret_cast(arg0); const btTransform* pArg1 = reinterpret_cast(arg1); btSliderConstraint* newObj = new btSliderConstraint(*pArg0, *pArg1, arg2); return reinterpret_cast(newObj); } btSliderConstraintAddr btSliderConstraint_btSliderConstraint_5(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3, bool arg4) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); const btTransform* pArg2 = reinterpret_cast(arg2); const btTransform* pArg3 = reinterpret_cast(arg3); btSliderConstraint* newObj = new btSliderConstraint(*pArg0, *pArg1, *pArg2, *pArg3, arg4); return reinterpret_cast(newObj); } void btSliderConstraint_setLowerLinLimit_1(btSliderConstraintAddr self, double arg0) { reinterpret_cast(self)->setLowerLinLimit(arg0); } void btSliderConstraint_setUpperLinLimit_1(btSliderConstraintAddr self, double arg0) { reinterpret_cast(self)->setUpperLinLimit(arg0); } void btSliderConstraint_setLowerAngLimit_1(btSliderConstraintAddr self, double arg0) { reinterpret_cast(self)->setLowerAngLimit(arg0); } void btSliderConstraint_setUpperAngLimit_1(btSliderConstraintAddr self, double arg0) { reinterpret_cast(self)->setUpperAngLimit(arg0); } void btSliderConstraint_enableFeedback_1(btSliderConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btSliderConstraint_getBreakingImpulseThreshold_0(btSliderConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btSliderConstraint_setBreakingImpulseThreshold_1(btSliderConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btSliderConstraint_getParam_2(btSliderConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btSliderConstraint_setParam_3(btSliderConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btSliderConstraint___destroy___0(btSliderConstraintAddr self) { delete reinterpret_cast(self); } // btPairCachingGhostObject btPairCachingGhostObjectAddr btPairCachingGhostObject_btPairCachingGhostObject_0() { btPairCachingGhostObject* newObj = new btPairCachingGhostObject(); return reinterpret_cast(newObj); } void btPairCachingGhostObject_setAnisotropicFriction_2(btPairCachingGhostObjectAddr self, btVector3Addr arg0, long_t arg1) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAnisotropicFriction(*pArg0, arg1); } btCollisionShapeAddr btPairCachingGhostObject_getCollisionShape_0(btPairCachingGhostObjectAddr self) { btCollisionShape* ret = reinterpret_cast(self)->getCollisionShape(); return reinterpret_cast(ret); } void btPairCachingGhostObject_setContactProcessingThreshold_1(btPairCachingGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setContactProcessingThreshold(arg0); } void btPairCachingGhostObject_setActivationState_1(btPairCachingGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->setActivationState(arg0); } void btPairCachingGhostObject_forceActivationState_1(btPairCachingGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->forceActivationState(arg0); } void btPairCachingGhostObject_activate_0(btPairCachingGhostObjectAddr self) { reinterpret_cast(self)->activate(); } void btPairCachingGhostObject_activate_1(btPairCachingGhostObjectAddr self, bool arg0) { reinterpret_cast(self)->activate(arg0); } bool btPairCachingGhostObject_isActive_0(btPairCachingGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isActive(); return ret; } bool btPairCachingGhostObject_isKinematicObject_0(btPairCachingGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isKinematicObject(); return ret; } bool btPairCachingGhostObject_isStaticObject_0(btPairCachingGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isStaticObject(); return ret; } bool btPairCachingGhostObject_isStaticOrKinematicObject_0(btPairCachingGhostObjectAddr self) { bool ret = reinterpret_cast(self)->isStaticOrKinematicObject(); return ret; } double btPairCachingGhostObject_getRestitution_0(btPairCachingGhostObjectAddr self) { double ret = reinterpret_cast(self)->getRestitution(); return ret; } void btPairCachingGhostObject_setRestitution_1(btPairCachingGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setRestitution(arg0); } double btPairCachingGhostObject_getFriction_0(btPairCachingGhostObjectAddr self) { double ret = reinterpret_cast(self)->getFriction(); return ret; } void btPairCachingGhostObject_setFriction_1(btPairCachingGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setFriction(arg0); } double btPairCachingGhostObject_getRollingFriction_0(btPairCachingGhostObjectAddr self) { double ret = reinterpret_cast(self)->getRollingFriction(); return ret; } void btPairCachingGhostObject_setRollingFriction_1(btPairCachingGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setRollingFriction(arg0); } long_t btPairCachingGhostObject_getCollisionFlags_0(btPairCachingGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getCollisionFlags(); return ret; } void btPairCachingGhostObject_setCollisionFlags_1(btPairCachingGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->setCollisionFlags(arg0); } btTransformAddr btPairCachingGhostObject_getWorldTransform_0(btPairCachingGhostObjectAddr self) { btTransform& ret = reinterpret_cast(self)->getWorldTransform(); return reinterpret_cast(&ret); } void btPairCachingGhostObject_setWorldTransform_1(btPairCachingGhostObjectAddr self, btTransformAddr arg0) { const btTransform* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setWorldTransform(*pArg0); } void btPairCachingGhostObject_setCollisionShape_1(btPairCachingGhostObjectAddr self, btCollisionShapeAddr arg0) { btCollisionShape* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setCollisionShape(pArg0); } double btPairCachingGhostObject_getCcdMotionThreshold_0(btPairCachingGhostObjectAddr self) { double ret = reinterpret_cast(self)->getCcdMotionThreshold(); return ret; } void btPairCachingGhostObject_setCcdMotionThreshold_1(btPairCachingGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setCcdMotionThreshold(arg0); } double btPairCachingGhostObject_getCcdSweptSphereRadius_0(btPairCachingGhostObjectAddr self) { double ret = reinterpret_cast(self)->getCcdSweptSphereRadius(); return ret; } void btPairCachingGhostObject_setCcdSweptSphereRadius_1(btPairCachingGhostObjectAddr self, double arg0) { reinterpret_cast(self)->setCcdSweptSphereRadius(arg0); } long_t btPairCachingGhostObject_getUserIndex_0(btPairCachingGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getUserIndex(); return ret; } void btPairCachingGhostObject_setUserIndex_1(btPairCachingGhostObjectAddr self, long_t arg0) { reinterpret_cast(self)->setUserIndex(arg0); } VoidPtrAddr btPairCachingGhostObject_getUserPointer_0(btPairCachingGhostObjectAddr self) { void* ret = reinterpret_cast(self)->getUserPointer(); return reinterpret_cast(ret); } void btPairCachingGhostObject_setUserPointer_1(btPairCachingGhostObjectAddr self, VoidPtrAddr arg0) { void* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setUserPointer(pArg0); } btVector3Addr btPairCachingGhostObject_getInterpolationAngularVelocity_0(btPairCachingGhostObjectAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationAngularVelocity(); return reinterpret_cast(&ret); } void btPairCachingGhostObject_setInterpolationAngularVelocity_1(btPairCachingGhostObjectAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationAngularVelocity(*pArg0); } btVector3Addr btPairCachingGhostObject_getInterpolationLinearVelocity_0(btPairCachingGhostObjectAddr self) { const btVector3& ret = reinterpret_cast(self)->getInterpolationLinearVelocity(); return reinterpret_cast(&ret); } void btPairCachingGhostObject_setInterpolationLinearVelocity_1(btPairCachingGhostObjectAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setInterpolationLinearVelocity(*pArg0); } btBroadphaseProxyAddr btPairCachingGhostObject_getBroadphaseHandle_0(btPairCachingGhostObjectAddr self) { btBroadphaseProxy* ret = reinterpret_cast(self)->getBroadphaseHandle(); return reinterpret_cast(ret); } long_t btPairCachingGhostObject_getActivationState_0(btPairCachingGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getActivationState(); return ret; } long_t btPairCachingGhostObject_getNumOverlappingObjects_0(btPairCachingGhostObjectAddr self) { long_t ret = reinterpret_cast(self)->getNumOverlappingObjects(); return ret; } btCollisionObjectAddr btPairCachingGhostObject_getOverlappingObject_1(btPairCachingGhostObjectAddr self, long_t arg0) { btCollisionObject* ret = reinterpret_cast(self)->getOverlappingObject(arg0); return reinterpret_cast(ret); } void btPairCachingGhostObject___destroy___0(btPairCachingGhostObjectAddr self) { delete reinterpret_cast(self); } // btManifoldPoint btVector3Addr btManifoldPoint_getPositionWorldOnA_0(btManifoldPointAddr self) { const btVector3& ret = reinterpret_cast(self)->getPositionWorldOnA(); return reinterpret_cast(&ret); } btVector3Addr btManifoldPoint_getPositionWorldOnB_0(btManifoldPointAddr self) { const btVector3& ret = reinterpret_cast(self)->getPositionWorldOnB(); return reinterpret_cast(&ret); } double btManifoldPoint_getAppliedImpulse_0(btManifoldPointAddr self) { double ret = reinterpret_cast(self)->getAppliedImpulse(); return ret; } double btManifoldPoint_getDistance_0(btManifoldPointAddr self) { double ret = reinterpret_cast(self)->getDistance(); return ret; } btVector3Addr btManifoldPoint_get_m_localPointA_0(btManifoldPointAddr self) { btVector3* ret = &reinterpret_cast(self)->m_localPointA; return reinterpret_cast(ret); } void btManifoldPoint_set_m_localPointA_1(btManifoldPointAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_localPointA = *pArg0; } btVector3Addr btManifoldPoint_get_m_localPointB_0(btManifoldPointAddr self) { btVector3* ret = &reinterpret_cast(self)->m_localPointB; return reinterpret_cast(ret); } void btManifoldPoint_set_m_localPointB_1(btManifoldPointAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_localPointB = *pArg0; } btVector3Addr btManifoldPoint_get_m_positionWorldOnB_0(btManifoldPointAddr self) { btVector3* ret = &reinterpret_cast(self)->m_positionWorldOnB; return reinterpret_cast(ret); } void btManifoldPoint_set_m_positionWorldOnB_1(btManifoldPointAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_positionWorldOnB = *pArg0; } btVector3Addr btManifoldPoint_get_m_positionWorldOnA_0(btManifoldPointAddr self) { btVector3* ret = &reinterpret_cast(self)->m_positionWorldOnA; return reinterpret_cast(ret); } void btManifoldPoint_set_m_positionWorldOnA_1(btManifoldPointAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_positionWorldOnA = *pArg0; } btVector3Addr btManifoldPoint_get_m_normalWorldOnB_0(btManifoldPointAddr self) { btVector3* ret = &reinterpret_cast(self)->m_normalWorldOnB; return reinterpret_cast(ret); } void btManifoldPoint_set_m_normalWorldOnB_1(btManifoldPointAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_normalWorldOnB = *pArg0; } void btManifoldPoint___destroy___0(btManifoldPointAddr self) { delete reinterpret_cast(self); } // btPoint2PointConstraint btPoint2PointConstraintAddr btPoint2PointConstraint_btPoint2PointConstraint_2(btRigidBodyAddr arg0, btVector3Addr arg1) { btRigidBody* pArg0 = reinterpret_cast(arg0); btVector3* pArg1 = reinterpret_cast(arg1); btPoint2PointConstraint* newObj = new btPoint2PointConstraint(*pArg0, *pArg1); return reinterpret_cast(newObj); } btPoint2PointConstraintAddr btPoint2PointConstraint_btPoint2PointConstraint_4(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btVector3Addr arg2, btVector3Addr arg3) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btVector3* pArg2 = reinterpret_cast(arg2); btVector3* pArg3 = reinterpret_cast(arg3); btPoint2PointConstraint* newObj = new btPoint2PointConstraint(*pArg0, *pArg1, *pArg2, *pArg3); return reinterpret_cast(newObj); } void btPoint2PointConstraint_setPivotA_1(btPoint2PointConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setPivotA(*pArg0); } void btPoint2PointConstraint_setPivotB_1(btPoint2PointConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setPivotB(*pArg0); } btVector3Addr btPoint2PointConstraint_getPivotInA_0(btPoint2PointConstraintAddr self) { const btVector3& ret = reinterpret_cast(self)->getPivotInA(); return reinterpret_cast(&ret); } btVector3Addr btPoint2PointConstraint_getPivotInB_0(btPoint2PointConstraintAddr self) { const btVector3& ret = reinterpret_cast(self)->getPivotInB(); return reinterpret_cast(&ret); } void btPoint2PointConstraint_enableFeedback_1(btPoint2PointConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btPoint2PointConstraint_getBreakingImpulseThreshold_0(btPoint2PointConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btPoint2PointConstraint_setBreakingImpulseThreshold_1(btPoint2PointConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btPoint2PointConstraint_getParam_2(btPoint2PointConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btPoint2PointConstraint_setParam_3(btPoint2PointConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } btConstraintSettingAddr btPoint2PointConstraint_get_m_setting_0(btPoint2PointConstraintAddr self) { btConstraintSetting* ret = &reinterpret_cast(self)->m_setting; return reinterpret_cast(ret); } void btPoint2PointConstraint_set_m_setting_1(btPoint2PointConstraintAddr self, btConstraintSettingAddr arg0) { btConstraintSetting* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_setting = *pArg0; } void btPoint2PointConstraint___destroy___0(btPoint2PointConstraintAddr self) { delete reinterpret_cast(self); } // btBroadphaseProxy long_t btBroadphaseProxy_get_m_collisionFilterGroup_0(btBroadphaseProxyAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterGroup; return ret; } void btBroadphaseProxy_set_m_collisionFilterGroup_1(btBroadphaseProxyAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterGroup = arg0; } long_t btBroadphaseProxy_get_m_collisionFilterMask_0(btBroadphaseProxyAddr self) { long_t ret = reinterpret_cast(self)->m_collisionFilterMask; return ret; } void btBroadphaseProxy_set_m_collisionFilterMask_1(btBroadphaseProxyAddr self, long_t arg0) { reinterpret_cast(self)->m_collisionFilterMask = arg0; } void btBroadphaseProxy___destroy___0(btBroadphaseProxyAddr self) { delete reinterpret_cast(self); } // btGeneric6DofSpringConstraint btGeneric6DofSpringConstraintAddr btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_3(btRigidBodyAddr arg0, btTransformAddr arg1, bool arg2) { btRigidBody* pArg0 = reinterpret_cast(arg0); btTransform* pArg1 = reinterpret_cast(arg1); btGeneric6DofSpringConstraint* newObj = new btGeneric6DofSpringConstraint(*pArg0, *pArg1, arg2); return reinterpret_cast(newObj); } btGeneric6DofSpringConstraintAddr btGeneric6DofSpringConstraint_btGeneric6DofSpringConstraint_5(btRigidBodyAddr arg0, btRigidBodyAddr arg1, btTransformAddr arg2, btTransformAddr arg3, bool arg4) { btRigidBody* pArg0 = reinterpret_cast(arg0); btRigidBody* pArg1 = reinterpret_cast(arg1); btTransform* pArg2 = reinterpret_cast(arg2); btTransform* pArg3 = reinterpret_cast(arg3); btGeneric6DofSpringConstraint* newObj = new btGeneric6DofSpringConstraint(*pArg0, *pArg1, *pArg2, *pArg3, arg4); return reinterpret_cast(newObj); } void btGeneric6DofSpringConstraint_enableSpring_2(btGeneric6DofSpringConstraintAddr self, long_t arg0, bool arg1) { reinterpret_cast(self)->enableSpring(arg0, arg1); } void btGeneric6DofSpringConstraint_setStiffness_2(btGeneric6DofSpringConstraintAddr self, long_t arg0, double arg1) { reinterpret_cast(self)->setStiffness(arg0, arg1); } void btGeneric6DofSpringConstraint_setDamping_2(btGeneric6DofSpringConstraintAddr self, long_t arg0, double arg1) { reinterpret_cast(self)->setDamping(arg0, arg1); } void btGeneric6DofSpringConstraint_setLinearLowerLimit_1(btGeneric6DofSpringConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLinearLowerLimit(*pArg0); } void btGeneric6DofSpringConstraint_setLinearUpperLimit_1(btGeneric6DofSpringConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLinearUpperLimit(*pArg0); } void btGeneric6DofSpringConstraint_setAngularLowerLimit_1(btGeneric6DofSpringConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAngularLowerLimit(*pArg0); } void btGeneric6DofSpringConstraint_setAngularUpperLimit_1(btGeneric6DofSpringConstraintAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setAngularUpperLimit(*pArg0); } btTransformAddr btGeneric6DofSpringConstraint_getFrameOffsetA_0(btGeneric6DofSpringConstraintAddr self) { const btTransform& ret = reinterpret_cast(self)->getFrameOffsetA(); return reinterpret_cast(&ret); } void btGeneric6DofSpringConstraint_enableFeedback_1(btGeneric6DofSpringConstraintAddr self, bool arg0) { reinterpret_cast(self)->enableFeedback(arg0); } double btGeneric6DofSpringConstraint_getBreakingImpulseThreshold_0(btGeneric6DofSpringConstraintAddr self) { double ret = reinterpret_cast(self)->getBreakingImpulseThreshold(); return ret; } void btGeneric6DofSpringConstraint_setBreakingImpulseThreshold_1(btGeneric6DofSpringConstraintAddr self, double arg0) { reinterpret_cast(self)->setBreakingImpulseThreshold(arg0); } double btGeneric6DofSpringConstraint_getParam_2(btGeneric6DofSpringConstraintAddr self, long_t arg0, long_t arg1) { double ret = reinterpret_cast(self)->getParam(arg0, arg1); return ret; } void btGeneric6DofSpringConstraint_setParam_3(btGeneric6DofSpringConstraintAddr self, long_t arg0, double arg1, long_t arg2) { reinterpret_cast(self)->setParam(arg0, arg1, arg2); } void btGeneric6DofSpringConstraint___destroy___0(btGeneric6DofSpringConstraintAddr self) { delete reinterpret_cast(self); } // btBoxShape btBoxShapeAddr btBoxShape_btBoxShape_1(btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); btBoxShape* newObj = new btBoxShape(*pArg0); return reinterpret_cast(newObj); } void btBoxShape_setMargin_1(btBoxShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btBoxShape_getMargin_0(btBoxShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btBoxShape_setLocalScaling_1(btBoxShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btBoxShape_getLocalScaling_0(btBoxShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btBoxShape_calculateLocalInertia_2(btBoxShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btBoxShape___destroy___0(btBoxShapeAddr self) { delete reinterpret_cast(self); } // btCapsuleShapeX btCapsuleShapeXAddr btCapsuleShapeX_btCapsuleShapeX_2(double arg0, double arg1) { btCapsuleShapeX* newObj = new btCapsuleShapeX(arg0, arg1); return reinterpret_cast(newObj); } void btCapsuleShapeX_setMargin_1(btCapsuleShapeXAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCapsuleShapeX_getMargin_0(btCapsuleShapeXAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } long_t btCapsuleShapeX_getUpAxis_0(btCapsuleShapeXAddr self) { long_t ret = reinterpret_cast(self)->getUpAxis(); return ret; } double btCapsuleShapeX_getRadius_0(btCapsuleShapeXAddr self) { double ret = reinterpret_cast(self)->getRadius(); return ret; } double btCapsuleShapeX_getHalfHeight_0(btCapsuleShapeXAddr self) { double ret = reinterpret_cast(self)->getHalfHeight(); return ret; } void btCapsuleShapeX_setLocalScaling_1(btCapsuleShapeXAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCapsuleShapeX_getLocalScaling_0(btCapsuleShapeXAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCapsuleShapeX_calculateLocalInertia_2(btCapsuleShapeXAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCapsuleShapeX___destroy___0(btCapsuleShapeXAddr self) { delete reinterpret_cast(self); } // btQuaternion btQuaternionAddr btQuaternion_btQuaternion_4(double arg0, double arg1, double arg2, double arg3) { btQuaternion* newObj = new btQuaternion(arg0, arg1, arg2, arg3); return reinterpret_cast(newObj); } void btQuaternion_setValue_4(btQuaternionAddr self, double arg0, double arg1, double arg2, double arg3) { reinterpret_cast(self)->setValue(arg0, arg1, arg2, arg3); } void btQuaternion_setEulerZYX_3(btQuaternionAddr self, double arg0, double arg1, double arg2) { reinterpret_cast(self)->setEulerZYX(arg0, arg1, arg2); } void btQuaternion_setRotation_2(btQuaternionAddr self, btVector3Addr arg0, double arg1) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setRotation(*pArg0, arg1); } void btQuaternion_normalize_0(btQuaternionAddr self) { reinterpret_cast(self)->normalize(); } double btQuaternion_length2_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->length2(); return ret; } double btQuaternion_length_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->length(); return ret; } double btQuaternion_dot_1(btQuaternionAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); double ret = reinterpret_cast(self)->dot(*pArg0); return ret; } btQuaternionAddr btQuaternion_normalized_0(btQuaternionAddr self) { static btQuaternion temp; temp = reinterpret_cast(self)->normalized(); return reinterpret_cast(&temp); } btVector3Addr btQuaternion_getAxis_0(btQuaternionAddr self) { static btVector3 temp; temp = reinterpret_cast(self)->getAxis(); return reinterpret_cast(&temp); } btQuaternionAddr btQuaternion_inverse_0(btQuaternionAddr self) { static btQuaternion temp; temp = reinterpret_cast(self)->inverse(); return reinterpret_cast(&temp); } double btQuaternion_getAngle_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->getAngle(); return ret; } double btQuaternion_getAngleShortestPath_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->getAngleShortestPath(); return ret; } double btQuaternion_angle_1(btQuaternionAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); double ret = reinterpret_cast(self)->angle(*pArg0); return ret; } double btQuaternion_angleShortestPath_1(btQuaternionAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); double ret = reinterpret_cast(self)->angleShortestPath(*pArg0); return ret; } btQuaternionAddr btQuaternion_op_add_1(btQuaternionAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); btQuaternion* pSelf = reinterpret_cast(self); *pSelf += *pArg0; return reinterpret_cast(pSelf); } btQuaternionAddr btQuaternion_op_sub_1(btQuaternionAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); btQuaternion* pSelf = reinterpret_cast(self); *pSelf -= *pArg0; return reinterpret_cast(pSelf); } btQuaternionAddr btQuaternion_op_mul_1(btQuaternionAddr self, double arg0) { btQuaternion* pSelf = reinterpret_cast(self); *pSelf *= arg0; return reinterpret_cast(pSelf); } btQuaternionAddr btQuaternion_op_mulq_1(btQuaternionAddr self, btQuaternionAddr arg0) { btQuaternion* pArg0 = reinterpret_cast(arg0); btQuaternion* pSelf = reinterpret_cast(self); *pSelf *= *pArg0; return reinterpret_cast(pSelf); } btQuaternionAddr btQuaternion_op_div_1(btQuaternionAddr self, double arg0) { btQuaternion* pSelf = reinterpret_cast(self); *pSelf /= arg0; return reinterpret_cast(pSelf); } double btQuaternion_x_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->x(); return ret; } double btQuaternion_y_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->y(); return ret; } double btQuaternion_z_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->z(); return ret; } double btQuaternion_w_0(btQuaternionAddr self) { double ret = reinterpret_cast(self)->w(); return ret; } void btQuaternion_setX_1(btQuaternionAddr self, double arg0) { reinterpret_cast(self)->setX(arg0); } void btQuaternion_setY_1(btQuaternionAddr self, double arg0) { reinterpret_cast(self)->setY(arg0); } void btQuaternion_setZ_1(btQuaternionAddr self, double arg0) { reinterpret_cast(self)->setZ(arg0); } void btQuaternion_setW_1(btQuaternionAddr self, double arg0) { reinterpret_cast(self)->setW(arg0); } void btQuaternion___destroy___0(btQuaternionAddr self) { delete reinterpret_cast(self); } // btCapsuleShapeZ btCapsuleShapeZAddr btCapsuleShapeZ_btCapsuleShapeZ_2(double arg0, double arg1) { btCapsuleShapeZ* newObj = new btCapsuleShapeZ(arg0, arg1); return reinterpret_cast(newObj); } void btCapsuleShapeZ_setMargin_1(btCapsuleShapeZAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btCapsuleShapeZ_getMargin_0(btCapsuleShapeZAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } long_t btCapsuleShapeZ_getUpAxis_0(btCapsuleShapeZAddr self) { long_t ret = reinterpret_cast(self)->getUpAxis(); return ret; } double btCapsuleShapeZ_getRadius_0(btCapsuleShapeZAddr self) { double ret = reinterpret_cast(self)->getRadius(); return ret; } double btCapsuleShapeZ_getHalfHeight_0(btCapsuleShapeZAddr self) { double ret = reinterpret_cast(self)->getHalfHeight(); return ret; } void btCapsuleShapeZ_setLocalScaling_1(btCapsuleShapeZAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btCapsuleShapeZ_getLocalScaling_0(btCapsuleShapeZAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btCapsuleShapeZ_calculateLocalInertia_2(btCapsuleShapeZAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btCapsuleShapeZ___destroy___0(btCapsuleShapeZAddr self) { delete reinterpret_cast(self); } // btContactSolverInfo long_t btContactSolverInfo_get_m_solverMode_0(btContactSolverInfoAddr self) { long_t ret = reinterpret_cast(self)->m_solverMode; return ret; } void btContactSolverInfo_set_m_solverMode_1(btContactSolverInfoAddr self, long_t arg0) { reinterpret_cast(self)->m_solverMode = arg0; } bool btContactSolverInfo_get_m_splitImpulse_0(btContactSolverInfoAddr self) { bool ret = reinterpret_cast(self)->m_splitImpulse; return ret; } void btContactSolverInfo_set_m_splitImpulse_1(btContactSolverInfoAddr self, bool arg0) { reinterpret_cast(self)->m_splitImpulse = arg0; } double btContactSolverInfo_get_m_splitImpulsePenetrationThreshold_0(btContactSolverInfoAddr self) { double ret = reinterpret_cast(self)->m_splitImpulsePenetrationThreshold; return ret; } void btContactSolverInfo_set_m_splitImpulsePenetrationThreshold_1(btContactSolverInfoAddr self, double arg0) { reinterpret_cast(self)->m_splitImpulsePenetrationThreshold = arg0; } long_t btContactSolverInfo_get_m_numIterations_0(btContactSolverInfoAddr self) { long_t ret = reinterpret_cast(self)->m_numIterations; return ret; } void btContactSolverInfo_set_m_numIterations_1(btContactSolverInfoAddr self, long_t arg0) { reinterpret_cast(self)->m_numIterations = arg0; } void btContactSolverInfo___destroy___0(btContactSolverInfoAddr self) { delete reinterpret_cast(self); } // tScalarArray long_t tScalarArray_size_0(tScalarArrayAddr self) { long_t ret = reinterpret_cast(self)->size(); return ret; } double tScalarArray_at_1(tScalarArrayAddr self, long_t arg0) { double ret = reinterpret_cast(self)->at(arg0); return ret; } void tScalarArray_clear_0(tScalarArrayAddr self) { reinterpret_cast(self)->clear(); } void tScalarArray_push_back_1(tScalarArrayAddr self, double arg0) { reinterpret_cast(self)->push_back(arg0); } void tScalarArray_pop_back_0(tScalarArrayAddr self) { reinterpret_cast(self)->pop_back(); } void tScalarArray___destroy___0(tScalarArrayAddr self) { delete reinterpret_cast(self); } // btSphereShape btSphereShapeAddr btSphereShape_btSphereShape_1(double arg0) { btSphereShape* newObj = new btSphereShape(arg0); return reinterpret_cast(newObj); } void btSphereShape_setMargin_1(btSphereShapeAddr self, double arg0) { reinterpret_cast(self)->setMargin(arg0); } double btSphereShape_getMargin_0(btSphereShapeAddr self) { double ret = reinterpret_cast(self)->getMargin(); return ret; } void btSphereShape_setLocalScaling_1(btSphereShapeAddr self, btVector3Addr arg0) { const btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->setLocalScaling(*pArg0); } btVector3Addr btSphereShape_getLocalScaling_0(btSphereShapeAddr self) { const btVector3& ret = reinterpret_cast(self)->getLocalScaling(); return reinterpret_cast(&ret); } void btSphereShape_calculateLocalInertia_2(btSphereShapeAddr self, double arg0, btVector3Addr arg1) { btVector3* pArg1 = reinterpret_cast(arg1); reinterpret_cast(self)->calculateLocalInertia(arg0, *pArg1); } void btSphereShape___destroy___0(btSphereShapeAddr self) { delete reinterpret_cast(self); } // LocalConvexResult LocalConvexResultAddr LocalConvexResult_LocalConvexResult_5(btCollisionObjectAddr arg0, LocalShapeInfoAddr arg1, btVector3Addr arg2, btVector3Addr arg3, double arg4) { const btCollisionObject* pArg0 = reinterpret_cast(arg0); btCollisionWorld::LocalShapeInfo* pArg1 = reinterpret_cast(arg1); const btVector3* pArg2 = reinterpret_cast(arg2); const btVector3* pArg3 = reinterpret_cast(arg3); btCollisionWorld::LocalConvexResult* newObj = new btCollisionWorld::LocalConvexResult(pArg0, pArg1, *pArg2, *pArg3, arg4); return reinterpret_cast(newObj); } btCollisionObjectAddr LocalConvexResult_get_m_hitCollisionObject_0(LocalConvexResultAddr self) { const btCollisionObject* ret = reinterpret_cast(self)->m_hitCollisionObject; return reinterpret_cast(ret); } void LocalConvexResult_set_m_hitCollisionObject_1(LocalConvexResultAddr self, btCollisionObjectAddr arg0) { btCollisionObject* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitCollisionObject = pArg0; } LocalShapeInfoAddr LocalConvexResult_get_m_localShapeInfo_0(LocalConvexResultAddr self) { btCollisionWorld::LocalShapeInfo* ret = reinterpret_cast(self)->m_localShapeInfo; return reinterpret_cast(ret); } void LocalConvexResult_set_m_localShapeInfo_1(LocalConvexResultAddr self, LocalShapeInfoAddr arg0) { btCollisionWorld::LocalShapeInfo* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_localShapeInfo = pArg0; } btVector3Addr LocalConvexResult_get_m_hitNormalLocal_0(LocalConvexResultAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitNormalLocal; return reinterpret_cast(ret); } void LocalConvexResult_set_m_hitNormalLocal_1(LocalConvexResultAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitNormalLocal = *pArg0; } btVector3Addr LocalConvexResult_get_m_hitPointLocal_0(LocalConvexResultAddr self) { btVector3* ret = &reinterpret_cast(self)->m_hitPointLocal; return reinterpret_cast(ret); } void LocalConvexResult_set_m_hitPointLocal_1(LocalConvexResultAddr self, btVector3Addr arg0) { btVector3* pArg0 = reinterpret_cast(arg0); reinterpret_cast(self)->m_hitPointLocal = *pArg0; } double LocalConvexResult_get_m_hitFraction_0(LocalConvexResultAddr self) { double ret = reinterpret_cast(self)->m_hitFraction; return ret; } void LocalConvexResult_set_m_hitFraction_1(LocalConvexResultAddr self, double arg0) { reinterpret_cast(self)->m_hitFraction = arg0; } void LocalConvexResult___destroy___0(LocalConvexResultAddr self) { delete reinterpret_cast(self); } // btConstraintParams long_t enum_btConstraintParams_BT_CONSTRAINT_ERP() { return BT_CONSTRAINT_ERP; } long_t enum_btConstraintParams_BT_CONSTRAINT_STOP_ERP() { return BT_CONSTRAINT_STOP_ERP; } long_t enum_btConstraintParams_BT_CONSTRAINT_CFM() { return BT_CONSTRAINT_CFM; } long_t enum_btConstraintParams_BT_CONSTRAINT_STOP_CFM() { return BT_CONSTRAINT_STOP_CFM; } // PHY_ScalarType long_t enum_PHY_ScalarType_PHY_FLOAT() { return PHY_FLOAT; } long_t enum_PHY_ScalarType_PHY_DOUBLE() { return PHY_DOUBLE; } long_t enum_PHY_ScalarType_PHY_INTEGER() { return PHY_INTEGER; } long_t enum_PHY_ScalarType_PHY_SHORT() { return PHY_SHORT; } long_t enum_PHY_ScalarType_PHY_FIXEDPOINT88() { return PHY_FIXEDPOINT88; } long_t enum_PHY_ScalarType_PHY_UCHAR() { return PHY_UCHAR; } void btGImpactCollisionAlgorithm_RegisterAlgorithm0(btCollisionDispatcherAddr arg0) { btCollisionDispatcher* pArg0 = reinterpret_cast(arg0); btGImpactCollisionAlgorithm::registerAlgorithm(pArg0); } }