This repository has been archived on 2024-11-22. You can view files and clone it, but cannot push or open issues or pull requests.
2023-08-04 21:58:43 -04:00

10 lines
242 B
C

#include <GLES/gl.h>
// Matrix Common
#define MATRIX_SIZE 4
#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;