Closed foxostro closed 12 years ago
See: http://www.xnawiki.com/index.php?title=Voxel_traversal
This is a voxel ray-casting algorithm that is fast, elegant, and totally accurate. Use this instead of the nasty brute-force technique currently in use.
d48979f21561b5f9cd203aee3cf3bd75ad6fdfb2
This reduces the number of voxels examined during raycasting by an order of magnitude. (The old algorithm was not so good.)
See: http://www.xnawiki.com/index.php?title=Voxel_traversal
This is a voxel ray-casting algorithm that is fast, elegant, and totally accurate. Use this instead of the nasty brute-force technique currently in use.