@ue-too/board / index / rotationWithinBoundary
函式: rotationWithinBoundary()
rotationWithinBoundary(
rotation,rotationBoundary):boolean
定義於: packages/board/src/camera/utils/rotation.ts:180
Checks if a rotation angle is within an experimental rotation boundary.
參數
rotation
number
The rotation angle to check in radians
rotationBoundary
Rotation boundary with positive/negative direction
回傳
boolean
True if rotation is within the boundary range, false otherwise
備註
This is an experimental alternative to rotationWithinLimits using positive/negative direction semantics instead of ccw/cw.