mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Shift heightfield and water in navigator tests
This commit is contained in:
parent
e2c896e4ce
commit
e10bbb9ad7
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…
x
Reference in New Issue
Block a user