Player12
An open source football management simulator
Loading...
Searching...
No Matches
RenderMath::Mat4 Struct Reference

#include <match_render_math.h>

Public Member Functions

constexpr Vec4 transform (Vec3 p) const
 

Static Public Member Functions

static constexpr Mat4 identity ()
 

Public Attributes

std::array< float, 16 > m {}
 

Friends

constexpr Mat4 operator* (const Mat4 &a, const Mat4 &b)
 

Detailed Description

Row-major 4x4 matrix; points are column vectors (clip = M * p).

Member Function Documentation

◆ identity()

static constexpr Mat4 RenderMath::Mat4::identity ( )
inlinestaticconstexpr

◆ transform()

constexpr Vec4 RenderMath::Mat4::transform ( Vec3  p) const
inlineconstexpr

Friends And Related Symbol Documentation

◆ operator*

constexpr Mat4 operator* ( const Mat4 &  a,
const Mat4 &  b 
)
friend

Member Data Documentation

◆ m

std::array<float, 16> RenderMath::Mat4::m {}

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