3D.
Use a plane/ray intersection test for each face of the brush, and see if the intersection point is behind all the other brush faces.
You probably have no idea what I'm talking about.
Use a plane/ray intersection test for each face of the brush, and see if the intersection point is behind all the other brush faces.
You probably have no idea what I'm talking about.