Added matrix

This commit is contained in:
2021-07-12 10:22:33 -07:00
parent df2ee3bf1b
commit e990d28a1f
11 changed files with 250 additions and 64 deletions

View File

@ -7,12 +7,13 @@
#pragma once
#include "../libs.h"
#include "matrix.h"
/** The math for the camera is stored here. */
typedef struct {
/** View Matrix (Where the camera looks) */
mat4 view;
matrix_t view;
/** Projection Matrix (How the camera looks) */
mat4 projection;
matrix_t projection;
} camera_t;