Hello. I’m trying to make my plugin. But the problem is that IDK how get voxels which intersect with brush:

(Green squares are intersected, red are not.)
Can someone give me an idea how achieve this?
Hello. I’m trying to make my plugin. But the problem is that IDK how get voxels which intersect with brush:

(Green squares are intersected, red are not.)
Can someone give me an idea how achieve this?