Closed joshuaoreilly closed 2 years ago
I just noticed that in method drawImGui
of main.cpp, the list is indeed hardcoded. Adding a new name to names[]
and modifying the last argument of Combo("Boids Behavior", (int*)¤tMethod, names, 5)
from 5 to 6 added my new type.
I've added a new item to the MethodTypes enum, but it doesn't show in the simulation. If I change the currentMethod in main.cpp to my new type, it just shows up as blank. Is the list content hard-coded somewhere?