OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Private Attributes | List of all members
TextureTile Class Reference

#include <TextureManager.h>

Collaboration diagram for TextureTile:
[legend]

Public Member Functions

 TextureTile (unsigned int a, unsigned int t)
 
void add (TextureTileVertex t)
 
unsigned int getTexture ()
 
glm::vec2 getUV (unsigned int i)
 

Private Attributes

unsigned int attribute
 
unsigned int texture
 
std::vector< TextureTileVertexvertices
 

Detailed Description

Definition at line 29 of file TextureManager.h.

Constructor & Destructor Documentation

TextureTile::TextureTile ( unsigned int  a,
unsigned int  t 
)
inline

Definition at line 31 of file TextureManager.h.

Member Function Documentation

void TextureTile::add ( TextureTileVertex  t)
inline

Definition at line 32 of file TextureManager.h.

unsigned int TextureTile::getTexture ( )
inline

Definition at line 34 of file TextureManager.h.

glm::vec2 TextureTile::getUV ( unsigned int  i)
FIXME:
This is my somewhat hacky approach to fixing the bad texture-bleeding problems everywhere. That's better, but makes the seams between each sector much more visible!

Definition at line 24 of file TextureManager.cpp.

Member Data Documentation

unsigned int TextureTile::attribute
private

Definition at line 38 of file TextureManager.h.

unsigned int TextureTile::texture
private

Definition at line 39 of file TextureManager.h.

std::vector<TextureTileVertex> TextureTile::vertices
private

Definition at line 40 of file TextureManager.h.


The documentation for this class was generated from the following files: