max-mapper / voxel

tools to work with voxel generation and meshing in javascript
189 stars 39 forks source link

Provide all voxel iteration functions inside voxel #14

Open kumavis opened 10 years ago

kumavis commented 10 years ago

From #9 Provide all voxel iteration functions (raycast, moore neighbourhood, etc.) inside voxel, where they can benefit from not having to look up the chunk on every iteration.

deathcap commented 9 years ago

and/or a generic voxel iteration method (something like https://github.com/deathcap/voxel-clientmc/issues/5#issuecomment-85180048?), for the same reason: avoiding to calculate and lookup the chunk index and object for each voxel coordinate