PowerBlocks SDK
 
Loading...
Searching...
No Matches
matrix3.h File Reference

3x3 Matrices More...

#include "powerblocks/core/utils/math/matrix34.h"

Go to the source code of this file.

Macros

#define MATRIX3_COPY(dst, src)
 

Typedefs

typedef float matrix3[3][3]
 

Functions

void matrix3_identity (matrix3 mtx)
 
void matrix3_from34 (matrix3 dst, const matrix34 src)
 
void matrix3_transpose (matrix3 dst, const matrix3 src)
 
void matrix3_inverse (matrix3 dst, const matrix3 src)
 

Detailed Description

3x3 Matrices

Your standard column major 3x3 matrix you all know and love. Useful for normals!

Author
Samuel Fitzsimons (rainbain)
Date
2025 @license MIT (see LICENSE file)

Macro Definition Documentation

◆ MATRIX3_COPY

#define MATRIX3_COPY ( dst,
src )
Value:
memcpy(dst, src, sizeof(matrix3));