Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
scene_components.hpp File Reference

Stores structs and classes for common components used by the SceneSystem and other related Systems. More...

#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
#include <nlohmann/json.hpp>
#include "core/ecs_world.hpp"

Go to the source code of this file.

Classes

struct  ToyMaker::Placement
 A component representing the position, rotation, and scale of an entity. More...
 
struct  ToyMaker::Transform
 The transform component, which moves the vertices of a model to their world space coordinates during rendering. More...
 
struct  ToyMaker::SceneHierarchyData
 Component representing hierarchical information related to this entity. More...
 

Namespaces

namespace  ToyMaker
 Namespace containing all class definitions and functions related to the ToyMaker engine.
 

Functions

void ToyMaker::from_json (const nlohmann::json &json, Placement &placement)
 
void ToyMaker::to_json (nlohmann::json &json, const Placement &placement)
 
void ToyMaker::to_json (nlohmann::json &json, const SceneHierarchyData &sceneHierarchyData)
 
void ToyMaker::from_json (const nlohmann::json &json, SceneHierarchyData &sceneHierarchyData)
 
void ToyMaker::to_json (nlohmann::json &json, const Transform &transform)
 
void ToyMaker::from_json (const nlohmann::json &json, Transform &transform)
 

Detailed Description

Stores structs and classes for common components used by the SceneSystem and other related Systems.

Author
Zoheb Shujauddin (zoheb.nosp@m.2424.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.3.2
Date
2025-09-05