XYZtoFaceSiTi

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).

int
XYZtoFaceSiTi
(,
out int face
,
out uint si
,
out uint ti
)

Meta