mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 02:09:17 +02:00
GLES support
This commit is contained in:
7
moon.cpp
7
moon.cpp
@@ -15,7 +15,9 @@ cMoon::cMoon() {
|
||||
m_observer.temp = 15.0; // ambient dry-bulb temperature, degrees C
|
||||
}
|
||||
|
||||
cMoon::~cMoon() { gluDeleteQuadric( moonsphere ); }
|
||||
cMoon::~cMoon() {
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
cMoon::init() {
|
||||
@@ -24,9 +26,6 @@ cMoon::init() {
|
||||
// NOTE: we're calculating phase just once, because it's unlikely simulation will last a few days,
|
||||
// plus a sudden texture change would be pretty jarring
|
||||
phase();
|
||||
|
||||
moonsphere = gluNewQuadric();
|
||||
gluQuadricNormals( moonsphere, GLU_SMOOTH );
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user