[Thplot-cvs] CVS: thplot/src/Util Autoscale.cpp,1.4,1.5 OGLFT.h,1.1,1.2
Status: Pre-Alpha
Brought to you by:
apeden
From: Tony P. <ap...@us...> - 2002-07-04 23:42:39
|
Update of /cvsroot/thplot/thplot/src/Util In directory usw-pr-cvs1:/tmp/cvs-serv17611/src/Util Modified Files: Autoscale.cpp OGLFT.h Log Message: Compile fixes for g++ 3.0.4 Index: Autoscale.cpp =================================================================== RCS file: /cvsroot/thplot/thplot/src/Util/Autoscale.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** Autoscale.cpp 3 Jul 2002 16:13:59 -0000 1.4 --- Autoscale.cpp 4 Jul 2002 23:42:36 -0000 1.5 *************** *** 151,155 **** i=1; while(1) { ! tmpMin=makeMultipleOf(iMin,pow(10,i),false); if( tmpMax-(iMin-tmpMin) > iMax && i < 10 ) { tmpMax=tmpMax-(iMin-tmpMin); --- 151,155 ---- i=1; while(1) { ! tmpMin=makeMultipleOf(iMin,int(pow(10,i)),false); if( tmpMax-(iMin-tmpMin) > iMax && i < 10 ) { tmpMax=tmpMax-(iMin-tmpMin); Index: OGLFT.h =================================================================== RCS file: /cvsroot/thplot/thplot/src/Util/OGLFT.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** OGLFT.h 30 Jun 2002 14:46:55 -0000 1.1 --- OGLFT.h 4 Jul 2002 23:42:36 -0000 1.2 *************** *** 52,55 **** --- 52,57 ---- #include FT_TRIGONOMETRY_H + using namespace std; + //! All of OGLFT C++ objects are in this namespace. |