diff options
author | 2025-02-07 11:27:18 -0500 | |
---|---|---|
committer | 2025-02-07 11:27:18 -0500 | |
commit | 4da7be39827ea5888ef9c97b1aadf61b0d76347c (patch) | |
tree | 15d0ff8f8bcb0e871efb1b2e65c2bc8d07b17565 /mons_3d/include/projection.h |
initial commit (lol)
Diffstat (limited to 'mons_3d/include/projection.h')
-rw-r--r-- | mons_3d/include/projection.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mons_3d/include/projection.h b/mons_3d/include/projection.h new file mode 100644 index 0000000..df0f716 --- /dev/null +++ b/mons_3d/include/projection.h @@ -0,0 +1,13 @@ +#ifndef MONS_PROJECTION_H +#define MONS_PROJECTION_H + +typedef struct mons_projection { + float near; + float far; + float fov; + float aspect_ratio; +} mons_projection; + +struct mons_mat4 mons_projection_matrix(mons_projection projection); + +#endif |