updating renderer work done
This commit is contained in:
@@ -5,4 +5,21 @@
|
||||
#ifndef CAMERA_H
|
||||
#define CAMERA_H
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
#include <cglm/cglm.h>
|
||||
#include "../shaders/shader.h"
|
||||
|
||||
typedef struct {
|
||||
vec3 Position;
|
||||
vec3 Orientation;
|
||||
vec3 Up;
|
||||
float speed;
|
||||
float sensitivity;
|
||||
int width;
|
||||
int height;
|
||||
} Camera;
|
||||
|
||||
void matrix(float FOVdeg, float nearPlane, float farPlane, Shader* shader_instance, const char* uniform);
|
||||
void inputs(SDL_Window* window);
|
||||
|
||||
#endif //CAMERA_H
|
||||
|
||||
Reference in New Issue
Block a user