mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
520 B
C++
24 lines
520 B
C++
2 years ago
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H
|
||
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H
|
||
|
|
||
|
#include <BulletCollision/Gimpact/btBoxCollision.h>
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
namespace DetourNavigator
|
||
|
{
|
||
|
class CommulativeAabb
|
||
|
{
|
||
|
public:
|
||
|
explicit CommulativeAabb(std::size_t lastChangeRevision, const btAABB& aabb);
|
||
|
|
||
|
bool update(std::size_t lastChangeRevision, const btAABB& aabb);
|
||
|
|
||
|
private:
|
||
|
std::size_t mLastChangeRevision;
|
||
|
btAABB mAabb;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|