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

3 component vector. More...

#include <tinypbrt/detail/math.h>

Data Fields

 TPBRT_ANONYMOUS_UNION
 
tpbrt_float_t v [3]
 vector as array of 3 float values.
 

Detailed Description

3 component vector.

Examples
examples/export_obj/main.c, and examples/lights/main.c.

Field Documentation

◆ TPBRT_ANONYMOUS_UNION

tpbrt_vec3_t::TPBRT_ANONYMOUS_UNION
Initial value:
{
struct {
union {
};
union {
};
union {
};
}
float tpbrt_float_t
Float type.
Definition fwd.h:83

◆ v

tpbrt_float_t tpbrt_vec3_t::v[3]

vector as array of 3 float values.


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