NDEBUG link option causes camera to fall through the floor
Posted: Tue Mar 27, 2007 9:40 pm
Hi, I'm new to Irrlicht.
I've looked around the forum, but found no similar report. I compiled Irrlicht 1.3 from source on Linux. Example 07 (Collision) compiled and run OK, although a little slower than ver. 1.2. Probably due to Irrlicht ability to recognized more feature of MD3.
Then, somewhere in the forum, I noticed someone mentioned that ver. 1.3 would run faster with NDEBUG options turned on. All went well, until I recompiled Example 07. It compiled, with no errors. When run: models and all textures loaded, but the FPS camera then could only move a few steps before falling into the void.
Curious, I tried setting Example 12 (Terrain) with gravity enabled (0, -1, 0). Amazingly it went fine, without a glitch.
I understand that both examples employ similar setup. So, what happen to Example 07?
Can anyone help? Thanks.
I've looked around the forum, but found no similar report. I compiled Irrlicht 1.3 from source on Linux. Example 07 (Collision) compiled and run OK, although a little slower than ver. 1.2. Probably due to Irrlicht ability to recognized more feature of MD3.
Then, somewhere in the forum, I noticed someone mentioned that ver. 1.3 would run faster with NDEBUG options turned on. All went well, until I recompiled Example 07. It compiled, with no errors. When run: models and all textures loaded, but the FPS camera then could only move a few steps before falling into the void.
Curious, I tried setting Example 12 (Terrain) with gravity enabled (0, -1, 0). Amazingly it went fine, without a glitch.
I understand that both examples employ similar setup. So, what happen to Example 07?
Can anyone help? Thanks.