Bitbybit Docs
    Preparing search index...

    Variable axesAlongConst

    axesAlong: (origin: Vec3, normal: Vec3) => FrameAxes | undefined

    The axes of an origin and a normal alone: X is the world axis least aligned with the normal, squared to it, so the choice never comes close to parallel. Axes within a billionth of the least aligned count as tied and the first of them, in X, Y, Z order, is taken, so rounding noise in the normal cannot turn the frame. Gives undefined for a normal of no length.

    Type Declaration