00001 00005 /* Copyright © 2009 James Legg. 00006 This program is free software: you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation, either version 3 of the License, or 00009 (at your option) any later version. 00010 */ 00011 #ifndef LIBTRACK_DRAWABLE_H_ 00012 #define LIBTRACK_DRAWABLE_H_ 00013 00014 #include "OcclusionTester.h" 00015 00016 namespace Track 00017 { 00018 00021 class Drawable 00022 { 00023 public: 00024 Drawable(); 00025 virtual ~Drawable(); 00026 00032 virtual void draw() const = 0; 00033 00038 virtual void conditional_draw(const OcclusionTester & occlusion_tester) const; 00039 }; 00040 00041 } 00042 00043 #endif /*LIBTRACK_DRAWABLE_H_*/
Generated at Mon Sep 6 00:41:11 2010 by Doxygen version 1.4.7 for Racer version svn335.