window.onload = function () {
//Create a new instance of the application
const application = new Application();
//Initialize all planets for the first time
application.solarSystem.initializePlanets(application.center);
//Initialize the dat.GUI object and assign the variables that the user can adjust
const gui = new dat.GUI();
gui.add(settings, 'spawnMass', 5, 200);
gui.add(settings, 'amountOfPredictions', 50, 500);
gui.add(settings, 'pauseWhileAiming');
gui.add(application, 'reset');
gui.close();
//Start the initial loop function for the first time
application.loop();
};
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
