Lines Matching refs:faces
61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces)
77 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X;
78 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X;
82 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y;
83 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y;
87 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z;
88 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z;
92 // One or more components are equal (or within error bounds). Allow all faces where major axis is not zero.
95 faces[numFaces++] = CUBEFACE_NEGATIVE_X;
96 faces[numFaces++] = CUBEFACE_POSITIVE_X;
101 faces[numFaces++] = CUBEFACE_NEGATIVE_Y;
102 faces[numFaces++] = CUBEFACE_POSITIVE_Y;
107 faces[numFaces++] = CUBEFACE_NEGATIVE_Z;
108 faces[numFaces++] = CUBEFACE_POSITIVE_Z;