Lines Matching refs:coord
247 void calcUnnormalizedCoordRange (const Vec4& coord,
257 Interval coordInterval = Interval(coord[compNdx]);
389 deInt32 wrapTexelCoord (const deInt32 coord,
398 wrappedCoord = mod(coord, size);
402 wrappedCoord = (size - 1) - mirror(mod(coord, 2 * size) - size);
406 wrappedCoord = de::clamp(coord, 0, (deInt32) size - 1);
410 wrappedCoord = de::clamp(coord, -1, (deInt32) size);
414 wrappedCoord = de::clamp(mirror(coord), 0, (deInt32) size - 1);
472 void wrapCubemapEdge (const IVec2& coord,
480 if (coord[1] < 0)
484 else if (coord[0] > 0)
488 else if (coord[1] > 0)
504 newCoord[edgeComponent[adjacentEdgeNdx]] = coord[edgeComponent[edgeNdx]];
509 size[edgeComponent[edgeNdx]] - coord[edgeComponent[edgeNdx]] - 1;
518 void wrapCubemapCorner (const IVec2& coord,
529 if (coord[0] < 0 && coord[1] < 0)
533 else if (coord[0] > 0 && coord[1] < 0)
537 else if (coord[0] > 0 && coord[1] > 0)