OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
#include <Sprite.h>
Public Member Functions | |
Sprite (int tile, int x, int y, int width, int height) | |
void | display (glm::mat4 MVP) |
int | getTexture () |
glm::vec4 | getUVs () |
Private Attributes | |
int | texture |
ShaderBuffer | vertices |
ShaderBuffer | uvs |
glm::vec4 | uv2D |
Sprite::Sprite | ( | int | tile, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Definition at line 19 of file Sprite.cpp.
void Sprite::display | ( | glm::mat4 | MVP | ) |
Definition at line 48 of file Sprite.cpp.
|
private |
|
private |