summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mdl/tribasis.obj11
-rw-r--r--vis.c4
2 files changed, 13 insertions, 2 deletions
diff --git a/mdl/tribasis.obj b/mdl/tribasis.obj
new file mode 100644
index 0000000..3c82bff
--- /dev/null
+++ b/mdl/tribasis.obj
@@ -0,0 +1,11 @@
+mtllib basis.mtl
+v 0 0 0
+v 1 0 0
+v 0 1 0
+v 0 0 1
+usemtl x
+f 1 2 3
+usemtl y
+f 1 3 4
+usemtl z
+f 1 4 2
diff --git a/vis.c b/vis.c
index 5796b32..0ec12f2 100644
--- a/vis.c
+++ b/vis.c
@@ -429,14 +429,14 @@ getshader(char *name)
void
zoomin(void)
{
- maincam->fov = fclamp(maincam->fov - 1*DEG, 1*DEG, 359*DEG);
+ maincam->fov = fclamp(maincam->fov - 1*DEG, 1*DEG, 180*DEG);
reloadcamera(maincam);
}
void
zoomout(void)
{
- maincam->fov = fclamp(maincam->fov + 1*DEG, 1*DEG, 359*DEG);
+ maincam->fov = fclamp(maincam->fov + 1*DEG, 1*DEG, 180*DEG);
reloadcamera(maincam);
}