Cleanup, prepping for example game stuff
This commit is contained in:
1 parent
3b4c5b5153
commit
0fb3ba2f91
13 files changed
+177
-209
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user