The way you do it is pretty standard. You can define a utility clamp function: /** * Returns a number whose value is limited to the given range.
確定! 回上一頁