vsg
1.1.0
VulkanSceneGraph library
|
t_mat4 template class that represents a 4x4 matrix. More...
#include <mat4.h>
Public Types | |
using | value_type = T |
using | column_type = t_vec4< T > |
Public Member Functions | |
constexpr | t_mat4 (value_type v) |
constexpr | t_mat4 (value_type v0, value_type v1, value_type v2, value_type v3, value_type v4, value_type v5, value_type v6, value_type v7, value_type v8, value_type v9, value_type v10, value_type v11, value_type v12, value_type v13, value_type v14, value_type v15) |
constexpr | t_mat4 (value_type v[16]) |
constexpr | t_mat4 (const column_type &c0, const column_type &c1, const column_type &c2, const column_type &c3) |
template<typename R > | |
t_mat4 (const t_mat4< R > &rhs) | |
constexpr std::size_t | size () const |
constexpr std::size_t | columns () const |
constexpr std::size_t | rows () const |
column_type & | operator[] (std::size_t c) |
const column_type & | operator[] (std::size_t c) const |
value_type & | operator() (std::size_t c, std::size_t r) |
value_type | operator() (std::size_t c, std::size_t r) const |
template<typename R > | |
t_mat4 & | operator= (const t_mat4< R > &rhs) |
void | set (value_type v0, value_type v1, value_type v2, value_type v3, value_type v4, value_type v5, value_type v6, value_type v7, value_type v8, value_type v9, value_type v10, value_type v11, value_type v12, value_type v13, value_type v14, value_type v15) |
T * | data () |
const T * | data () const |
Public Attributes | |
column_type | value [4] |
t_mat4 template class that represents a 4x4 matrix.