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

#include <StaticMesh.h>

Collaboration diagram for StaticMesh:
[legend]

Public Member Functions

 StaticMesh (int i, int m, BoundingBox *b1, BoundingBox *b2)
 
void display (glm::mat4 MVP)
 
int getID ()
 

Static Public Member Functions

static void setShowBoundingBox (bool s)
 
static bool getShowBoundingBox ()
 

Private Attributes

int id
 
int mesh
 
std::unique_ptr< BoundingBoxbbox1
 
std::unique_ptr< BoundingBoxbbox2
 

Static Private Attributes

static bool showBoundingBox = false
 

Detailed Description

Definition at line 15 of file StaticMesh.h.

Constructor & Destructor Documentation

StaticMesh::StaticMesh ( int  i,
int  m,
BoundingBox b1,
BoundingBox b2 
)
inline

Definition at line 17 of file StaticMesh.h.

Member Function Documentation

void StaticMesh::display ( glm::mat4  MVP)

Definition at line 14 of file StaticMesh.cpp.

int StaticMesh::getID ( )
inline

Definition at line 21 of file StaticMesh.h.

static void StaticMesh::setShowBoundingBox ( bool  s)
inlinestatic

Definition at line 23 of file StaticMesh.h.

static bool StaticMesh::getShowBoundingBox ( )
inlinestatic

Definition at line 24 of file StaticMesh.h.

Member Data Documentation

int StaticMesh::id
private

Definition at line 27 of file StaticMesh.h.

int StaticMesh::mesh
private

Definition at line 28 of file StaticMesh.h.

std::unique_ptr<BoundingBox> StaticMesh::bbox1
private

Definition at line 29 of file StaticMesh.h.

std::unique_ptr<BoundingBox> StaticMesh::bbox2
private

Definition at line 29 of file StaticMesh.h.

bool StaticMesh::showBoundingBox = false
staticprivate

Definition at line 31 of file StaticMesh.h.


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