Silentor / InfluenceTerrainDemo

Some experiments with zone-based terrain generation
4 stars 2 forks source link

Data type for block position on land's grid #112

Closed Silentor closed 5 years ago

Silentor commented 5 years ago

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/