Convert a direction vector (not necessarily unit length) to (face, si, ti) coordinates and, if p is exactly equal to the center of a cell, return the level of this cell (-1 otherwise).
See Implementation
Convert a direction vector (not necessarily unit length) to (face, si, ti) coordinates and, if p is exactly equal to the center of a cell, return the level of this cell (-1 otherwise).