JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
mat_traits< jngl::Mat3 > Struct Reference

Public Types

using scalar_type = float
 

Static Public Member Functions

template<int R, int C>
static scalar_type read_element (const jngl::Mat3 &m)
 
template<int R, int C>
static scalar_type & write_element (jngl::Mat3 &m)
 

Static Public Attributes

static int const rows = 3
 
static int const cols = 3
 

Detailed Description

Definition at line 83 of file Mat3.hpp.

Member Typedef Documentation

◆ scalar_type

using scalar_type = float

Definition at line 86 of file Mat3.hpp.

Member Function Documentation

◆ read_element()

template<int R, int C>
static scalar_type read_element ( const jngl::Mat3 & m)
inlinestatic

Definition at line 88 of file Mat3.hpp.

◆ write_element()

template<int R, int C>
static scalar_type & write_element ( jngl::Mat3 & m)
inlinestatic

Definition at line 91 of file Mat3.hpp.

Member Data Documentation

◆ rows

int const rows = 3
static

Definition at line 84 of file Mat3.hpp.

◆ cols

int const cols = 3
static

Definition at line 85 of file Mat3.hpp.


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