aboutsummaryrefslogtreecommitdiff
path: root/tools/viz
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-20 22:31:18 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-20 22:50:20 -0600
commita1027bceebb36afc4fa9d082277478abd8101eda (patch)
treef9692cad198f8e39e4fa0fe6cdd4cf1d5abcef5c /tools/viz
parent3c007f47a30b70f00fd642b14ef8f4127c46ffc3 (diff)
downloadlibsurvive-a1027bceebb36afc4fa9d082277478abd8101eda.tar.gz
libsurvive-a1027bceebb36afc4fa9d082277478abd8101eda.tar.bz2
Enabled and then cleaned up warnings
Diffstat (limited to 'tools/viz')
-rw-r--r--tools/viz/survive_viewer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/viz/survive_viewer.js b/tools/viz/survive_viewer.js
index 26f77a6..56ef47f 100644
--- a/tools/viz/survive_viewer.js
+++ b/tools/viz/survive_viewer.js
@@ -143,7 +143,7 @@ function redrawCanvas(when) {
ang[0][1] < when[key] - visible_tolerance)
continue;
- var half_fov = 1.0472 * 2;
+ var half_fov = 1.0472 * 2 / 5.;
var x = ang[0][0] / half_fov * canvas.width / 2 + canvas.width / 2;
var y = -ang[1][0] / half_fov * canvas.height / 2 + canvas.height / 2;