mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Add detailed output for osg::Vec3f in tests
This commit is contained in:
parent
a98a1cfe3e
commit
2b3bc4fe61
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ namespace testing
|
|||
for (const auto& v : value)
|
||||
{
|
||||
std::ostringstream stream;
|
||||
stream << v;
|
||||
stream << "osg::Vec3f("
|
||||
<< std::setprecision(std::numeric_limits<float>::max_exponent10) << v.x() << ", "
|
||||
<< std::setprecision(std::numeric_limits<float>::max_exponent10) << v.y() << ", "
|
||||
<< std::setprecision(std::numeric_limits<float>::max_exponent10) << v.z() << ")";
|
||||
(*this) << stream.str() << ",\n";
|
||||
}
|
||||
return (*this) << "}";
|
||||
|
|
Loading…
Reference in a new issue