Function createSceneObjectAABB3

  • Creates an Axis-Aligned Bounding Box (AABB) for a given scene object.

    Parameters

    • sceneObject: SceneObject

      The scene object for which the AABB is created.

    • Optionalaabb: AABB3 = ...

      The initial AABB to be modified. Defaults to a collapsed AABB.

    Returns AABB3

    • The resulting AABB for the scene object.