tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
coord.h
Go to the documentation of this file.
1#pragma once
2#ifndef _TINYPBRT_COORD_H_
3#define _TINYPBRT_COORD_H_
4
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
30
31#ifdef __cplusplus
32}
33#endif
34#endif // _TINYPBRT_COORD_H_
tpbrt_coord_system_type_t
Coordinate System type.
Definition coord.h:20
@ TPBRT_COORD_SYSTEM_TYPE_MAX_NUM
Count of available coordinate system types.
Definition coord.h:28
@ TPBRT_COORD_SYSTEM_TYPE_WORLD
Uses world space (accuracy may suffer due to floating-point precision).
Definition coord.h:26
@ TPBRT_COORD_SYSTEM_TYPE_CAMERA
Uses camera space (performance may suffer due to the scene being rotated).
Definition coord.h:24
@ TPBRT_COORD_SYSTEM_TYPE_CAMERA_WORLD
Translates the scene so that the camera is at the origin.
Definition coord.h:22