00001 00005 /* Copyright © 2010 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 00012 #include "AABBDrawable.h" 00013 00014 namespace Track 00015 { 00016 00017 void AABBDrawable::conditional_draw(const OcclusionTester & occlusion_tester) const 00018 { 00019 if (occlusion_tester(get_bounds()) != OcclusionTester::VS_OUT) 00020 { 00021 draw(); 00022 } 00023 } 00024 00025 } // namespace Track
Generated at Mon Sep 6 00:41:11 2010 by Doxygen version 1.4.7 for Racer version svn335.