Rerun C++ SDK
|
Datatype: How we interpret the coordinate system of an entity/space. More...
#include <rerun/datatypes/view_coordinates.hpp>
Public Member Functions | |
constexpr | ViewCoordinates (uint8_t axis0, uint8_t axis1, uint8_t axis2) |
Construct Vec3D from x/y/z values. | |
ViewCoordinates (std::array< uint8_t, 3 > coordinates_) | |
ViewCoordinates & | operator= (std::array< uint8_t, 3 > coordinates_) |
Public Attributes | |
std::array< uint8_t, 3 > | coordinates |
The directions of the [x, y, z] axes. | |
Datatype: How we interpret the coordinate system of an entity/space.
For instance: What is "up"? What does the Z axis mean?
The three coordinates are always ordered as [x, y, z].
For example [Right, Down, Forward] means that the X axis points to the right, the Y axis points down, and the Z axis points forward.
⚠ Rerun does not yet support left-handed coordinate systems.
The following constants are used to represent the different directions: