summaryrefslogtreecommitdiff
path: root/src/render/Timecycle.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-25 20:36:18 +0200
committeraap <aap@papnet.eu>2020-05-25 20:36:23 +0200
commit3c3b1aadc0bfd3b8d58cc9dcc269d83f6a003235 (patch)
treed1e86b5e9fe98616c3bb83554381e681330b6b6e /src/render/Timecycle.h
parent52644192e37bad31a3f88e2bc271619e265c7507 (diff)
small fixes
Diffstat (limited to 'src/render/Timecycle.h')
-rw-r--r--src/render/Timecycle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Timecycle.h b/src/render/Timecycle.h
index 9af4df49..0cb02b67 100644
--- a/src/render/Timecycle.h
+++ b/src/render/Timecycle.h
@@ -142,7 +142,7 @@ public:
static void Initialise(void);
static void Update(void);
- static CVector &GetSunPosition(void) { return m_VectorToSun[m_CurrentStoredValue]; }
+ static CVector &GetSunDirection(void) { return m_VectorToSun[m_CurrentStoredValue]; }
static float GetShadowFrontX(void) { return m_fShadowFrontX[m_CurrentStoredValue]; }
static float GetShadowFrontY(void) { return m_fShadowFrontY[m_CurrentStoredValue]; }
static float GetShadowSideX(void) { return m_fShadowSideX[m_CurrentStoredValue]; }