Add files
This commit is contained in:
commit
77bde04db3
97 changed files with 10327 additions and 0 deletions
18
src/main.ts
Normal file
18
src/main.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue