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 { |
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 |
|
|