Drawable.cpp

Go to the documentation of this file.
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 #include "Drawable.h"
00012 
00013 namespace Track
00014 {
00015 
00016 Drawable::Drawable()
00017 {
00018 }
00019 
00020 Drawable::~Drawable()
00021 {
00022 }
00023 
00024 void Drawable::conditional_draw(const OcclusionTester & occlusion_tester) const
00025 {
00026     // default is to just draw, so that derived classes don't get hidden
00027     // before an occlusion test has been defined.
00028     draw();
00029 }
00030 
00031 }

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:11 2010 by Doxygen version 1.4.7 for Racer version svn335.