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::Mat4 > Struct Reference

Public Types

using scalar_type = float
 

Static Public Member Functions

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

Static Public Attributes

static int const rows = 4
 
static int const cols = 4
 

Detailed Description

Definition at line 30 of file Mat4.hpp.

Member Typedef Documentation

◆ scalar_type

using scalar_type = float

Definition at line 33 of file Mat4.hpp.

Member Function Documentation

◆ read_element()

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

Definition at line 35 of file Mat4.hpp.

◆ write_element()

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

Definition at line 38 of file Mat4.hpp.

Member Data Documentation

◆ rows

int const rows = 4
static

Definition at line 31 of file Mat4.hpp.

◆ cols

int const cols = 4
static

Definition at line 32 of file Mat4.hpp.


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