Lines Matching refs:numFaces
61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) in getPossibleCubeFaces() argument
73 numFaces = 0; in getPossibleCubeFaces()
77 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
78 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
82 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces()
83 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
87 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces()
88 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces()
95 faces[numFaces++] = CUBEFACE_NEGATIVE_X; in getPossibleCubeFaces()
96 faces[numFaces++] = CUBEFACE_POSITIVE_X; in getPossibleCubeFaces()
101 faces[numFaces++] = CUBEFACE_NEGATIVE_Y; in getPossibleCubeFaces()
102 faces[numFaces++] = CUBEFACE_POSITIVE_Y; in getPossibleCubeFaces()
107 faces[numFaces++] = CUBEFACE_NEGATIVE_Z; in getPossibleCubeFaces()
108 faces[numFaces++] = CUBEFACE_POSITIVE_Z; in getPossibleCubeFaces()