math docs
    Preparing search index...

    Function applyMatrix4

    • Applies a 4x4 transformation matrix to an OBB. This can be used to transform the bounding volume with the world matrix of a 3D object to keep both entities in sync.

      Parameters

      • out: obb3.OBB3

        The transformed OBB

      • obb: obb3.OBB3

        The OBB to transform

      • matrix: mat4.Mat4

        The 4x4 transformation matrix

      Returns obb3.OBB3

      out