Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
fireworks::graphics::Transform Struct Reference

The spacial orientation of an object in 3D space denoted by it's position, rotation and scale. More...

#include <renderable3d.h>

Public Member Functions

 Transform (glm::vec3 pos=glm::vec3(0, 0, 0), glm::vec3 rot=glm::vec3(0, 0, 0), glm::vec3 scale=glm::vec3(1, 1, 1))
 

Public Attributes

glm::vec3 position
 
glm::vec3 rotation
 
glm::vec3 scale
 

Detailed Description

The spacial orientation of an object in 3D space denoted by it's position, rotation and scale.

Constructor & Destructor Documentation

◆ Transform()

fireworks::graphics::Transform::Transform ( glm::vec3  pos = glm::vec3(0, 0, 0),
glm::vec3  rot = glm::vec3(0, 0, 0),
glm::vec3  scale = glm::vec3(1, 1, 1) 
)
inline

Member Data Documentation

◆ position

glm::vec3 fireworks::graphics::Transform::position

◆ rotation

glm::vec3 fireworks::graphics::Transform::rotation

◆ scale

glm::vec3 fireworks::graphics::Transform::scale

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