modelcfg.stepsPerSecond is an unsigned integer currently, so it is not possible to have a visualisation with fewer than 1 simulation step per second.
Alternatively, exposing a new method in the FLAMEGPU/vis interface to set step_ms directly as a flaoting point value rather than as 1000/stepsPerSecond might be helpful in some use-cases.
i.e. something like:
ModelVis::setSimulationDelay(float seconds);
These would need to conflict with one another however.
modelcfg.stepsPerSecondis an unsigned integer currently, so it is not possible to have a visualisation with fewer than 1 simulation step per second.Alternatively, exposing a new method in the FLAMEGPU/vis interface to set
step_msdirectly as a flaoting point value rather than as1000/stepsPerSecondmight be helpful in some use-cases.i.e. something like:
These would need to conflict with one another however.