mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 14:12:11 +00:00
move types to individual header
* include cglm-common to all headers
This commit is contained in:
@@ -5,19 +5,10 @@
|
||||
* Full license can be found in the LICENSE file
|
||||
*/
|
||||
|
||||
#ifndef glm_h
|
||||
#define glm_h
|
||||
#ifndef cglm_h
|
||||
#define cglm_h
|
||||
|
||||
#include "cglm-common.h"
|
||||
|
||||
typedef float vec3[3];
|
||||
typedef CGLM_ALIGN(16) float vec4[4];
|
||||
|
||||
typedef vec3 mat3[3];
|
||||
typedef vec4 mat4[4];
|
||||
|
||||
typedef vec4 versor;
|
||||
|
||||
#include "cglm-vec.h"
|
||||
#include "cglm-mat.h"
|
||||
#include "cglm-mat3.h"
|
||||
@@ -27,4 +18,4 @@ typedef vec4 versor;
|
||||
#include "cglm-quat.h"
|
||||
#include "cglm-euler.h"
|
||||
|
||||
#endif /* glm_h */
|
||||
#endif /* cglm_h */
|
||||
|
||||
Reference in New Issue
Block a user