2021-07-21 23:11:13 +08:00

10 lines
370 B
JavaScript

window.Physics3D = function(initialMemory, interactive) {
window.conch.setGetWorldTransformFunction(interactive.getWorldTransform);
window.conch.setSetWorldTransformFunction(interactive.setWorldTransform);
var conchBullet = window.layaConchBullet;
conchBullet.then = (complete) => {
complete();
};
window.Physics3D = conchBullet;
return conchBullet;
};