tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt_shape_cylinder_params_t Struct Reference

Cylinder shape parameters. More...

#include <tinypbrt/detail/shape.h>

Data Fields

tpbrt_float_t radius
 The cylinder's radius.
 
tpbrt_float_t z_min
 The height of the cylinder's bottom along the z axis.
 
tpbrt_float_t z_max
 The height of the cylinder's top along the z axis.
 
tpbrt_float_t phi_max
 The maximum extent of the cylinder in phi (in spherical coordinates).
 

Detailed Description

Cylinder shape parameters.

Examples
examples/export_obj/main.c.

Field Documentation

◆ radius

tpbrt_float_t tpbrt_shape_cylinder_params_t::radius

The cylinder's radius.

Examples
examples/export_obj/main.c.

◆ z_min

tpbrt_float_t tpbrt_shape_cylinder_params_t::z_min

The height of the cylinder's bottom along the z axis.

Examples
examples/export_obj/main.c.

◆ z_max

tpbrt_float_t tpbrt_shape_cylinder_params_t::z_max

The height of the cylinder's top along the z axis.

Examples
examples/export_obj/main.c.

◆ phi_max

tpbrt_float_t tpbrt_shape_cylinder_params_t::phi_max

The maximum extent of the cylinder in phi (in spherical coordinates).

Examples
examples/export_obj/main.c.

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