Given a number between from and to, returns a decimal how far it is, t, clamped between 0 and 1.
from
to
t
Generated using TypeDoc
Given a number between
fromandto, returns a decimal how far it is,t, clamped between 0 and 1.