summaryrefslogtreecommitdiff
path: root/include/dolphin/mtx/mtx44.h
blob: 44ed7c7e220f9d2fb0b35465a63952b6e9b5e229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MTX44_H
#define MTX44_H

#include "dolphin/types.h"

typedef f32 Mtx44[4][4];

#ifdef __cplusplus
extern "C" {
#endif

void C_MTXPerspective(Mtx44 m, f32 fovy, f32 aspect, f32 near, f32 far);
void C_MTXOrtho(Mtx44 m, f32 top, f32 bottom, f32 left, f32 right, f32 near, f32 far);

#ifdef __cplusplus
};
#endif

#endif /* MTX44_H */