0.3.1
3x3 Matrix

Data Structures

struct  fix16_mat33
 Not yet documented. More...
 

Macros

#define FIX16_MAT33_COLUMNS   (3)
 Not yet documented.
 
#define FIX16_MAT33_ROWS   (3)
 Not yet documented.
 
#define FIX16_MAT33_ARR_COUNT   (FIX16_MAT33_COLUMNS * FIX16_MAT33_ROWS)
 Not yet documented.
 

Typedefs

typedef struct fix16_mat33 fix16_mat33_t
 Not yet documented.
 

Functions

void fix16_mat33_zero (fix16_mat33_t *m0)
 Not yet documented.
 
void fix16_mat33_identity (fix16_mat33_t *m0)
 Not yet documented.
 
void fix16_mat33_dup (const fix16_mat33_t *m0, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_transpose (const fix16_mat33_t *restrict m0, fix16_mat33_t *restrict result)
 Not yet documented.
 
void fix16_mat33_inplace_transpose (fix16_mat33_t *m0)
 Not yet documented.
 
void fix16_mat33_lookat (const fix16_vec3_t *from, const fix16_vec3_t *to, const fix16_vec3_t *world_up, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_mul (const fix16_mat33_t *m0, const fix16_mat33_t *m1, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_vec3_mul (const fix16_mat33_t *m0, const fix16_vec3_t *v, fix16_vec3_t *result)
 Not yet documented.
 
void fix16_mat33_x_rotate (const fix16_mat33_t *m0, angle_t angle, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_y_rotate (const fix16_mat33_t *m0, angle_t angle, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_z_rotate (const fix16_mat33_t *m0, angle_t angle, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_x_rotation_create (angle_t rx, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_y_rotation_create (angle_t ry, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_z_rotation_create (angle_t rz, fix16_mat33_t *result)
 Not yet documented.
 
void fix16_mat33_rotation_create (angle_t rx, angle_t ry, angle_t rz, fix16_mat33_t *result)
 Not yet documented.
 
size_t fix16_mat33_str (const fix16_mat33_t *m0, char *buffer, int32_t decimals)
 Not yet documented.
 

Detailed Description

Description goes here.


Data Structure Documentation

◆ fix16_mat33

struct fix16_mat33

Not yet documented.

Note
Row-major matrix.
Data Fields
fix16_vec3_t row[FIX16_MAT33_ROWS] Not yet documented.

Typedef Documentation

◆ fix16_mat33_t

typedef struct fix16_mat33 fix16_mat33_t

Not yet documented.

Note
Row-major matrix.

Function Documentation

◆ fix16_mat33_zero()

void fix16_mat33_zero ( fix16_mat33_t m0)

Not yet documented.

Parameters
m0Not yet documented.

◆ fix16_mat33_identity()

void fix16_mat33_identity ( fix16_mat33_t m0)

Not yet documented.

Parameters
m0Not yet documented.

◆ fix16_mat33_dup()

void fix16_mat33_dup ( const fix16_mat33_t m0,
fix16_mat33_t result 
)

Not yet documented.

Parameters
m0Not yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_transpose()

void fix16_mat33_transpose ( const fix16_mat33_t *restrict  m0,
fix16_mat33_t *restrict  result 
)

Not yet documented.

Parameters
m0Not yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_inplace_transpose()

void fix16_mat33_inplace_transpose ( fix16_mat33_t m0)

Not yet documented.

Parameters
m0Not yet documented.

◆ fix16_mat33_lookat()

void fix16_mat33_lookat ( const fix16_vec3_t from,
const fix16_vec3_t to,
const fix16_vec3_t world_up,
fix16_mat33_t result 
)

Not yet documented.

Parameters
fromNot yet documented.
toNot yet documented.
world_upNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_mul()

void fix16_mat33_mul ( const fix16_mat33_t m0,
const fix16_mat33_t m1,
fix16_mat33_t result 
)

Not yet documented.

Parameters
m0Not yet documented.
m1Not yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_vec3_mul()

void fix16_mat33_vec3_mul ( const fix16_mat33_t m0,
const fix16_vec3_t v,
fix16_vec3_t result 
)

Not yet documented.

Parameters
m0Not yet documented.
vNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_x_rotate()

void fix16_mat33_x_rotate ( const fix16_mat33_t m0,
angle_t  angle,
fix16_mat33_t result 
)

Not yet documented.

Parameters
m0Not yet documented.
angleNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_y_rotate()

void fix16_mat33_y_rotate ( const fix16_mat33_t m0,
angle_t  angle,
fix16_mat33_t result 
)

Not yet documented.

Parameters
m0Not yet documented.
angleNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_z_rotate()

void fix16_mat33_z_rotate ( const fix16_mat33_t m0,
angle_t  angle,
fix16_mat33_t result 
)

Not yet documented.

Parameters
m0Not yet documented.
angleNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_x_rotation_create()

void fix16_mat33_x_rotation_create ( angle_t  rx,
fix16_mat33_t result 
)

Not yet documented.

Parameters
rxNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_y_rotation_create()

void fix16_mat33_y_rotation_create ( angle_t  ry,
fix16_mat33_t result 
)

Not yet documented.

Parameters
ryNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_z_rotation_create()

void fix16_mat33_z_rotation_create ( angle_t  rz,
fix16_mat33_t result 
)

Not yet documented.

Parameters
rzNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_rotation_create()

void fix16_mat33_rotation_create ( angle_t  rx,
angle_t  ry,
angle_t  rz,
fix16_mat33_t result 
)

Not yet documented.

Parameters
rxNot yet documented.
ryNot yet documented.
rzNot yet documented.
[out]resultNot yet documented.

◆ fix16_mat33_str()

size_t fix16_mat33_str ( const fix16_mat33_t m0,
char *  buffer,
int32_t  decimals 
)

Not yet documented.

Parameters
m0Not yet documented.
[out]bufferNot yet documented.
decimalsNot yet documunted.
Returns
The string length, not counting the NUL character.