# Vector3 Hashing

Vector3 can be used as keys for Tables. This is very useful for easily dividing the world into Chunks for Spatial Trees

```lua
local CELLSIZE = 10
local Grid = {}

local WorldPosition = Vector3.new(12.34, 56.78, 90.12)
local ChunkPos = Vector3.new(
    math.floor(WorldPosition.X/CELLSIZE),
    math.floor(WorldPosition.Y/CELLSIZE),
    math.floor(WorldPosition.Z/CELLSIZE)
)

Grid[ChunkPos] = Chunk
```
