naev 0.12.5
mat3.c File Reference

Handles OpenGL matrix stuff for 3 dimension matrices. More...

#include <stdio.h>
#include "mat3.h"
Include dependency graph for mat3.c:

Go to the source code of this file.

Functions

void mat3_print (const mat3 *m)
void mat3_from_mat4 (mat3 *out, const mat4 *in)
void mat3_mul_vec (vec3 *out, const mat3 *M, const vec3 *v)
double mat3_det (const mat3 *m)
void mat3_invert (mat3 *m)
void mat3_transpose (mat3 *m)

Detailed Description

Handles OpenGL matrix stuff for 3 dimension matrices.

Definition in file mat3.c.

Function Documentation

◆ mat3_det()

double mat3_det ( const mat3 * m)

Definition at line 40 of file mat3.c.

◆ mat3_from_mat4()

void mat3_from_mat4 ( mat3 * out,
const mat4 * in )

Definition at line 23 of file mat3.c.

◆ mat3_invert()

void mat3_invert ( mat3 * m)

Definition at line 47 of file mat3.c.

◆ mat3_mul_vec()

void mat3_mul_vec ( vec3 * out,
const mat3 * M,
const vec3 * v )

Definition at line 30 of file mat3.c.

◆ mat3_print()

void mat3_print ( const mat3 * m)

Definition at line 14 of file mat3.c.

◆ mat3_transpose()

void mat3_transpose ( mat3 * m)

Definition at line 62 of file mat3.c.