UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::graphic::VertexDataManipulation Namespace Reference

Functions

void ApplyPositionOffset (VertexData &data, const math::Vector2D &offset)
 
void SetToRectangleAtOrigin (VertexData &data, const math::Vector2D &size)
 
void SetToAbsoluteRectangleWithAtlasPiece (VertexData &data, const glm::vec4 &top_left, const glm::vec4 &bottom_right, const TextureAtlas::BoundPiece &piece)
 
void SetUsingSpriteFrameInformation (VertexData &data, const math::Vector2D &position, const action::SpriteAnimationFrame &, const TextureAtlas::BoundPiece &)
 

Function Documentation

void ugdk::graphic::VertexDataManipulation::ApplyPositionOffset ( VertexData &  data,
const math::Vector2D &  offset 
)
void ugdk::graphic::VertexDataManipulation::SetToAbsoluteRectangleWithAtlasPiece ( VertexData &  data,
const glm::vec4 &  top_left,
const glm::vec4 &  bottom_right,
const TextureAtlas::BoundPiece &  piece 
)
void ugdk::graphic::VertexDataManipulation::SetToRectangleAtOrigin ( VertexData &  data,
const math::Vector2D &  size 
)
void ugdk::graphic::VertexDataManipulation::SetUsingSpriteFrameInformation ( VertexData &  data,
const math::Vector2D &  position,
const action::SpriteAnimationFrame &  ,
const TextureAtlas::BoundPiece &   
)