fixed bounding volume issue
[laserbrain_demo] / src / app.cc
index 869af78..615366a 100644 (file)
@@ -39,6 +39,8 @@ SceneSet sceneman;
 
 unsigned int sdr_ltmap, sdr_ltmap_notex;
 
+int fpexcept_enabled;
+
 static Avatar avatar;
 
 static float cam_dist = 0.0;
@@ -82,6 +84,7 @@ bool app_init(int argc, char **argv)
        char *env = getenv("FPEXCEPT");
        if(env && atoi(env)) {
                info_log("enabling floating point exceptions\n");
+               fpexcept_enabled = 1;
                enable_fpexcept();
        }