Searched refs:layerCoord (Results 1 – 1 of 1) sorted by relevance
1843 static inline IVec2 computeLayerRange (int numLayers, int numCoordBits, float layerCoord) in computeLayerRange() argument1845 const float err = computeFloatingPointError(layerCoord, numCoordBits); in computeLayerRange()1846 const int minL = (int)deFloatFloor(layerCoord - err + 0.5f); // Round down in computeLayerRange()1847 const int maxL = (int)deFloatCeil(layerCoord + err + 0.5f) - 1; // Round up in computeLayerRange()2102 const Vec3 layerCoord = coord.toWidth<3>(); in isLookupResultValid() local2108 getPossibleCubeFaces(layerCoord, prec.coordBits, &possibleFaces[0], numPossibleFaces); in isLookupResultValid()2117 …ords faceCoords (possibleFaces[tryFaceNdx], projectToFace(possibleFaces[tryFaceNdx], layerCoord)); in isLookupResultValid()