|
Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
Contains headers for the system and structs used by the engine's camera system. More...
#include <glm/glm.hpp>#include <nlohmann/json.hpp>#include "core/ecs_world.hpp"#include "scene_components.hpp"Go to the source code of this file.
Classes | |
| struct | ToyMaker::CameraProperties |
| Struct that encapsulates properties which define the (geometric) aspects of a scene camera. More... | |
| class | ToyMaker::CameraSystem |
| System responsible for managing all active cameras belonging to this world, tracking and updating associated projection and view matrices. More... | |
Namespaces | |
| namespace | ToyMaker |
| Namespace containing all class definitions and functions related to the ToyMaker engine. | |
Functions | |
| ToyMaker::NLOHMANN_JSON_SERIALIZE_ENUM (CameraProperties::ProjectionType, { {CameraProperties::ProjectionType::FRUSTUM, "frustum"}, {CameraProperties::ProjectionType::ORTHOGRAPHIC, "orthographic"}, }) | |
| void | ToyMaker::from_json (const nlohmann::json &json, CameraProperties &cameraProperties) |
| void | ToyMaker::to_json (nlohmann::json &json, const CameraProperties &cameraProperties) |
Contains headers for the system and structs used by the engine's camera system.