1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Remove recastnavigation conflicts

This commit is contained in:
AnyOldName3 2018-10-31 15:15:01 +00:00
parent 90986df81c
commit 4489f23005
2 changed files with 2 additions and 36 deletions

View File

@ -3,9 +3,10 @@
#include "tilebounds.hpp"
#include <osg/io_utils>
#include <components/bullethelpers/operators.hpp>
#include <components/misc/guarded.hpp>
#include <components/osghelpers/operators.hpp>
#include <chrono>
#include <fstream>

View File

@ -1,35 +0,0 @@
#ifndef OPENMW_COMPONENTS_OSGHELPERS_OPERATORS_H
#define OPENMW_COMPONENTS_OSGHELPERS_OPERATORS_H
#include <iomanip>
#include <limits>
#include <ostream>
#include <osg/Vec2i>
#include <osg/Vec2f>
#include <osg/Vec3f>
namespace osg
{
inline std::ostream& operator <<(std::ostream& stream, const Vec2i& value)
{
return stream << "osg::Vec2i(" << value.x() << ", " << value.y() << ")";
}
inline std::ostream& operator <<(std::ostream& stream, const Vec2f& value)
{
return stream << "osg::Vec2f(" << std::setprecision(std::numeric_limits<float>::max_exponent10) << value.x()
<< ", " << std::setprecision(std::numeric_limits<float>::max_exponent10) << value.y()
<< ')';
}
inline std::ostream& operator <<(std::ostream& stream, const Vec3f& value)
{
return stream << "osg::Vec3f(" << std::setprecision(std::numeric_limits<float>::max_exponent10) << value.x()
<< ", " << std::setprecision(std::numeric_limits<float>::max_exponent10) << value.y()
<< ", " << std::setprecision(std::numeric_limits<float>::max_exponent10) << value.z()
<< ')';
}
}
#endif