From df21d69666c1963295d65be692066f02c5728d89 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 24 Jan 2003 09:35:05 +0000 Subject: [PATCH] Fixed the formating of the Matrix output. --- src/osgPlugins/osg/Matrix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/osg/Matrix.cpp b/src/osgPlugins/osg/Matrix.cpp index aaddd6d77..980bcea63 100644 --- a/src/osgPlugins/osg/Matrix.cpp +++ b/src/osgPlugins/osg/Matrix.cpp @@ -36,14 +36,14 @@ bool readMatrix(osg::Matrix& matrix, osgDB::Input& fr) bool writeMatrix(const osg::Matrix& matrix, osgDB::Output& fw) { - fw.indent() << "Matrix {"; + fw.indent() << "Matrix {" << std::endl; fw.moveIn(); fw.indent() << matrix(0,0) << " " << matrix(0,1) << " " << matrix(0,2) << " " << matrix(0,3) << std::endl; fw.indent() << matrix(1,0) << " " << matrix(1,1) << " " << matrix(1,2) << " " << matrix(1,3) << std::endl; fw.indent() << matrix(2,0) << " " << matrix(2,1) << " " << matrix(2,2) << " " << matrix(2,3) << std::endl; fw.indent() << matrix(3,0) << " " << matrix(3,1) << " " << matrix(3,2) << " " << matrix(3,3) << std::endl; fw.moveOut(); - fw.indent() << "}"; + fw.indent() << "}"<< std::endl; return true; }