Bit more cleanup
This commit is contained in:
1 parent
3d984e13c2
commit
2e43aa2c44
13 files changed
+132
-84
No files matched your search
@@ -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