b5dcd10546
and fix complaint about clamp() call being ambiguous. Use std::clamp() instead.
and fix complaint about clamp() call being ambiguous. Use std::clamp() instead.