Alchemy

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.

FieldDeclared as
focals32 focal
nears32 near
fars32 far
centerXs32 centerXscreen pixels
centerYs32 centerYscreen pixels

Used by Projection_Set, Render_ProjectPoint, gProjection.

Line 12

Globals, without a comment: gProjection.

On this page