Untitled Game engine no.5  1.0
Public Member Functions | Public Attributes | List of all members
Engine::TextureCoord Struct Reference

Texture Coordinate data. More...

#include <Texture.hpp>

Public Member Functions

 TextureCoord (glm::vec2 pos, glm::vec2 size)
 
 TextureCoord (const TextureCoord &)=default
 Copy constructor.
 
 TextureCoord ()=default
 

Public Attributes

glm::vec2 tex_pos
 
glm::vec2 tex_size
 

Detailed Description

Texture Coordinate data.

Constructor & Destructor Documentation

◆ TextureCoord()

Engine::TextureCoord::TextureCoord ( )
default

Default constructor Initializes rotation and position to 0 and scale to 1


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