Initial upload

This commit is contained in:
2025-04-15 11:29:46 +09:00
commit b915d56f73
212 changed files with 43262 additions and 0 deletions

25
header/Rendering/Camera.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef CAMERA_H
#define CAMERA_H
#include "cglm/struct/vec3.h"
#include "cglm/types-struct.h"
typedef struct
{
vec3s position;
vec3s forward;
vec3s up;
vec3s right;
float focal_length;
float size_x;
float size_y;
float aspect_ratio;
float fov_x;
float fov_y;
} camera_t;
camera_t camera_create(vec3s position, vec3s forward, vec3s up, float focal_length, float size_x, float aspect_ratio);
#endif // CAMERA_H