OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
#include <RoomMesh.h>
Public Member Functions | |
RoomMesh (const std::vector< RoomVertexTR2 > &vertices, const std::vector< IndexedRectangle > &rectangles, const std::vector< IndexedRectangle > &triangles) | |
void | prepare () |
void | display (glm::mat4 MVP) |
Private Attributes | |
std::vector< unsigned short > | indicesBuff |
std::vector< glm::vec3 > | verticesBuff |
std::vector< unsigned int > | texturesBuff |
ShaderBuffer | indices |
ShaderBuffer | vertices |
ShaderBuffer | uvs |
Definition at line 28 of file RoomMesh.h.
RoomMesh::RoomMesh | ( | const std::vector< RoomVertexTR2 > & | vertices, |
const std::vector< IndexedRectangle > & | rectangles, | ||
const std::vector< IndexedRectangle > & | triangles | ||
) |
Definition at line 12 of file RoomMesh.cpp.
void RoomMesh::prepare | ( | ) |
Definition at line 33 of file RoomMesh.cpp.
void RoomMesh::display | ( | glm::mat4 | MVP | ) |
Definition at line 72 of file RoomMesh.cpp.
|
private |
Definition at line 37 of file RoomMesh.h.
|
private |
Definition at line 38 of file RoomMesh.h.
|
private |
Definition at line 39 of file RoomMesh.h.
|
private |
Definition at line 40 of file RoomMesh.h.
|
private |
Definition at line 40 of file RoomMesh.h.
|
private |
Definition at line 40 of file RoomMesh.h.