add vertices draw limit after I accidentally removed it
This commit is contained in:
@ -48,7 +48,7 @@ constexpr int REPULSION_GRID_REFRESH = 5; // Grid rebuild freq
|
||||
constexpr float VERTEX_SIZE = 0.5;
|
||||
constexpr Color VERTEX_COLOR = GREEN;
|
||||
constexpr Color EDGE_COLOR = DARKGREEN;
|
||||
constexpr int DRAW_VERTICES_LIMIT = 100000;
|
||||
constexpr int DRAW_VERTICES_LIMIT = 1000000;
|
||||
|
||||
// Klotski Drawing
|
||||
constexpr int BOARD_PADDING = 5;
|
||||
|
||||
@ -89,6 +89,10 @@ public:
|
||||
MassSpringSystem() {
|
||||
#ifndef BARNES_HUT
|
||||
last_build = REPULSION_GRID_REFRESH;
|
||||
std::cout << "Using uniform grid repulsion force calculation." << std::endl;
|
||||
#else
|
||||
std::cout << "Using Barnes-Hut + octree repulsion force calculation."
|
||||
<< std::endl;
|
||||
#endif
|
||||
|
||||
#ifndef WEB
|
||||
|
||||
Reference in New Issue
Block a user