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 64 of file Mat3.hpp.

Member Typedef Documentation

◆ scalar_type

using scalar_type = float

Definition at line 67 of file Mat3.hpp.

Member Function Documentation

◆ read_element()

static scalar_type read_element ( const jngl::Mat3 m)
inlinestatic

Definition at line 69 of file Mat3.hpp.

◆ write_element()

static scalar_type & write_element ( jngl::Mat3 m)
inlinestatic

Definition at line 72 of file Mat3.hpp.

Member Data Documentation

◆ rows

int const rows = 3
static

Definition at line 65 of file Mat3.hpp.

◆ cols

int const cols = 3
static

Definition at line 66 of file Mat3.hpp.


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