Takes in a polyhedron in c4d, returns a grid with inside/outside/surface points annotated. Usage: projectPolyhedronToGrid2(x) where x is the grid spacing you want.
Changes since 3.1:
- Fixed leakage issues on concave sections
- Code cleanup