X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.h;h=417073816b0fd50fe433de311fb571817e4de295;hb=be3b67fdd0d0420ffc1e97a6535159c63a97fdc8;hp=aac5862e166607633a6a2b434d5e6bb316874490;hpb=8033bd7822b4f24d86be186c47ba7e6d69931eeb;p=libs%2Fgl.git diff --git a/demos/desertpillars/source/desertpillars.h b/demos/desertpillars/source/desertpillars.h index aac5862e..41707381 100644 --- a/demos/desertpillars/source/desertpillars.h +++ b/demos/desertpillars/source/desertpillars.h @@ -5,9 +5,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -70,6 +70,7 @@ private: std::unique_ptr shadow_map; std::unique_ptr env_seq; std::unique_ptr env_map; + std::unique_ptr global_env; Msp::GL::OrderedScene content; MorphSphere sphere; @@ -77,6 +78,11 @@ private: bool sphere_frozen; bool sphere_stopped; + Msp::GL::DirectionalLight &sun; + Msp::GL::Vector3 sun_node; + Msp::GL::Vector3 sun_axis; + Msp::Geometry::Angle sun_angle; + float camera_distance; Msp::Geometry::Angle camera_base_height; Msp::Geometry::Angle camera_angle;