updating renderer work done

This commit is contained in:
Natsirt867
2025-10-17 02:51:15 -05:00
parent a428be256c
commit c9c5fc428f
7 changed files with 147 additions and 5 deletions

View File

@@ -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