#include <vedge.h>
Public Member Functions |
|
void | SetFace (int i, DWORD n) |
void | SetWhichSide (int i, int s) |
DWORD | GetFace (int i) |
int | GetWhichSide (int i) |
void SetFace | ( | int | i, |
DWORD | n | ||
) | [inline] |
{ f[i] =(f[i]&0xc0000000)|n;}
void SetWhichSide | ( | int | i, |
int | s | ||
) | [inline] |
{ f[i] =(f[i]&0x3FFFFFFF)|((s&3)<<30); }
DWORD GetFace | ( | int | i | ) | [inline] |
{ return f[i]&0x3fffffff; }
int GetWhichSide | ( | int | i | ) | [inline] |
{ return (f[i]>>30)&3; }