added mouse wheel for zooming

This commit is contained in:
Jeena 2013-11-30 11:54:31 +01:00
parent 59978429c7
commit 93857ced2d
2 changed files with 26 additions and 1 deletions

View file

@ -55,6 +55,7 @@ define(requires, function (DomController, Three, Settings, CameraController) {
var ambientLight = new Three.AmbientLight(0xffffff);
this.scene.add(ambientLight);
//var directionalLight = new Three.DirectionalLight(0xffffff);
//directionalLight.position.set(1, 0, 10).normalize();
@ -67,6 +68,10 @@ define(requires, function (DomController, Three, Settings, CameraController) {
//});
}
ViewController.prototype.loadPlayerMesh = function(player) {
};
ViewController.prototype.loadMeshes = function(objects) {
var self = this;
for (var i = 0; i < objects.length; i++) {