cube-face-name1.0.0 • Public • Published
Gets a human readable name like
'py' for the specified index into a 3D cube, intended to be used alongside cube map manipulation in OpenGL applications. The order is the same as in DDS and OpenGL, see below.
var direction =var range =var images =
name = cubeFace(slot)
Returns a human-readable name for the given
slot in a cube map, using the same ordering as OpenGL and various texture formats:
px, nx, py, ny, pz, nz.
slot is between 0 (inclusive) and 6 (exclusive).
MIT, see LICENSE.md for details.