Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Public Member Functions | Public Attributes | List of all members
jop::Transform::Variables Struct Reference

#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...
 

Detailed Description

Transformation variable helper structure

Definition at line 41 of file Transform.hpp.

Constructor & Destructor Documentation

jop::Transform::Variables::Variables ( )
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.

Parameters
posXThe X position
posYThe Y position
posZThe Z position
scaXThe X scale
scaYThe Y scale
scaZThe Z scale
qWThe rotation W component
qXThe rotation X component
qYThe rotation Y component
qZThe rotation Z component
jop::Transform::Variables::Variables ( const glm::vec3 &  pos,
const glm::vec3 &  sca,
const glm::quat &  rot 
)

Overloaded constructor.

Parameters
posPosition
scaScale
rotRotation

Member Data Documentation

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.


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