![]() |
Public API Reference |
#include <polygon.h>
Public Methods | |
| int | GetWidth () const |
| Get width of lit texture (power of 2). More... | |
| int | GetHeight () const |
| Get height of lit texture. More... | |
| int | GetOriginalWidth () const |
| Get original width. More... | |
Public Attributes | |
| int | w |
| Width of lighted texture ('w' is a power of 2). More... | |
| int | h |
| Height of lighted texture. More... | |
| int | w_orig |
| Original width (may not be a power of 2) (w_orig <= w). More... | |
You can get it from the iPolygonTexture below.
Definition at line 365 of file polygon.h.
|
|
Get height of lit texture.
Definition at line 391 of file polygon.h. References h. |
|
|
Get original width.
Definition at line 394 of file polygon.h. References w_orig. |
|
|
Get width of lit texture (power of 2).
Definition at line 389 of file polygon.h. References w. |
|
|
Height of lighted texture.
Definition at line 378 of file polygon.h. Referenced by GetHeight. |
|
|
Width of lighted texture ('w' is a power of 2).
Definition at line 375 of file polygon.h. Referenced by GetWidth. |
|
|
Original width (may not be a power of 2) (w_orig <= w).
Definition at line 381 of file polygon.h. Referenced by GetOriginalWidth. |