Closed nullsystem closed 2 weeks ago
Perhaps add a
static_assert(NEO_ZOOM_SPEED != 0, "div by zero");
or similar under the var declaration since we're dividing by the value in many places. So if for whatever reason someone were to zero the value, the bug gets caught at compile time.