mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-22 22:20:01 +08:00
18 lines
425 B
C++
18 lines
425 B
C++
#ifndef EXAMPLE_MATRIX_H_
|
|
#define EXAMPLE_MATRIX_H_
|
|
|
|
class Matrix {
|
|
public:
|
|
Matrix();
|
|
~Matrix();
|
|
|
|
static void Print(float m[4][4]);
|
|
static void LookAt(float m[4][4], float eye[3], float lookat[3],
|
|
float up[3]);
|
|
static void Inverse(float m[4][4]);
|
|
static void Mult(float dst[4][4], float m0[4][4], float m1[4][4]);
|
|
static void MultV(float dst[3], float m[4][4], float v[3]);
|
|
};
|
|
|
|
#endif //
|