9#define NORMVEC3(dst, src) \
11 double len = sqrt(NORMSQRD3(src)); \
12 VDS3(dst, src, len); \
[AI] Represents an axis-aligned bounding box in 3D space, using minimum and maximum points.
[AI] Represents a bounding sphere in 3D space with center and radius.
4x4 Matrix class with virtual interface for manipulation and transformation.
[AI] 3D vector class, providing vector and cross-product operations in 3D space.
void CalcLocalTransform(const Vector3 &p_posVec, const Vector3 &p_dirVec, const Vector3 &p_upVec, Matrix4 &p_outMatrix)
[AI] Computes a transformation matrix based on a position, direction, and up vector.
void CalcWorldBoundingVolumes(const BoundingSphere &modelling_sphere, const Matrix4 &local2world, BoundingBox &, BoundingSphere &)
[AI] Computes the world-space bounding box and bounding sphere for an ROI using a modeling sphere and...