1 thought on “when to call geometry. computeBoundingBox() ?

  1. I know it’s an old topic but the following comment by @alteredq really ought to be in the manual if it is still valid for the current version:

    Bounding box is not used internally for anything, it’s there in case you need it somewhere at the application level. It’s not computed at all anywhere automatically, you need to compute it yourself.

    Bounding sphere is used for frustum culling and with Ray / Projector. It’s computed automatically just on creation of objects. You need to recompute it manually if you change vertices (change positions, add / remove vertices)

Comments are closed.