Bit more cleanup
This commit is contained in:
@@ -3,11 +3,12 @@ var Cube = include('entities/cube.js');
|
||||
function CubeScene() {
|
||||
this.cam = new Entity();
|
||||
this.cam.add(POSITION);
|
||||
this.cam.add(CAMERA);
|
||||
|
||||
this.cam.position.x = 3;
|
||||
this.cam.position.y = 3;
|
||||
this.cam.position.z = 3;
|
||||
this.cam.position.lookAt(0, 0, 0);
|
||||
this.cam.add(CAMERA);
|
||||
|
||||
this.cube = new Cube();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user