Creates a new BoxInputs instance for pointer-driven box resizing.
The parent Viewer that renders the scene.
A SectionBoxHandles instance containing the draggable mesh handles.
The shared bounding box (Box3
) that will be updated by dragging.
Called when the user has finished reshaping the box (pointer up).
The final box after dragging ends.
Called continuously as the box is reshaped by dragging.
The updated box after the latest drag move.
Called when the pointer enters or leaves a handle face.
The normal (forward) vector of the hovered handle, or a zero vector if none.
Manages pointer interactions (mouse, touch, etc.) on a SectionBoxHandles to reshape a Three.js
Box3
. This includes detecting which handle is hovered or dragged, capturing the pointer for smooth dragging, and enforcing a minimum box size.