Optimize object container

This commit is contained in:
schmelczerandras 2020-07-27 18:50:57 +02:00
parent b5a2ae4d0e
commit 854e5a55a1
3 changed files with 37 additions and 7 deletions

View file

@ -1,9 +1,13 @@
import './styles/main.scss';
import { glMatrix } from 'gl-matrix';
import { Game } from './scripts/game';
import { applyArrayPlugins } from './scripts/helper/array';
import { glMatrix } from 'gl-matrix';
import './styles/main.scss';
glMatrix.setMatrixArrayType(Array);
applyArrayPlugins();
new Game();
try {
new Game();
} catch (e) {
alert(e);
}