struct PROJECTION
The projection group. More…
Declared in definitions.h.
Fields
| Name | Description | |
|---|---|---|
FIXED | focal | 16.16 pixels |
FIXED | near | nearest depth drawn, 16.16 pixels |
FIXED | far | farthest depth drawn, 16.16 pixels |
Sint32 | centerX | screen pixels |
Sint32 | centerY | screen pixels |
Description
The projection group. The 3D projection the battle engine and the field
engine draw with (syPerspective, syConvert3Dto2D). The 3D projection onto the
screen: its focal length, near and far depths, and the screen point the view
centres on.
struct PROJECTION
Referenced by ProjectionWork, syConvert3Dto2D() and sySetScreenDist().
Definition at line 1286 of file definitions.h.
Fields in detail
focal
FIXED focal
16.16 pixels
near
FIXED near
nearest depth drawn, 16.16 pixels
far
FIXED far
farthest depth drawn, 16.16 pixels
centerX
Sint32 centerX
screen pixels
centerY
Sint32 centerY
screen pixels