Main Page   Compound List   File List   Compound Members  

tr_room_portal_t Struct Reference

Room portal. More...

#include <tr_types.h>

List of all members.

Public Attributes

bitu16 adjoining_room
 which room this portal leads to.

tr5_vertex_t normal
 which way the portal faces

tr5_vertex_t vertices [4]
 the corners of this portal


Detailed Description

Room portal.


Member Data Documentation

tr5_vertex_t tr_room_portal_t::normal
 

which way the portal faces

the normal points away from the adjacent room. to be seen through, it must point toward the viewpoint.

tr5_vertex_t tr_room_portal_t::vertices[4]
 

the corners of this portal

the right-hand rule applies with respect to the normal. if the right-hand-rule is not followed, the portal will contain visual artifacts instead of a viewport to AdjoiningRoom.


The documentation for this struct was generated from the following file:
Generated on Sun Sep 8 17:37:30 2002 for vt by doxygen1.2.17