Changed coeffs and did stuff
This commit is contained in:
parent
55de96688b
commit
0833727d96
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue