home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / bonus / demos / CS / exp / SOURCES / GLENGINE / coordinate.h < prev    next >
C/C++ Source or Header  |  2000-07-29  |  350b  |  18 lines

  1. #ifndef __OGL2_COORDINATE_SYSTEMS__
  2. #define __OGL2_COORDINATE_SYSTEMS__
  3.  
  4. class CoordinateSystem {
  5. public:
  6.   virtual void Apply (double time=0.0) = 0;
  7. };
  8.  
  9. template <class __mtype>
  10. class DynamicMatrixCoordinateSystem : public CoordinateSystem {
  11.   __mtype M;
  12.   Vector3f pivot;
  13. public:
  14.   virtual void Apply (double time=0.0);
  15. };
  16.  
  17. #endif
  18.