Changed coeffs and did stuff

This commit is contained in:
Thomas FORGIONE
2015-06-22 10:09:52 +02:00
parent 55de96688b
commit 0833727d96
2 changed files with 5 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ var PointerCamera = function() {
this.collisions = true;
this.shouldLogCameraAngles = true;
this.resetElements = resetBobombElements();
}
PointerCamera.prototype = Object.create(THREE.PerspectiveCamera.prototype);
@@ -179,9 +181,9 @@ PointerCamera.prototype.normalMotion = function(time) {
var self = this;
setTimeout(function() {
self.shouldLogCameraAngles = true;
}, 500);
}, 100);
var event = new BD.KeyboardEvent();
var event = new BD.Event.KeyboardEvent();
event.camera = this;
}