RT
Functions
camera.c File Reference
#include "rtstruct.h"
#include "librt.h"
#include "config.h"
#include "render.h"
#include <math.h>
Include dependency graph for camera.c:

Functions

void update_camera (t_cam *cam, bool *needs_render)
 
void set_direction (t_cam *cam, t_vec3 direction)
 

Function Documentation

◆ set_direction()

void set_direction ( t_cam cam,
t_vec3  direction 
)

◆ update_camera()

void update_camera ( t_cam cam,
bool *  needs_render 
)