Fixed build and clean up

This commit is contained in:
Christophe Riccio 2016-07-17 11:07:46 +02:00
parent de77fadde2
commit 60026b2066
5 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,8 @@
#pragma once #pragma once
#include "setup.hpp"
namespace glm namespace glm
{ {
enum precision enum precision
@ -29,7 +31,7 @@ namespace glm
defaultp = highp defaultp = highp
# endif # endif
}; };
namespace detail namespace detail
{ {
template <glm::precision P> template <glm::precision P>

View File

@ -21,9 +21,9 @@ namespace glm
{ {
// -- Implementation detail -- // -- Implementation detail --
typedef T value_type;
typedef tvec1<T, P> type; typedef tvec1<T, P> type;
typedef tvec1<bool, P> bool_type; typedef tvec1<bool, P> bool_type;
typedef T value_type;
// -- Data -- // -- Data --

View File

@ -20,9 +20,9 @@ namespace glm
{ {
// -- Implementation detail -- // -- Implementation detail --
typedef T value_type;
typedef tvec3<T, P> type; typedef tvec3<T, P> type;
typedef tvec3<bool, P> bool_type; typedef tvec3<bool, P> bool_type;
typedef T value_type;
// -- Data -- // -- Data --

View File

@ -3,7 +3,6 @@
#pragma once #pragma once
#include "setup.hpp"
#include "type_vec.hpp" #include "type_vec.hpp"
#ifdef GLM_SWIZZLE #ifdef GLM_SWIZZLE
# if GLM_HAS_ANONYMOUS_UNION # if GLM_HAS_ANONYMOUS_UNION

View File

@ -49,7 +49,7 @@ namespace detail
return Result; return Result;
} }
}; };
# endif # endif//GLM_SWIZZLE
template <precision P> template <precision P>
struct compute_vec4_add<float, P, true> struct compute_vec4_add<float, P, true>