Luna::Float3x3::data

const f32 * data() const

Gets the data of the matrix as one array of f32 elements.

Note that the matrix is 16 bytes aligned, so the row pitch in array data is 16 bytes, or 4 elements. For example, to fetch the element at row 1 column 2, use data()[4 * 1 + 2].

Return value

Returns one pointer to the data array.