@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / STRAIGHT_COS
Variable: STRAIGHT_COS ​
ts
const STRAIGHT_COS: 0.95 = 0.95;Defined in: xr/handPose.ts:148
Straightness normalization.
Adjacent bone directions are compared by dot product (cheaper than acos and monotonic, which is all we need). A dot at or above STRAIGHT_COS reads as perfectly straight; at or below CURLED_COS (~57°) as fully curled.

