Lines Matching refs:numFaces
73 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument
85 numFaces = 0; in getPossibleCubeFaces()
89 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
90 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
94 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces()
95 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
99 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces()
100 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces()
107 faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
108 faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
113 faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
114 faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces()
119 faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces()
120 faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces()