diff --git a/apps/openmw_test_suite/detournavigator/operators.hpp b/apps/openmw_test_suite/detournavigator/operators.hpp index 16d8f38f5e..a473632bab 100644 --- a/apps/openmw_test_suite/detournavigator/operators.hpp +++ b/apps/openmw_test_suite/detournavigator/operators.hpp @@ -29,7 +29,10 @@ namespace testing for (const auto& v : value) { std::ostringstream stream; - stream << v; + stream << "osg::Vec3f(" + << std::setprecision(std::numeric_limits::max_exponent10) << v.x() << ", " + << std::setprecision(std::numeric_limits::max_exponent10) << v.y() << ", " + << std::setprecision(std::numeric_limits::max_exponent10) << v.z() << ")"; (*this) << stream.str() << ",\n"; } return (*this) << "}";