![]() |
PROTO::KLUDGE
0.1
Quick prototyping library for games using SDL and OpenGL.
|
Transform data for GLTransformable objects. Used by the GLTransformable class internally, but usable in isolation as well. More...
#include <GLTransformable.hpp>
Public Attributes | |
GLuint | d_VAO |
A GLuint specifying an OpenGL vertex array object to bind. More... | |
GLuint | d_VBO |
A GLuint specifying an OpenGL vertex buffer object to bind. More... | |
GLuint | d_IBO |
A GLuint specifying an OpenGL index buffer object to bind. More... | |
GLsizei | d_indexCount |
The number of indices in the OpenGL index buffer object. More... | |
glm::mat4 | d_model |
An OpenGL Model matrix. More... | |
GLStates | d_glStates |
The available OpenGL state used for rendering. More... | |
glm::vec2 | d_origin |
A vector of floats representing the origin of the GLTransformable. More... | |
glm::vec2 | d_position |
A vector of floats representing the position of the GLTransformable. More... | |
GLfloat | d_angle |
The angle of rotation for the GLTransformable specified in degrees (NOT radians). More... | |
glm::vec2 | d_scale |
A vector of floats representing the scale of the GLTransformable. More... | |
GLRect | d_rect |
A struct containing information necessary for calculating size and origin of an object. More... | |
Transform data for GLTransformable objects. Used by the GLTransformable class internally, but usable in isolation as well.
GLfloat pk::GLTransformData::d_angle |
The angle of rotation for the GLTransformable specified in degrees (NOT radians).
GLStates pk::GLTransformData::d_glStates |
The available OpenGL state used for rendering.
GLuint pk::GLTransformData::d_IBO |
A GLuint specifying an OpenGL index buffer object to bind.
GLsizei pk::GLTransformData::d_indexCount |
The number of indices in the OpenGL index buffer object.
glm::mat4 pk::GLTransformData::d_model |
An OpenGL Model matrix.
glm::vec2 pk::GLTransformData::d_origin |
A vector of floats representing the origin of the GLTransformable.
glm::vec2 pk::GLTransformData::d_position |
A vector of floats representing the position of the GLTransformable.
GLRect pk::GLTransformData::d_rect |
A struct containing information necessary for calculating size and origin of an object.
glm::vec2 pk::GLTransformData::d_scale |
A vector of floats representing the scale of the GLTransformable.
GLuint pk::GLTransformData::d_VAO |
A GLuint specifying an OpenGL vertex array object to bind.
GLuint pk::GLTransformData::d_VBO |
A GLuint specifying an OpenGL vertex buffer object to bind.