Rerun C++ SDK
|
Datatype: A 4x4 Matrix. More...
#include <rerun/datatypes/mat4x4.hpp>
Public Member Functions | |
Mat4x4 (const Vec4D(&columns)[4]) | |
Creates a new 4x4 matrix from 3 columns of 4 elements each. | |
Mat4x4 (const float *elements) | |
Construct a new 4x4 matrix from a pointer to 16 floats (in column major order). | |
Mat4x4 (std::array< float, 16 > flat_columns_) | |
Mat4x4 & | operator= (std::array< float, 16 > flat_columns_) |
Public Attributes | |
std::array< float, 16 > | flat_columns |
Flat list of matrix coefficients in column-major order. | |
Static Public Attributes | |
static RERUN_SDK_EXPORT const Mat4x4 | IDENTITY |
Datatype: A 4x4 Matrix.
Matrices in Rerun are stored as flat list of coefficients in column-major order: