minecraft-pi-reborn/media-layer/core/gles/src/compatibility-layer/matrix.h

10 lines
242 B
C
Raw Normal View History

#include <GLES/gl.h>
// Matrix Common
#define MATRIX_SIZE 4
2022-09-25 19:47:36 +00:00
#define MATRIX_DATA_SIZE (sizeof (GLfloat) * MATRIX_SIZE * MATRIX_SIZE)
// OpenGL Matrices Are Column-Major
typedef struct {
GLfloat data[MATRIX_SIZE][MATRIX_SIZE];
} matrix_t;