Files
SimpleRayTracing/native/header/Rendering/Camera.h
Misaki f1d3dddb9a Change project structure;
Added new c# binding;
2025-12-30 20:54:05 +09:00

22 lines
366 B
C

#ifndef CAMERA_H
#define CAMERA_H
#include "cglm/struct/vec3.h"
typedef struct
{
vec3s position;
versors rotation;
float focal_length;
float size_x;
float size_y;
float fov_x;
float fov_y;
} camera_t;
camera_t camera_create(vec3s position, versors rotation, float focal_length, float size_x, float aspect_ratio);
#endif // CAMERA_H