diff options
author | sapier <Sapier at GMX dot net> | 2014-04-27 16:09:21 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-05-18 01:08:13 +0200 |
commit | 09970b7b6daa82ba0cb71540ebb70e671637782f (patch) | |
tree | bea283470a892adcdcc5962b498a10ca2f405297 /src/sky.h | |
parent | d9f6f9e7a8038071648eb53da0d5be8abdaa9e45 (diff) | |
download | minetest-09970b7b6daa82ba0cb71540ebb70e671637782f.tar.gz minetest-09970b7b6daa82ba0cb71540ebb70e671637782f.tar.bz2 minetest-09970b7b6daa82ba0cb71540ebb70e671637782f.zip |
Add support for interlaced polarized 3d screens
Add (experimental) support for topbottom as well as sidebyside 3d mode
Diffstat (limited to 'src/sky.h')
-rw-r--r-- | src/sky.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes_extrabloated.h" #include <ISceneNode.h> -#include "localplayer.h" +#include "camera.h" #ifndef SKY_HEADER #define SKY_HEADER @@ -32,7 +32,7 @@ class Sky : public scene::ISceneNode { public: //! constructor - Sky(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id, LocalPlayer* player); + Sky(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id); virtual void OnRegisterSceneNode(); @@ -50,7 +50,8 @@ public: { return SKY_MATERIAL_COUNT; } void update(float m_time_of_day, float time_brightness, - float direct_brightness, bool sunlight_seen); + float direct_brightness, bool sunlight_seen, CameraMode cam_mode, + float yaw, float pitch); float getBrightness(){ return m_brightness; } @@ -126,7 +127,6 @@ private: video::SColorf m_cloudcolor_f; v3f m_stars[SKY_STAR_COUNT]; video::S3DVertex m_star_vertices[SKY_STAR_COUNT*4]; - LocalPlayer* m_player; video::ITexture* m_sun_texture; video::ITexture* m_moon_texture; video::ITexture* m_sun_tonemap; |