Alchemy
Loading...
Searching...
No Matches

project.h File Reference

The 3D projection. More...

Go to the source code of this file.

Data Structures

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

Functions

 STATIC_ASSERT (sizeof(struct Projection)==0x14)
 STATIC_ASSERT (offsetof(struct Projection, centerX)==0x0c)
 STATIC_ASSERT (offsetof(struct Projection, centerY)==0x10)

Variables

struct Projection gProjection

Detailed Description

The 3D projection.

Definition in file project.h.

Function Documentation

◆ STATIC_ASSERT() [1/3]

STATIC_ASSERT ( sizeof(struct Projection) = =0x14)

◆ STATIC_ASSERT() [2/3]

STATIC_ASSERT ( offsetof(struct Projection, centerX) = =0x0c)

◆ STATIC_ASSERT() [3/3]

STATIC_ASSERT ( offsetof(struct Projection, centerY) = =0x10)

Variable Documentation

◆ gProjection