math docs
    Preparing search index...

    Function setFromBox3

    • Creates an OBB from an axis-aligned bounding box (AABB). The resulting OBB will have the same center and extents as the AABB, with no rotation (identity orientation).

      Parameters

      • out: obb3.OBB3

        The OBB to store the result

      • aabb: box3.Box3

        The AABB (min and max corners)

      Returns obb3.OBB3

      out