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

#include <RoomData.h>

Public Member Functions

 Portal (int adj, glm::vec3 n, glm::vec3 v1, glm::vec3 v2, glm::vec3 v3, glm::vec3 v4)
 
int getAdjoiningRoom ()
 
glm::vec3 getNormal ()
 
glm::vec3 getVertex (int i)
 

Private Attributes

int adjoiningRoom
 
glm::vec3 normal
 
glm::vec3 vert [4]
 

Detailed Description

Definition at line 76 of file RoomData.h.

Constructor & Destructor Documentation

Portal::Portal ( int  adj,
glm::vec3  n,
glm::vec3  v1,
glm::vec3  v2,
glm::vec3  v3,
glm::vec3  v4 
)
inline

Definition at line 78 of file RoomData.h.

Member Function Documentation

int Portal::getAdjoiningRoom ( )
inline

Definition at line 83 of file RoomData.h.

glm::vec3 Portal::getNormal ( )
inline

Definition at line 84 of file RoomData.h.

glm::vec3 Portal::getVertex ( int  i)
inline

Definition at line 86 of file RoomData.h.

Member Data Documentation

int Portal::adjoiningRoom
private

Definition at line 93 of file RoomData.h.

glm::vec3 Portal::normal
private

Definition at line 94 of file RoomData.h.

glm::vec3 Portal::vert[4]
private

Definition at line 95 of file RoomData.h.


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