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
ToyMaker::Transform Struct Reference

The transform component, which moves the vertices of a model to their world space coordinates during rendering. More...

#include <scene_components.hpp>

Static Public Member Functions

static std::string getComponentTypeName ()
 Gets the component type string for this object.
 

Public Attributes

glm::mat4 mModelMatrix {1.f}
 The actual currently cached model matrix for this entity.
 

Detailed Description

The transform component, which moves the vertices of a model to their world space coordinates during rendering.

Computed based on the parameters specified in the placement component along with transforms of objects higher up in the scene hierarchy.

See also
ECSWorld::registerComponentTypes()

Member Function Documentation

◆ getComponentTypeName()

static std::string ToyMaker::Transform::getComponentTypeName ( )
inlinestatic

Gets the component type string for this object.

Returns
std::string This object's component type string.

The documentation for this struct was generated from the following file: