mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added mouse wheel for zooming
This commit is contained in:
parent
59978429c7
commit
93857ced2d
2 changed files with 26 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue