Untitled Game engine no.5
1.0
|
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 |
Texture Coordinate data.
|
default |
Default constructor Initializes rotation and position to 0 and scale to 1