Silk.NETS
Silk.NET3y ago
Kai

again I wouldn't know where to make the difference there also - like, I fully agree that for an int

again I wouldn't know where to make the difference there also - like, I fully agree that for an int type it can make sense to have some alternative "distance" think with manhattan distance etc.
But then that either returns (int, int) which is super annoying if I want to compare / find the max / min etc, since then I get to manually stuff that into
Vector2<float>
and do the conversions
Or it returns Vector2<int> leading back to the original problem
or it returns Vector2<float>, but that makes the case of getting each individual integer stupid (and might drop some precision)
Or it returns another point, but then I think the relative vs absolute idea is super muddied
Was this page helpful?