Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
520 B
Raw Blame
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_COMMULATIVEAABB_H

#include <BulletCollision/Gimpact/btBoxCollision.h>

#include <cstddef>

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