Add a camera to move around the numberline, add text for the bounds

This commit is contained in:
2025-12-12 05:15:17 +00:00
parent 8cd700a9e0
commit 01484a65ec
3 changed files with 46 additions and 22 deletions

View File

@@ -36,7 +36,11 @@ namespace cw::state
f64 lower_val, upper_val;
} bounds;
DrawState(State &state) : state{state} {};
DrawState(State &state) : state{state}
{
// lim n -> -∞
bounds.lower_val = 0;
};
void compute_bounds(void);
};