#ifndef DJSTDLIB_GFX_CAMERA_H #define DJSTDLIB_GFX_CAMERA_H #include "../../core.h" #include "../../vendor/raymath.h" typedef struct Camera Camera; struct Camera { Matrix view; Matrix proj; Vec3 pos; Vec3 up; Vec3 target; }; Camera createCamera(int32 width, int32 height); void cameraSetAspect(Camera *c, int32 width, int32 height); void cameraLookAt(Camera *c, float x, float y, float z); void cameraSetUp(Camera *c, real32 up_x, real32 up_y, real32 up_z); #endif