(a)
| 42 | 1);a()},1)):a())}}e.run=cb;function qa(a){if(e.onAbort)e.onAbort(a);void 0!==a?(ma(a),na(a),a=JSON.stringify(a)):a="";pa=!0;throw"abort("+a+"). Build with -s ASSERTIONS=1 for more info.";}e.abort=qa;if(e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();e.noExitRuntime=!0;cb();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.b=WrapperObject; |
| 43 | WrapperObject.c={};e.WrapperObject=WrapperObject;function getCache(a){return(a||WrapperObject).c}e.getCache=getCache;function wrapPointer(a,b){var c=getCache(b),d=c[a];if(d)return d;d=Object.create((b||WrapperObject).prototype);d.a=a;return c[a]=d}e.wrapPointer=wrapPointer;function castObject(a,b){return wrapPointer(a.a,b)}e.castObject=castObject;e.NULL=wrapPointer(0); |
| 44 | function destroy(a){if(!a.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";a.__destroy__();delete getCache(a.b)[a.a]}e.destroy=destroy;function compare(a,b){return a.a===b.a}e.compare=compare;function getPointer(a){return a.a}e.getPointer=getPointer;function getClass(a){return a.b}e.getClass=getClass;var db=0,eb=0,fb=0,gb=[],hb=0;function f(){throw"cannot construct a btCollisionShape, no constructor in IDL";}f.prototype=Object.create(WrapperObject.prototype); |
| 45 | f.prototype.constructor=f;f.prototype.b=f;f.c={};e.btCollisionShape=f;f.prototype.setLocalScaling=function(a){var b=this.a;a&&"object"===typeof a&&(a=a.a);btCollisionShape_setLocalScaling_1(b,a)};f.prototype.getLocalScaling=function(){return wrapPointer(btCollisionShape_getLocalScaling_0(this.a),h)};f.prototype.calculateLocalInertia=function(a,b){var c=this.a;a&&"object"===typeof a&&(a=a.a);b&&"object"===typeof b&&(b=b.a);btCollisionShape_calculateLocalInertia_2(c,a,b)}; |
| 46 | f.prototype.setMargin=function(a){var b=this.a;a&&"object"===typeof a&&(a=a.a);btCollisionShape_setMargin_1(b,a)};f.prototype.getMargin=function(){return btCollisionShape_getMargin_0(this.a)};f.prototype.__destroy__=function(){btCollisionShape___destroy___0(this.a)};function k(){this.a=btCollisionObject_btCollisionObject_0();getCache(k)[this.a]=this}k.prototype=Object.create(WrapperObject.prototype);k.prototype.constructor=k;k.prototype.b=k;k.c={};e.btCollisionObject=k; |
| 47 | k.prototype.setAnisotropicFriction=function(a,b){var c=this.a;a&&"object"===typeof a&&(a=a.a);b&&"object"===typeof b&&(b=b.a);btCollisionObject_setAnisotropicFriction_2(c,a,b)};k.prototype.getCollisionShape=function(){return wrapPointer(btCollisionObject_getCollisionShape_0(this.a),f)};k.prototype.setContactProcessingThreshold=function(a){var b=this.a;a&&"object"===typeof a&&(a=a.a);btCollisionObject_setContactProcessingThreshold_1(b,a)}; |
nothing calls this directly
no test coverage detected