Browse Source

Reduce included code

Christophe Riccio 9 years ago
parent
commit
212d343d5f
2 changed files with 3 additions and 1 deletions
  1. 1 1
      glm/gtx/norm.hpp
  2. 2 0
      glm/gtx/norm.inl

+ 1 - 1
glm/gtx/norm.hpp

@@ -14,7 +14,7 @@
 #pragma once
 
 // Dependency:
-#include "../glm.hpp"
+#include "../detail/func_geometric.hpp"
 #include "../gtx/quaternion.hpp"
 
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))

+ 2 - 0
glm/gtx/norm.inl

@@ -1,6 +1,8 @@
 /// @ref gtx_norm
 /// @file glm/gtx/norm.inl
 
+#include "../detail/precision.hpp"
+
 namespace glm{
 namespace detail
 {