sdf-2d/src/main.ts
schmelczerandras 77bde04db3 Add files
2020-09-15 10:08:16 +02:00

18 lines
348 B
TypeScript

import { glMatrix } from 'gl-matrix';
import { applyArrayPlugins } from './helper/array';
import { Random } from './helper/random';
glMatrix.setMatrixArrayType(Array);
applyArrayPlugins();
const main = async () => {
try {
Random.seed = 42;
//await new Game().start();
} catch (e) {
console.error(e);
alert(e);
}
};
main();