miniRT
By Marcelo Magalhães and Ygor G. Sena, 2023.
s_scene Struct Reference

The structure t_scene is how the user sees the ray tracing rendering. There is a camera from which the world of shapes and point lights are seen. More...

#include <canvas.h>

Collaboration diagram for s_scene:

Data Fields

t_world world
 
t_camera camera
 

Detailed Description

The structure t_scene is how the user sees the ray tracing rendering. There is a camera from which the world of shapes and point lights are seen.

Parameters
worldStores the world objects to be displayed.
cameraStores the information about the point of view from which the world is observed.