project.h
games/tbs/include/project.h on GitHub
Structures
Projection
struct Projection
The 3D projection onto the screen: its focal length, near and far depths, and the screen point the view centres on.
| Field | Declared as | |
|---|---|---|
focal | s32 focal | |
near | s32 near | |
far | s32 far | |
centerX | s32 centerX | screen pixels |
centerY | s32 centerY | screen pixels |
Used by Projection_Set, Render_ProjectPoint, gProjection.
Globals, without a comment: gProjection.