Added matrix
This commit is contained in:
@ -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;
|
Reference in New Issue
Block a user