|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Data Structures | |
| struct | tpbrt_transform_handle_t |
| Transform handle. More... | |
| struct | tpbrt_transform_animated_t |
| Animated transform. More... | |
| struct | tpbrt_transforms_list_t |
| List of transforms. More... | |
Macros | |
| #define | TPBRT_TRANSFORM_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid transform index. | |
Typedefs | |
| typedef tpbrt_idx_t | tpbrt_transform_idx_t |
| Transform index. | |
Functions | |
| tpbrt_error_t | tpbrt_get_transform (const tpbrt_transforms_list_t *transforms, tpbrt_transform_handle_t handle, const tpbrt_mat4_t **transform) |
| Returns pointer to transform to which handle is provided. | |
| #define TPBRT_TRANSFORM_IDX_INVALID TPBRT_IDX_INVALID |
Invalid transform index.
| typedef tpbrt_idx_t tpbrt_transform_idx_t |
Transform index.
| tpbrt_error_t tpbrt_get_transform | ( | const tpbrt_transforms_list_t * | transforms, |
| tpbrt_transform_handle_t | handle, | ||
| const tpbrt_mat4_t ** | transform | ||
| ) |
Returns pointer to transform to which handle is provided.
| transforms | List of transforms in which transform given by handle should be. |
| handle | Handle to transform. |
| transform | Pointer in which pointer to transform will be stored (if not found this will be TPBRT_NULL). |