|
Isle
|

Go to the source code of this file.
Functions | |
| void | CalcWorldBoundingVolumes (const BoundingSphere &modelling_sphere, const Matrix4 &local2world, BoundingBox &world_bounding_box, BoundingSphere &world_bounding_sphere) |
| [AI] Computes the world-space bounding box and bounding sphere for an ROI using a modeling sphere and a transformation matrix. More... | |
| void CalcWorldBoundingVolumes | ( | const BoundingSphere & | modelling_sphere, |
| const Matrix4 & | local2world, | ||
| BoundingBox & | world_bounding_box, | ||
| BoundingSphere & | world_bounding_sphere | ||
| ) |
[AI] Computes the world-space bounding box and bounding sphere for an ROI using a modeling sphere and a transformation matrix.
[AI]
| modelling_sphere | The source bounding sphere describing the object in its local/model space. [AI] | |
| local2world | Transformation matrix converting local coordinates to world coordinates. [AI] | |
| [out] | BoundingBox | Output axis-aligned bounding box computed in world space. [AI] |
| [out] | BoundingSphere | Output bounding sphere transformed to world space. [AI] |
[AI] Helper utility for ROI (Real-time Object Instance) classes, typically used in update_world_bounding_volumes() to create world-space volumes for culling or collision, by transforming an existing modeling sphere. [AI]
Definition at line 163 of file orientableroi.cpp.