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

The structure t_cone represents a cone. More...

#include <shapes.h>

Collaboration diagram for s_cone:

Data Fields

t_point origin
 
float minimum
 
float maximum
 
t_bool closed
 

Detailed Description

The structure t_cone represents a cone.

Parameters
originStores the cone's origin point.
minimumStores the cone's minimum height, i.e, lowest height.
maximumStores the cone's maxinum height, i.e, highest height.
closedStores TRUE, if the cone is capped or FALSE, if it isn't capped.