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

Disk shape parameters. More...

#include <tinypbrt/detail/shape.h>

Data Fields

tpbrt_float_t height
 The position of the disk along the z axis.
 
tpbrt_float_t radius
 The outer radius of the disk.
 
tpbrt_float_t inner_radius
 The inner radius of the disk (if nonzero, the disk is an annulus).
 
tpbrt_float_t phi_max
 The maximum extent of the disk in phi (in spherical coordinates).
 

Detailed Description

Disk shape parameters.

Examples
examples/export_obj/main.c.

Field Documentation

◆ height

tpbrt_float_t tpbrt_shape_disk_params_t::height

The position of the disk along the z axis.

Examples
examples/export_obj/main.c.

◆ radius

tpbrt_float_t tpbrt_shape_disk_params_t::radius

The outer radius of the disk.

Examples
examples/export_obj/main.c.

◆ inner_radius

tpbrt_float_t tpbrt_shape_disk_params_t::inner_radius

The inner radius of the disk (if nonzero, the disk is an annulus).

Examples
examples/export_obj/main.c.

◆ phi_max

tpbrt_float_t tpbrt_shape_disk_params_t::phi_max

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

Examples
examples/export_obj/main.c.

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