add timing & animation details to stats-world

This commit is contained in:
2023-05-28 09:11:37 -06:00
parent 9f49234179
commit b0fc8818ee
6 changed files with 61 additions and 2 deletions

View File

@@ -24,6 +24,8 @@ class World {
this.update = this.update.bind(this);
this.vue = vue;
// Instances of camera, scene, and renderer
this.camera = createCamera();
this.scene = createScene(COLOR2);
@@ -99,6 +101,10 @@ class World {
stop() {
this.loop.stop();
}
setExposedWorldProperties(key, value) {
this.vue.setWorldProperty(key, value);
}
}
export { World };