Saga
Saga Game Engine
|
A wrapper around a shared pointer to a ModelTransform. This tells object where to position themselves in a 3D scene. More...
#include <transform.h>
Public Member Functions | |
operator const std::shared_ptr< GraphicsEngine::ModelTransform > & () const | |
Transform () | |
Construct a new Transform object. | |
glm::vec3 | getPos () const |
glm::vec3 | getUp () const |
glm::vec3 | getForward () const |
Public Attributes | |
std::shared_ptr< GraphicsEngine::ModelTransform > | transform |
A wrapper around a shared pointer to a ModelTransform. This tells object where to position themselves in a 3D scene.
Saga::Transform::Transform | ( | ) |
Construct a new Transform object.
glm::vec3 Saga::Transform::getForward | ( | ) | const |
glm::vec3 Saga::Transform::getPos | ( | ) | const |
glm::vec3 Saga::Transform::getUp | ( | ) | const |
|
inline |
std::shared_ptr<GraphicsEngine::ModelTransform> Saga::Transform::transform |