Data type for block position on land's grid
Closed this issue · 0 comments
Silentor commented
I want a dedicated data type for position on rectagonal grid. Vector2i is not fully suitable, its about direction and distance. So
Position - Position = Vector2i,
Position + Vector2i = Position,
etc
See https://www.gamedev.net/forums/topic/538108-difference-between-vector-and-point/