vsg
1.1.0
VulkanSceneGraph library
|
t_mat3 template class that represents a 3x3 matrix. More...
#include <mat3.h>
Public Types | |
using | value_type = T |
using | column_type = t_vec3< T > |
Public Member Functions | |
constexpr | t_mat3 (value_type v) |
constexpr | t_mat3 (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) |
constexpr | t_mat3 (value_type v[9]) |
constexpr | t_mat3 (const column_type &c0, const column_type &c1, const column_type &c2) |
template<typename R > | |
t_mat3 (const t_mat3< 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_mat3 & | operator= (const t_mat3< 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) |
T * | data () |
const T * | data () const |
Public Attributes | |
column_type | value [3] |
t_mat3 template class that represents a 3x3 matrix.