PROTO::KLUDGE  0.1
Quick prototyping library for games using SDL and OpenGL.
pk::transformData Struct Reference

Data used for transformations. More...

#include <Transform.hpp>

Collaboration diagram for pk::transformData:
Collaboration graph

Public Attributes

glm::vec2 d_position
 The position of the transformable object. More...
 
glm::vec2 d_center
 The center position of the transformable object. More...
 
float d_angle
 The angle at which the transformable is oriented (in degrees). More...
 
float d_scale
 The scale at which the transformable is sized. More...
 

Detailed Description

Data used for transformations.

Member Data Documentation

◆ d_angle

float pk::transformData::d_angle

The angle at which the transformable is oriented (in degrees).

◆ d_center

glm::vec2 pk::transformData::d_center

The center position of the transformable object.

◆ d_position

glm::vec2 pk::transformData::d_position

The position of the transformable object.

◆ d_scale

float pk::transformData::d_scale

The scale at which the transformable is sized.


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