Add CalcWorldBoundingVolumes (#651)

This commit is contained in:
Christian Semmler
2024-03-10 10:29:16 -04:00
committed by GitHub
parent 660c1e1170
commit d090b449d1
9 changed files with 40 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
#define REALTIME_H
#include "matrix.h"
#include "roi.h"
#define NORMVEC3(dst, src) \
{ \
@@ -11,4 +12,8 @@
void CalcLocalTransform(const Vector3& p_posVec, const Vector3& p_dirVec, const Vector3& p_upVec, Matrix4& p_outMatrix);
// utility to help derived ROI classes implement
// update_world_bounding_volumes() using a modelling sphere
void CalcWorldBoundingVolumes(const BoundingSphere& modelling_sphere, const Matrix4& local2world, BoundingBox&, BoundingSphere&);
#endif // REALTIME_H