Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenSceneGraph git repository committed Dec 13, 2018
1 parent a7623e3 commit d090be7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/osgPlugins/obj/OBJWriterNodeVisitor.cpp
Expand Up @@ -74,13 +74,13 @@ class ValueVisitor : public osg::ValueVisitor {
virtual void apply(osg::Vec3d & inv)
{
osg::Vec3d v(inv[0], inv[1], inv[2]);
osg::Vec3d orign_d((double)_origin.x(), (double)_origin.y(), (double)_origin.z());
if (_applyMatrix) v = (_isNormal) ? (v * _m) - orign_d : v * _m;
osg::Vec3d orign_d((double)_origin.x(), (double)_origin.y(), (double)_origin.z());
if (_applyMatrix) v = (_isNormal) ? (v * _m) - orign_d : v * _m;

//Setting 10-digit Significant Number
_fout.precision(10);
_fout << v[0] << ' ' << v[1] << ' ' << v[2];
}
//Setting 10-digit Significant Number
_fout.precision(10);
_fout << v[0] << ' ' << v[1] << ' ' << v[2];
}
private:

ValueVisitor& operator = (const ValueVisitor&) { return *this; }
Expand Down

0 comments on commit d090be7

Please sign in to comment.