RT
Functions
vec3_refract.c File Reference
#include "librt.h"
#include "libft.h"
#include <math.h>
Include dependency graph for vec3_refract.c:

Functions

t_vec3 vec3_refract (t_vec3 ray, t_vec3 normal, float ior)
 

Function Documentation

◆ vec3_refract()

t_vec3 vec3_refract ( t_vec3  ray,
t_vec3  normal,
float  ior 
)