Algorithm to fill quad determined by 4 points with voxels.

Hi all, I’m writing a small program, to draw voxel space. I can’t find anywhere algorithm to fill 3d areas, which will be useful to create my function. I want it to draw quad from voxels, by giving it 4 points as parameters. My first idea was to use 3d version of Bresenham Algorithm in recurrent way to work like this :
go to 1’st point, draw voxel line to 2’nd point
then draw 1’st voxel between points 2-3
draw voxel line between 1’st point and 1’st voxel of 2-3 line,
draw 2’nd voxel between points 2-3
draw voxel line between 1’st point and 2’nd voxel of 2-3 line, etc,

but I assume there is faster way, and my access to internet is very limited, so I can’t search a lot, thx for any help :slight_smile: