Lines Matching refs:numFaces
61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces)
73 numFaces = 0;
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;
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;