Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module ui/dimension-sliders/slider-math

    Pure math helpers used by dimension-sliders and other range-style UI.

    These functions are intentionally framework-free — no DOM, no THREE, no scene state. They exist so the value/fraction/wrap logic can be unit tested without a browser environment, and so any UI consumer that needs the same math (range slider, dimension dropdown, etc.) shares one implementation rather than reinventing it.

    clampWithCyclicWrap
    clampInteger