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

The structure t_sphere represents a sphere. More...

#include <shapes.h>

Collaboration diagram for s_sphere:

Data Fields

t_point origin
 
float radius
 

Detailed Description

The structure t_sphere represents a sphere.

Parameters
originStores the sphere's origin point.
radiusStores the radius of the sphere.