Cleanup, prepping for example game stuff
This commit is contained in:
@@ -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