Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raycastVoxels() default normal to top face if hits inside voxel
voxel-raycast can return a hit normal of [0,0,0] if, for example, the starting position is within a voxel, but this is not a valid normal vector. If this happens, instead default to [0,1,0], the top face.
- Loading branch information