clamp method
@param maxCoor -- Beginning of range @param minCoor -- End of range
Implementation
Coordinate clamp(Coordinate maxCoor, Coordinate minCoor)
{
return max(maxCoor).min(minCoor);
}
@param maxCoor -- Beginning of range @param minCoor -- End of range
Coordinate clamp(Coordinate maxCoor, Coordinate minCoor)
{
return max(maxCoor).min(minCoor);
}