From a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807 Mon Sep 17 00:00:00 2001 From: realtradam Date: Fri, 16 Jun 2023 01:18:13 -0400 Subject: matrix math wrapper as well as various refactors for consistant and cleaner code --- src/math/irodeo_math.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/math/irodeo_math.h (limited to 'src/math/irodeo_math.h') diff --git a/src/math/irodeo_math.h b/src/math/irodeo_math.h new file mode 100644 index 0000000..beed68f --- /dev/null +++ b/src/math/irodeo_math.h @@ -0,0 +1,16 @@ +#pragma once + +// external needs to be first here +// -- external -- +/*#define CGLM_FORCE_LEFT_HANDED*/ +#define CGLM_FORCE_DEPTH_ZERO_TO_ONE +/*#define CGLM_CLIPSPACE_INCLUDE_ALL*/ +#include "cglm/struct.h" + +// -- internal -- +// private +#include "math/irodeo_vec2.h" +#include "math/irodeo_vec3.h" +//#include "math/irodeo_mat4.h" + + -- cgit v1.2.3