@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
18 lines (16 loc) • 438 B
text/typescript
import {AllNodesRegister} from './nodes/All';
import {AllNamedFunctionRegister} from './functions/All';
import {AllCamerasRegister} from './cameras/All';
import {Poly} from '../../Poly';
export class AllRegister {
private static _started = false;
static async run() {
if (this._started) {
return;
}
this._started = true;
AllNodesRegister.run(Poly);
AllCamerasRegister.run(Poly);
AllNamedFunctionRegister.run(Poly);
}
}