/[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.35 by tjl, Tue Oct 8 19:02:34 2002 UTC revision 1.36 by tjl, Wed Oct 9 14:38:41 2002 UTC
# Line 76  namespace Coords { Line 76  namespace Coords {
76    
77      };      };
78    
79        template<class Transform, class Deriver>
80                    class DerivedTransformCoordSys :
81                        public TransformCoordSys<Transform> {
82            CoordSys *dep;
83            virtual void setSuper(CoordSys **super) {
84                CoordSys::setSuper(super);
85                this->dep = super[1];
86            }
87            virtual void setParams(float *params) {
88                Deriver d;
89                float nparams[Transform::NParams];
90                d.derivedParams(params, nparams);
91                t.setParams(nparams, super);
92            }
93        };
94    
95      template<class Transform> class InverseTransformCoordSys : public TransformCoordSysBase<Transform> {      template<class Transform> class InverseTransformCoordSys : public TransformCoordSysBase<Transform> {
96      public:      public:
97          template<class Original> InverseTransformCoordSys(CoordSys *s, Original &o) :          template<class Original> InverseTransformCoordSys(CoordSys *s, Original &o) :

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

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