Handbook
Glossary
clamp-value ( value range -- newvalue )
Vocabulary
models
.
range
Inputs
value
an
object
range
an
object
Outputs
newvalue
an
object
Definition
USING:
kernel
math.order
;
IN:
models.range
:
clamp-value
( value range -- newvalue )
[
range-min-value
]
[
range-max-value*
]
bi
clamp
;