.. _program_listing_file_Src_GraphicsEngineOpenGL_scene_sky_box_SkyBox.hpp: Program Listing for File SkyBox.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``Src/GraphicsEngineOpenGL/scene/sky_box/SkyBox.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include #include #include #include #include #include "hostDevice/GlobalValues.hpp" #include "renderer/ShaderProgram.hpp" #include "scene/Mesh.hpp" class SkyBox { public: SkyBox(); void draw_sky_box(glm::mat4 projection_matrix, glm::mat4 view_matrix, GLuint window_width, GLuint window_height, GLfloat delta_time); void reload(); ~SkyBox(); private: GLfloat movement_speed = 0.1f; GLfloat shader_playback_time; std::shared_ptr sky_mesh; std::shared_ptr shader_program; GLuint texture_id; GLuint uniform_projection, uniform_view; };