Alchemy
Loading...
Searching...
No Matches

Projection Struct Reference

The 3D projection onto the screen: its focal length, near and far depths, and the screen point the view centres on. More...

#include <project.h>

Data Fields

s32 focal
s32 near
s32 far
s32 centerX
 screen pixels
s32 centerY
 screen pixels

Detailed Description

The 3D projection onto the screen: its focal length, near and far depths, and the screen point the view centres on.

Definition at line 12 of file project.h.

Field Documentation

◆ focal

s32 Projection::focal

◆ near

s32 Projection::near

Definition at line 14 of file project.h.

Referenced by Projection_Set(), Projection_SetFieldOfView(), and Render_ProjectPoint().

◆ far

s32 Projection::far

Definition at line 15 of file project.h.

Referenced by Projection_Set(), Projection_SetFieldOfView(), and Render_ProjectPoint().

◆ centerX

◆ centerY