vsg  1.1.0
VulkanSceneGraph library
Public Types | Public Member Functions | Public Attributes | List of all members
vsg::t_mat3< T > Struct Template Reference

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_typeoperator[] (std::size_t c)
 
const column_typeoperator[] (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_mat3operator= (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]
 

Detailed Description

template<typename T>
struct vsg::t_mat3< T >

t_mat3 template class that represents a 3x3 matrix.


The documentation for this struct was generated from the following file: