struct PROJECTION
The projection group. More…
Declared in definitions.h.
Fields
| Name | Description | |
|---|---|---|
FIXED | focal | 16.16 pixels (syPerspective) |
FIXED | near | nearer points are not drawn; 16.16 along the view axis |
FIXED | far | farther points are not drawn; 16.16 along the view axis |
Sint32 | centerX | screen pixels |
Sint32 | centerY | screen pixels |
Description
The projection group. The 3D projection. The 3D projection onto the screen:
its focal length (80, half the screen height, over the tangent of half the
vertical field of view, syPerspective), near and far depths, and the screen
point the view centres on.
struct PROJECTION
Referenced by ProjectionWork, syConvert3Dto2D() and sySetScreenDist().
Definition at line 1190 of file definitions.h.
Fields in detail
focal
FIXED focal
16.16 pixels (syPerspective)
near
FIXED near
nearer points are not drawn; 16.16 along the view axis
far
FIXED far
farther points are not drawn; 16.16 along the view axis
centerX
Sint32 centerX
screen pixels
centerY
Sint32 centerY
screen pixels