mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
28 lines
647 B
C++
28 lines
647 B
C++
/*
|
|
This Source Code Form is subject to the
|
|
terms of the Mozilla Public License, v.
|
|
2.0. If a copy of the MPL was not
|
|
distributed with this file, You can
|
|
obtain one at
|
|
http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#include "stdafx.h"
|
|
#include "sky.h"
|
|
#include "Globals.h"
|
|
#include "MdlMngr.h"
|
|
|
|
//---------------------------------------------------------------------------
|
|
//GLfloat lightPos[4] = {0.0f, 0.0f, 0.0f, 1.0f};
|
|
|
|
void TSky::Init() {
|
|
|
|
if( ( Global.asSky != "1" )
|
|
&& ( Global.asSky != "0" ) ) {
|
|
|
|
mdCloud = TModelsManager::GetModel( Global.asSky );
|
|
}
|
|
};
|
|
|
|
//---------------------------------------------------------------------------
|