/[gzz]/gzz/gfx/libcoords/Coords.cxx
ViewVC logotype

Diff of /gzz/gfx/libcoords/Coords.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tjl, Wed Sep 25 17:07:50 2002 UTC revision 1.7 by tjl, Thu Sep 26 08:31:24 2002 UTC
# Line 4  Line 4 
4  namespace Coords {  namespace Coords {
5      DBGVAR(dbg, "Coords.general");      DBGVAR(dbg, "Coords.general");
6    
     bool CoordSys::performGL() {  
         DBG(dbg) << "Potential problem: performGL default implementation called, means incorrect rendering\n";  
         return false;  
     }  
   
7      class RootCoords : public CoordSys {      class RootCoords : public CoordSys {
8      public:      public:
9          virtual ZPt transform(const ZPt &p) const {          virtual ZPt transform(const ZPt &p) const {
# Line 212  namespace Coords { Line 207  namespace Coords {
207          DBG(dbg)  << "end\n";          DBG(dbg)  << "end\n";
208      }      }
209    
210        bool CoordSys::performGL() {
211            DBG(dbg) << "Potential problem: performGL default implementation called, means incorrect rendering\n";
212            return false;
213        }
214        CoordSys *CoordSys::createInverse() {
215            DBG(dbg) << "Potential problem: createInverse default implementation called, means incorrect rendering\n";
216            return new RootCoords();
217        }
218    
219    
220  }  }
221    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26