mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-30 12:11:34 +00:00
Shift heightfield and water in navigator tests
This commit is contained in:
parent
e2c896e4ce
commit
e10bbb9ad7
3 changed files with 448 additions and 416 deletions
File diff suppressed because it is too large
Load diff
|
@ -48,7 +48,7 @@ namespace testing
|
|||
template <>
|
||||
inline testing::Message& Message::operator <<(const osg::Vec3f& value)
|
||||
{
|
||||
return (*this) << "osg::Vec3f(" << std::setprecision(std::numeric_limits<float>::max_exponent10) << value.x()
|
||||
return (*this) << "Vec3fEq(" << 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()
|
||||
<< ')';
|
||||
|
|
|
@ -357,6 +357,7 @@ namespace
|
|||
rcPolyMeshDetail& polyMeshDetail)
|
||||
{
|
||||
rcCompactHeightfield compact;
|
||||
compact.dist = nullptr;
|
||||
buildCompactHeightfield(context, config.walkableHeight, config.walkableClimb, solid, compact);
|
||||
|
||||
erodeWalkableArea(context, config.walkableRadius, compact);
|
||||
|
|
Loading…
Reference in a new issue