Improve physics
This commit is contained in:
parent
c21025caf6
commit
4ad60813c9
33 changed files with 457 additions and 382 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { glMatrix } from 'gl-matrix';
|
||||
import { Configuration } from './scripts/config/configuration';
|
||||
import { Game } from './scripts/game';
|
||||
import { Random } from './scripts/helper/random';
|
||||
import './styles/main.scss';
|
||||
|
|
@ -6,6 +7,8 @@ import './styles/main.scss';
|
|||
glMatrix.setMatrixArrayType(Array);
|
||||
|
||||
const main = async () => {
|
||||
await Configuration.initialize();
|
||||
|
||||
try {
|
||||
Random.seed = 42;
|
||||
await new Game().start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue