Change project structure;
Added new c# binding;
This commit is contained in:
21
native/header/Rendering/Camera.h
Normal file
21
native/header/Rendering/Camera.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user