On my quest to make a voxel game, I found an algorithm called DDA. DDA is a line drawing algorithm that can also be used to render voxels. I thought that it would be smart to make this algorithm in 2D before moving to 3D. This is very similar to one of my past posts where I made a 2d raytracer.
See Here:
留言