#include <tr_types.h>
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 |
|
which way the portal faces the normal points away from the adjacent room. to be seen through, it must point toward the viewpoint. |
|
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. |