Cleanup, prepping for example game stuff

This commit is contained in:
2026-04-30 23:43:49 -05:00
parent 3b4c5b5153
commit 0fb3ba2f91
13 changed files with 177 additions and 209 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
var Cube = include('entities/cube.js');
var CubeEntity = include('entities/CubeEntity.js');
function CubeScene() {
this.cam = new Entity();
@@ -8,7 +8,7 @@ function CubeScene() {
this.cam.position.position = new Vec3(3, 3, 3);
this.cam.position.lookAt(new Vec3(0, 0, 0));
this.cube = new Cube();
this.cube = new CubeEntity();
}
CubeScene.prototype = Object.create(Scene.prototype);