From fc9968dc4fd58fab37476f48e4405c2743c5349c Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 8 Mar 2021 10:01:20 -0800 Subject: Refactor window library. (#1739) * Refactor window library. * Fix project file * Fix warnings. --- tools/platform/vector-math.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/platform/vector-math.h (limited to 'tools/platform/vector-math.h') diff --git a/tools/platform/vector-math.h b/tools/platform/vector-math.h new file mode 100644 index 000000000..e35cb46ac --- /dev/null +++ b/tools/platform/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