MathCompare.clamp: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/math_compare.bend as MathCompare Lines 67-69 of stelliferous@0.0.2.0/math_compare.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/math_compare.bend&start_line=67&end_line=69 import Base def clamp(bounds: Bounds,element: F32) -> F32: Bounds{low,high} = bounds F32.min(F32.max(element,low),high) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.max https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.min https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_compare.bend&name=Bounds