Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches

4x4 column-major matrix used as the OpenGL/GLSL FFI bridge. More...

#include <DekiVector.h>

Public Member Functions

 Mat4 ()

Static Public Member Functions

static Mat4 Identity ()
static Mat4 Ortho (float left, float right, float bottom, float top, float nearZ, float farZ)

Public Attributes

float m [4][4]

Detailed Description

4x4 column-major matrix used as the OpenGL/GLSL FFI bridge.

Storage: column-major (m[col][row]). Identity by default.

Constructor & Destructor Documentation

◆ Mat4()

Mat4::Mat4 ( )
inline

Member Function Documentation

◆ Identity()

Mat4 Mat4::Identity ( )
inlinestatic

◆ Ortho()

Mat4 Mat4::Ortho ( float left,
float right,
float bottom,
float top,
float nearZ,
float farZ )
inlinestatic

Member Data Documentation

◆ m

float Mat4::m[4][4]

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