From 4218ec83a48ee6fbde34d74e85d0bc51929eb154 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Wed, 8 Jul 2009 14:26:05 +0100 Subject: [PATCH] Disable the skybox --- src/Game.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Game.cpp b/src/Game.cpp index 725a30e..bf1003c 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -26,7 +26,6 @@ #include "GameScreens.hpp" #include "IBillboard.hpp" #include "IterateTrack.hpp" -#include "ISkyBox.hpp" #include @@ -57,7 +56,6 @@ private: IMapPtr myMap; ITrainPtr myTrain; ILightPtr mySun; - ISkyBoxPtr mySkyBox; // Station the train is either approaching or stopped at IStationPtr myActiveStation; @@ -82,7 +80,6 @@ Game::Game(IMapPtr aMap) { myTrain = makeTrain(myMap); mySun = makeSunLight(); - mySkyBox = makeSkyBox("skybox"); myMap->setGrid(false); @@ -126,9 +123,6 @@ Game::~Game() void Game::display(IGraphicsPtr aContext) const { - // Render the skybox before everything else - mySkyBox->apply(myHorizAngle); - Vector trainPos = myTrain->front(); // Two angles give unique position on surface of a sphere -- 2.39.2