From 92636513abe72d2da0c45f0e2c1235415e0671c3 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Jan 2021 12:58:57 -0800 Subject: Refactor GUI/Window utils out of gfx library (#1649) Co-authored-by: Yong He --- tools/graphics-app-framework/vector-math.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/graphics-app-framework/vector-math.h (limited to 'tools/graphics-app-framework/vector-math.h') diff --git a/tools/graphics-app-framework/vector-math.h b/tools/graphics-app-framework/vector-math.h new file mode 100644 index 000000000..e35cb46ac --- /dev/null +++ b/tools/graphics-app-framework/vector-math.h @@ -0,0 +1,15 @@ +// vector-math.h +#pragma once + +// We will use the GLM library for our vector math types, just for simplicity. + +#include "../../external/glm/glm/glm.hpp" +#include "../../external/glm/glm/gtc/matrix_transform.hpp" +#include "../../external/glm/glm/gtc/constants.hpp" +#include "../../external/glm/glm/gtc/quaternion.hpp" + +namespace gfx { + +using namespace glm; + +} // gfx -- cgit v1.2.3