forwarding (drawing) line in 3d grid

Consider using of Woo and Amanatides grid traversal algorithm: article “Fast Voxel Traversal Algorithm…”

Practical implementation is in grid traversal section here

2d-case illustration:

enter image description here

Leave a Comment