miniRT
By Marcelo Magalhães and Ygor G. Sena, 2023.
s_shape Struct Reference
Collaboration diagram for s_shape:

Data Fields

union {
   t_sphere   sphere
 
   t_plane   plane
 
   t_cylinder   cylinder
 
   t_cone   cone
 
}; 
 
t_matrix transform
 
t_matrix inverse
 
t_matrix transpose
 
t_material material
 
t_hit_record intersect
 
t_normal_at normal_at
 
t_checker checker
 
t_uv_map map