diff --git a/src/main.cpp b/src/main.cpp index 82a2093..f727055 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -44,6 +44,7 @@ #define GAME_ARENA_SIZE 16 * 1024 * 1024 // 16MB #define DEFAULT_MAX_ORBITS 10000 #define DEFAULT_MANUEVER_NODES 3 * DEFAULT_MAX_ORBITS +#define DEBUG_ORBITS false // add a thousand extra randrom orbits const double SCALING = 0.001; const vec4 g_light_direction = vec4(-2, 1, 3, 1); @@ -304,8 +305,10 @@ loadScene(GameState* gs, RenderState* rs) // NOTE: pre-select an orbit for testing selectOrbit(gs, go_2); +#if DEBUG_ORBITS // NOTE: add more orbits with maneuvers to try and provoke a failure loadRandomOrbits(gs, rs, 1000, body, rg); +#endif return true; }