crashcat docs
    Preparing search index...

    Function updateAABB

    • Updates the world-space AABB based on the body's transform and shape AABB. Must be called whenever position, quaternion, or shape changes.

      The rotation basis and the box transform are written out rather than composed through a temporary Mat4. That matrix was a per-call array allocation, and only twelve of its sixteen cells were ever read — the fourth row and column are built by fromRotationTranslation and ignored by box3.transformMat4. Same arithmetic in the same order, so the result is bit-identical.

      Parameters

      Returns void