A 3d fps game made in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Symmetry/src/libsymmetry/camera.h

19 lines
582 B

#ifndef CAMERA_H
#define CAMERA_H
struct Entity;
void camera_destroy(struct Entity* entity);
void camera_create(struct Entity* entity, int width, int height);
void camera_update_view_proj(struct Entity* entity);
void camera_update_view(struct Entity* entity);
void camera_update_proj(struct Entity* entity);
void camera_attach_fbo(struct Entity* entity,
int width,
int height,
int has_depth,
int has_color,
int resizeable);
/* void camera_resize_all(int width, int height); */
#endif