diff options
author | aap <aap@papnet.eu> | 2019-07-23 22:55:23 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-23 22:55:23 +0200 |
commit | ae69aaf5ce8eca137bd5da85e26c63a5027e049d (patch) | |
tree | 905ce82e7b5e0817856370a702a8540ac46400e6 /src/render/WaterLevel.h | |
parent | e9cafe340a16c489c5f6874066b9836d70bd0091 (diff) |
implemented cBuoyancy
Diffstat (limited to 'src/render/WaterLevel.h')
-rw-r--r-- | src/render/WaterLevel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/WaterLevel.h b/src/render/WaterLevel.h index b8ec7a4d..afc6eac3 100644 --- a/src/render/WaterLevel.h +++ b/src/render/WaterLevel.h @@ -82,6 +82,7 @@ public: static void CreateWavyAtomic(); static void DestroyWavyAtomic(); static bool GetWaterLevel(float fX, float fY, float fZ, float *pfOutLevel, bool bDontCheckZ); + static bool GetWaterLevel(CVector coors, float *pfOutLevel, bool bDontCheckZ) { return GetWaterLevel(coors.x, coors.y, coors.z, pfOutLevel, bDontCheckZ); } static bool GetWaterLevelNoWaves(float fX, float fY, float fZ, float *pfOutLevel); static void RenderWater(); static void RenderOneFlatSmallWaterPoly (float fX, float fY, float fZ, RwRGBA const &color); |