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 "Skybox.h" 00012 00013 #include "stream_loader.h" 00014 00015 namespace Track 00016 { 00017 00018 Skybox::Skybox(std::istream & source) 00019 { 00020 fill_vector_from_stream(textures, source); 00021 // debug builds, check right number of textures. 00022 assert(textures.size() == 6); 00023 // It is a theme file error even in a non debug build: 00024 if (textures.size() != 6) 00025 { 00026 throw; 00027 } 00028 } 00029 00030 Skybox::Skybox() 00031 { 00032 } 00033 00034 Skybox::~Skybox() 00035 { 00036 } 00037 00038 }
Generated at Mon Sep 6 00:41:12 2010 by Doxygen version 1.4.7 for Racer version svn335.