RT
Data Fields
s_shading Struct Reference

#include <rtstruct.h>

Collaboration diagram for s_shading:
Collaboration graph
[legend]

Data Fields

t_material mat
 
t_light light
 
t_vec3 light_dir
 
float light_dist
 
t_vec3 hit_pos
 
t_vec3 normal
 
t_vec3 shading_normal
 
t_vec3 specular_dir
 
t_vec3 uv
 

Field Documentation

◆ hit_pos

t_vec3 s_shading::hit_pos

◆ light

t_light s_shading::light

◆ light_dir

t_vec3 s_shading::light_dir

◆ light_dist

float s_shading::light_dist

◆ mat

t_material s_shading::mat

◆ normal

t_vec3 s_shading::normal

◆ shading_normal

t_vec3 s_shading::shading_normal

◆ specular_dir

t_vec3 s_shading::specular_dir

◆ uv

t_vec3 s_shading::uv

The documentation for this struct was generated from the following file: