mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:49:56 +00:00
20 lines
343 B
C++
20 lines
343 B
C++
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_BOUNDS_H
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_BOUNDS_H
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
struct Bounds
|
|
{
|
|
osg::Vec3f mMin;
|
|
osg::Vec3f mMax;
|
|
};
|
|
|
|
inline bool isEmpty(const Bounds& value)
|
|
{
|
|
return value.mMin == value.mMax;
|
|
}
|
|
}
|
|
|
|
#endif
|