|
CG_Labs 2021.2
|
#include "assignment2.hpp"#include "config.hpp"#include "core/Bonobo.h"#include "core/FPSCamera.h"#include "core/helpers.hpp"#include "core/node.hpp"#include "core/opengl.hpp"#include "core/ShaderProgramManager.hpp"#include <imgui.h>#include <glm/glm.hpp>#include <glm/gtc/matrix_transform.hpp>#include <glm/gtc/type_ptr.hpp>#include <tinyfiledialogs.h>#include <array>#include <clocale>#include <cstdlib>#include <stdexcept>Namespaces | |
| namespace | constant |
| namespace | anonymous_namespace{assignment2.cpp} |
Macros | |
| #define | GLM_FORCE_PURE 1 |
Typedefs | |
| using | anonymous_namespace{assignment2.cpp}::Textures = std::array< GLuint, toU(Texture::Count)> |
| using | anonymous_namespace{assignment2.cpp}::Samplers = std::array< GLuint, toU(Sampler::Count)> |
| using | anonymous_namespace{assignment2.cpp}::FBOs = std::array< GLuint, toU(FBO::Count)> |
| using | anonymous_namespace{assignment2.cpp}::ElapsedTimeQueries = std::array< GLuint, toU(ElapsedTimeQuery::Count)> |
| using | anonymous_namespace{assignment2.cpp}::UBOs = std::array< GLuint, toU(UBO::Count)> |
Variables | |
| constexpr uint32_t | constant::shadowmap_res_x = 1024 |
| constexpr uint32_t | constant::shadowmap_res_y = 1024 |
| constexpr float | constant::scale_lengths = 100.0f |
| constexpr size_t | constant::lights_nb = 4 |
| constexpr float | constant::light_intensity = 72.0f * (scale_lengths * scale_lengths) |
| constexpr float | constant::light_angle_falloff = glm::radians(37.0f) |
| #define GLM_FORCE_PURE 1 |
| int main | ( | ) |