coastline 0.0.4
Loading...
Searching...
No Matches
cameraprojection.h
Go to the documentation of this file.
1#ifndef COASTLINE_CAMERAPROJECTION_H
2#define COASTLINE_CAMERAPROJECTION_H
3
4#include "common/types.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
23void SetupProjectionMatrix(f32 width, f32 height);
24
38void SetupMenuProjection(f32 width, f32 height);
39
50
62
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* COASTLINE_CAMERAPROJECTION_H */
f32 g_fCameraFarDistance
The far plane of perspective cameras.
s32 g_dwKeepCustomClipPlanes
Whether SetupMenuProjection() keeps the near scale and far distance set before it once,...
f32 g_fCameraNearScale
The near plane of perspective cameras.
void SetupProjectionMatrix(f32 width, f32 height)
Set up a fixed projection, looking at (512, 384) from 1000 along z, and load it into the display list...
void SetupMenuProjection(f32 width, f32 height)
Set up the menu projection and load it into the display list.
The integer and floating-point types of the console, for headers shared with Windows.
float f32
Definition ultratypes.h:38
int s32
Definition ultratypes.h:25