mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
18 lines
399 B
C++
18 lines
399 B
C++
|
#ifndef OPENMW_COMPONENTS_SCENEUTIL_UTIL_H
|
||
|
#define OPENMW_COMPONENTS_SCENEUTIL_UTIL_H
|
||
|
|
||
|
#include <osg/Matrix>
|
||
|
#include <osg/BoundingSphere>
|
||
|
|
||
|
namespace SceneUtil
|
||
|
{
|
||
|
|
||
|
// Transform a bounding sphere by a matrix
|
||
|
// based off private code in osg::Transform
|
||
|
// TODO: patch osg to make public
|
||
|
void transformBoundingSphere (const osg::Matrix& matrix, osg::BoundingSphere& bsphere);
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|