![]() |
Jopnal Engine
alpha 0.4
Simple Component Based 2D/3D Game Engine
|
#include <Transform.hpp>
Public Member Functions | |
Variables ()=default | |
Default constructor. More... | |
Variables (const float posX, const float posY, const float posZ, const float scaX, const float scaY, const float scaZ, const float qW, const float qX, const float qY, const float qZ) | |
Overloaded constructor. More... | |
Variables (const glm::vec3 &pos, const glm::vec3 &sca, const glm::quat &rot) | |
Overloaded constructor. More... | |
Public Attributes | |
glm::vec3 | position |
Position. More... | |
glm::vec3 | scale |
Scale. More... | |
glm::quat | rotation |
Rotation. More... | |
Transformation variable helper structure
Definition at line 41 of file Transform.hpp.
|
default |
Default constructor.
jop::Transform::Variables::Variables | ( | const float | posX, |
const float | posY, | ||
const float | posZ, | ||
const float | scaX, | ||
const float | scaY, | ||
const float | scaZ, | ||
const float | qW, | ||
const float | qX, | ||
const float | qY, | ||
const float | qZ | ||
) |
Overloaded constructor.
posX | The X position |
posY | The Y position |
posZ | The Z position |
scaX | The X scale |
scaY | The Y scale |
scaZ | The Z scale |
qW | The rotation W component |
qX | The rotation X component |
qY | The rotation Y component |
qZ | The rotation Z component |
jop::Transform::Variables::Variables | ( | const glm::vec3 & | pos, |
const glm::vec3 & | sca, | ||
const glm::quat & | rot | ||
) |
Overloaded constructor.
pos | Position |
sca | Scale |
rot | Rotation |
glm::vec3 jop::Transform::Variables::position |
Position.
Definition at line 72 of file Transform.hpp.
glm::quat jop::Transform::Variables::rotation |
Rotation.
Definition at line 74 of file Transform.hpp.
glm::vec3 jop::Transform::Variables::scale |
Scale.
Definition at line 73 of file Transform.hpp.