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

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

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

revision 1.10 by tjl, Tue Oct 1 07:55:44 2002 UTC revision 1.11 by tjl, Tue Oct 1 10:45:21 2002 UTC
# Line 12  namespace Coords { Line 12  namespace Coords {
12      protected:      protected:
13          CoordSys *super;          CoordSys *super;
14          CoordSys *inverse;          CoordSys *inverse;
15            bool ownInverse;
16      public:      public:
17            CoordSys() : super(0), inverse(0), ownInverse(1) {
18            }
19    
20          virtual void setSuper(CoordSys *super) {          virtual void setSuper(CoordSys *super) {
21              this->super = super;              this->super = super;
22          }          }
# Line 73  namespace Coords { Line 77  namespace Coords {
77           */           */
78          virtual bool performGL() ;          virtual bool performGL() ;
79    
         CoordSys() : super(0), inverse(0) {  
         }  
80          virtual ~CoordSys() {          virtual ~CoordSys() {
81              if(inverse) delete inverse;              if(inverse && ownInverse) delete inverse;
82          }          }
83    
84          virtual void dump() {          virtual void dump() {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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