In general, you should probably only need integers to do UI code. The major exception is working with graphics APIs. But a lot of the work that the CPU will do revolves around coordinates which are always discrete.
Our internal vectors and rectangles should primarily be i32/u32 variants (or u16???), only converting to float when it's truly necessary for some final drawing operation (probably involving vertices etc.)
In general, you should probably only need integers to do UI code. The major exception is working with graphics APIs. But a lot of the work that the CPU will do revolves around coordinates which are always discrete.
Our internal vectors and rectangles should primarily be
i32
/u32
variants (oru16
???), only converting to float when it's truly necessary for some final drawing operation (probably involving vertices etc.)