changing code style

This commit is contained in:
Sheldan
2024-03-10 20:21:58 +01:00
parent 3ebd227e63
commit 1e3b30813a

View File

@@ -11,7 +11,7 @@ const loader = new FontLoader();
const config = {
gravitationalConstant: 6.67430e-11,
timestep: 1 * 3600,
timeStep: 1 * 3600,
AU: 149_597_870_700,
lines: true
}
@@ -54,7 +54,7 @@ function render() {
}
function act() {
spheresAct(spheres.spheres, config.timestep)
spheresAct(spheres.spheres, config.timeStep)
if(config.lines) {
spheres.spheres.forEach(sphere => {
if(!(sphere.name in lines)) {