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