math docs
    Preparing search index...

    Function set

    • Sets an OBB from center, half extents, and a rotation matrix.

      Parameters

      • out: obb3.OBB3

        the OBB to store the result

      • center: readonly [number, number, number]

        the center of the OBB

      • halfExtents: readonly [number, number, number]

        the half extents of the OBB

      • rotation: readonly [
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
        ]

        the Mat3 rotation matrix

      Returns obb3.OBB3

      the OBB with the given center, half extents, and rotation