r246: More modifications for MSVC
[ctsim.git] / libctgraphics / transformmatrix.cpp
index 7e3c73d91b2500f0e95e65016e45e0bfa9f6abbb..9edf3aaf65623ea2fab61cfe2ba5adad85e4ef05 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: transformmatrix.cpp,v 1.2 2000/12/04 04:44:02 kevin Exp $
+**  $Id: transformmatrix.cpp,v 1.3 2000/12/06 01:46:43 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -93,8 +93,8 @@ TransformationMatrix2D::invert () const
   double determ = determinant ();
   if (fabs(determ) < 1E-6) {
     sys_error (ERR_WARNING, "Determinant = %g [TransformationMatrix2D::invert]", determ);\r
-       print (cout);\r
-       cout << endl;
+       print (std::cout);\r
+       std::cout << std::endl;
   }
 
   b[0][0] =  (mtx[1][1] * mtx[2][2] - mtx[2][1] * mtx[1][2]) / determ;
@@ -134,11 +134,11 @@ TransformationMatrix2D::transformPoint (double* pX, double *pY) const
 }
 
 void
-TransformationMatrix2D::print (ostream& ostr) const
+TransformationMatrix2D::print (std::ostream& ostr) const
 {
-    cout << mtx[0][0] << " " << mtx[0][1] << " " << mtx[0][2] << endl;
-    cout << mtx[1][0] << " " << mtx[1][1] << " " << mtx[1][2] << endl;
-    cout << mtx[2][0] << " " << mtx[2][1] << " " << mtx[2][2] << endl;
+       std::cout << mtx[0][0] << " " << mtx[0][1] << " " << mtx[0][2] << std::endl;
+       std::cout << mtx[1][0] << " " << mtx[1][1] << " " << mtx[1][2] << std::endl;
+       std::cout << mtx[2][0] << " " << mtx[2][1] << " " << mtx[2][2] << std::endl;
 }