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

View File

@ -8,6 +8,7 @@ DROP TABLE IF EXISTS previousnextclicked CASCADE;
DROP TABLE IF EXISTS hovered CASCADE; DROP TABLE IF EXISTS hovered CASCADE;
DROP TABLE IF EXISTS scene CASCADE; DROP TABLE IF EXISTS scene CASCADE;
DROP TABLE IF EXISTS experiment CASCADE; DROP TABLE IF EXISTS experiment CASCADE;
DROP TABLE IF EXISTS fpscounter CASCADE;
DROP TYPE IF EXISTS VECTOR3 CASCADE; DROP TYPE IF EXISTS VECTOR3 CASCADE;
DROP TYPE IF EXISTS CAMERA CASCADE; DROP TYPE IF EXISTS CAMERA CASCADE;