blob: 7c315862f65acb4708f726b9cc845046699b3c7a [file]
<script src="setup.js"></script>
<script async src="frames.js"></script>
<!--
EM_SAVE_DIR=1 ./tests/runner.py asm3.test_the_bullet
./emcc -O3 tests/bullet/Demos/HelloWorld/HelloWorldFrames.cpp tests/bullet/Demos/HelloWorld/BenchmarkDemo.cpp /tmp/emscripten_temp/building/bullet/src/BulletDynamics/libBulletDynamics.a /tmp/emscripten_temp/building/bullet/src/BulletCollision/libBulletCollision.a /tmp/emscripten_temp/building/bullet/src/LinearMath/libLinearMath.a -o tests/bullet/Demos/HelloWorld/frames.js -I./tests/bullet/src -s TOTAL_MEMORY=60000000 -s LINKABLE=1
./emcc -O3 tests/bullet/Demos/HelloWorld/HelloWorldFrames.cpp tests/bullet/Demos/HelloWorld/BenchmarkDemo.cpp /tmp/emscripten_temp/building/bullet/src/BulletDynamics/libBulletDynamics.a /tmp/emscripten_temp/building/bullet/src/BulletCollision/libBulletCollision.a /tmp/emscripten_temp/building/bullet/src/LinearMath/libLinearMath.a -o tests/bullet/Demos/HelloWorld/frames.emterp.js -I./tests/bullet/src -s TOTAL_MEMORY=60000000 -s LINKABLE=1 -s EMTERPRETIFY=1 -s SWAPPABLE_ASM_MODULE=1 -s EMTERPRETIFY_BLACKLIST='["__ZN20btAxisSweep3InternalItE9addHandleERK9btVector3S3_PvssP12btDispatcherS4_", "__ZN20btAxisSweep3InternalItE11sortMaxDownEitP12btDispatcherb", "__ZN20btAxisSweep3InternalItE11sortMinDownEitP12btDispatcherb", "__ZN20btAxisSweep3InternalItE12removeHandleEtP12btDispatcher", "__ZN35btSequentialImpulseConstraintSolver33resolveSingleConstraintRowGenericER11btRigidBodyS1_RK18btSolverConstraint", "__ZN16btCollisionWorld16updateSingleAabbEP17btCollisionObject", "__ZNK14btCapsuleShape7getAabbERK11btTransformR9btVector3S4_", "__ZN15btTransformUtil18integrateTransformERK11btTransformRK9btVector3S5_fRS0_", "__ZNK11btMatrix3x311getRotationER12btQuaternion", "__ZL10insertleafP6btDbvtP10btDbvtNodeS2_", "__ZN11btRigidBody14setupRigidBodyERKNS_27btRigidBodyConstructionInfoE", "__ZNK11btMatrix3x35tdotyERK9btVector3", "__ZN31btDefaultCollisionConfigurationC2ERK34btDefaultCollisionConstructionInfo", "__ZN28btHashedOverlappingPairCache26processAllOverlappingPairsEP17btOverlapCallbackP12btDispatcher", "__ZZN28btHashedOverlappingPairCache37removeOverlappingPairsContainingProxyEP17btBroadphaseProxyP12btDispatcherEN18RemovePairCallback14processOverlapER16btBroadphasePair", "__ZZN28btHashedOverlappingPairCache19cleanProxyFromPairsEP17btBroadphaseProxyP12btDispatcherEN17CleanPairCallback14processOverlapER16btBroadphasePair", "__ZN35btSequentialImpulseConstraintSolver28solveGroupCacheFriendlySetupEPP17btCollisionObjectiPP20btPersistentManifoldiPP17btTypedConstraintiRK19btContactSolverInfoP12btIDebugDrawP12btStackAlloc", "__ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherP16btCollisionWorldPNS_14IslandCallbackE", "__ZN17btHingeConstraint32getInfo2InternalUsingFrameOffsetEPN17btTypedConstraint17btConstraintInfo2ERK11btTransformS5_RK9btVector3S8_", "__ZN25btSimulationIslandManager12buildIslandsEP12btDispatcherP16btCollisionWorld", "__ZN21btCollisionDispatcher19defaultNearCallbackER16btBroadphasePairRS_RK16btDispatcherInfo", "__ZN21btCollisionDispatcher14needsCollisionEP17btCollisionObjectS1_", "__ZN11btRigidBody19integrateVelocitiesEf", "__ZN11btRigidBody12applyDampingEf", "__ZN25btSimulationIslandManager10findUnionsEP12btDispatcherP16btCollisionWorld"]'
python tools/distill_asm.py tests/bullet/Demos/HelloWorld/frames.emterp.js.orig.js tests/bullet/Demos/HelloWorld/frames.emterp.js.second.js swap-in
-->