Skip to content

@ue-too/board / RotationBoundary

Type Alias: RotationBoundary

RotationBoundary = object

Defined in: packages/board/src/camera/utils/rotation.ts:39

Experimental rotation boundary type with positive/negative direction semantics.

Remarks

This is an experimental alternative to RotationLimits with different direction semantics.

Properties

end

end: number

Defined in: packages/board/src/camera/utils/rotation.ts:41

Ending angle of the boundary in radians


positiveDirection

positiveDirection: boolean

Defined in: packages/board/src/camera/utils/rotation.ts:42

If true, range extends in positive angle direction. If false, negative direction


start

start: number

Defined in: packages/board/src/camera/utils/rotation.ts:40

Starting angle of the boundary in radians


startAsTieBreaker

startAsTieBreaker: boolean

Defined in: packages/board/src/camera/utils/rotation.ts:43

When equidistant from start and end, prefer start if true, end if false