Fixed build
This commit is contained in:
parent
6f1b7c24ce
commit
c90f7b0973
@ -54,7 +54,7 @@ namespace glm
|
|||||||
template <typename U, precision Q>
|
template <typename U, precision Q>
|
||||||
friend tvec2<U, Q> operator/(tvec2<U, Q> const & v, tmat2x2<U, Q> const & m);
|
friend tvec2<U, Q> operator/(tvec2<U, Q> const & v, tmat2x2<U, Q> const & m);
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 2;
|
static GLM_CONSTEXPR length_t components = 2;
|
||||||
static GLM_CONSTEXPR length_t columns = 2;
|
static GLM_CONSTEXPR length_t columns = 2;
|
||||||
|
@ -50,7 +50,7 @@ namespace glm
|
|||||||
typedef tmat3x2<T, P> transpose_type;
|
typedef tmat3x2<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 2;
|
static GLM_CONSTEXPR length_t components = 2;
|
||||||
static GLM_CONSTEXPR length_t cols = 3;
|
static GLM_CONSTEXPR length_t cols = 3;
|
||||||
|
@ -50,7 +50,7 @@ namespace glm
|
|||||||
typedef tmat4x2<T, P> transpose_type;
|
typedef tmat4x2<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 2;
|
static GLM_CONSTEXPR length_t components = 2;
|
||||||
static GLM_CONSTEXPR length_t cols = 4;
|
static GLM_CONSTEXPR length_t cols = 4;
|
||||||
|
@ -50,7 +50,7 @@ namespace glm
|
|||||||
typedef tmat2x3<T, P> transpose_type;
|
typedef tmat2x3<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 3;
|
static GLM_CONSTEXPR length_t components = 3;
|
||||||
static GLM_CONSTEXPR length_t cols = 2;
|
static GLM_CONSTEXPR length_t cols = 2;
|
||||||
|
@ -50,7 +50,7 @@ namespace glm
|
|||||||
typedef tmat4x3<T, P> transpose_type;
|
typedef tmat4x3<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 3;
|
static GLM_CONSTEXPR length_t components = 3;
|
||||||
static GLM_CONSTEXPR length_t cols = 4;
|
static GLM_CONSTEXPR length_t cols = 4;
|
||||||
|
@ -50,7 +50,7 @@ namespace glm
|
|||||||
typedef tmat2x4<T, P> transpose_type;
|
typedef tmat2x4<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR length_t cols = 2;
|
static GLM_CONSTEXPR length_t cols = 2;
|
||||||
|
@ -50,7 +50,7 @@ namespace glm
|
|||||||
typedef tmat3x4<T, P> transpose_type;
|
typedef tmat3x4<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR length_t cols = 3;
|
static GLM_CONSTEXPR length_t cols = 3;
|
||||||
|
@ -49,7 +49,7 @@ namespace glm
|
|||||||
typedef tmat4x4<T, P> transpose_type;
|
typedef tmat4x4<T, P> transpose_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR length_t cols = 4;
|
static GLM_CONSTEXPR length_t cols = 4;
|
||||||
|
@ -55,13 +55,13 @@ namespace glm
|
|||||||
typedef tvec1<bool, P> bool_type;
|
typedef tvec1<bool, P> bool_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 1;
|
static GLM_CONSTEXPR length_t components = 1;
|
||||||
static GLM_CONSTEXPR precision precision = P;
|
static GLM_CONSTEXPR precision precision = P;
|
||||||
# else
|
# else
|
||||||
static const length_t components = 1;
|
static const length_t components = 1;
|
||||||
static const precision precision = P;
|
static const precision prec = P;
|
||||||
# endif
|
# endif
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ namespace glm
|
|||||||
typedef tvec2<bool, P> bool_type;
|
typedef tvec2<bool, P> bool_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 2;
|
static GLM_CONSTEXPR length_t components = 2;
|
||||||
static GLM_CONSTEXPR precision prec = P;
|
static GLM_CONSTEXPR precision prec = P;
|
||||||
|
@ -55,7 +55,7 @@ namespace glm
|
|||||||
typedef tvec3<bool, P> bool_type;
|
typedef tvec3<bool, P> bool_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 3;
|
static GLM_CONSTEXPR length_t components = 3;
|
||||||
static GLM_CONSTEXPR precision prec = P;
|
static GLM_CONSTEXPR precision prec = P;
|
||||||
|
@ -109,7 +109,7 @@ namespace detail
|
|||||||
typedef tvec4<bool, P> bool_type;
|
typedef tvec4<bool, P> bool_type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR precision prec = P;
|
static GLM_CONSTEXPR precision prec = P;
|
||||||
|
@ -65,7 +65,7 @@ namespace glm
|
|||||||
typedef tquat<T, P> type;
|
typedef tquat<T, P> type;
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR precision prec = P;
|
static GLM_CONSTEXPR precision prec = P;
|
||||||
|
@ -64,7 +64,7 @@ namespace glm
|
|||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
typedef glm::tquat<T, P> part_type;
|
typedef glm::tquat<T, P> part_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 8;
|
static GLM_CONSTEXPR length_t components = 8;
|
||||||
static GLM_CONSTEXPR precision prec = P;
|
static GLM_CONSTEXPR precision prec = P;
|
||||||
|
@ -71,7 +71,7 @@ namespace detail
|
|||||||
typedef fmat4x4SIMD type;
|
typedef fmat4x4SIMD type;
|
||||||
typedef fmat4x4SIMD transpose_type;
|
typedef fmat4x4SIMD transpose_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR length_t cols = 4;
|
static GLM_CONSTEXPR length_t cols = 4;
|
||||||
|
@ -76,7 +76,7 @@ namespace detail
|
|||||||
typedef fquatSIMD type;
|
typedef fquatSIMD type;
|
||||||
typedef tquat<bool, defaultp> bool_type;
|
typedef tquat<bool, defaultp> bool_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR precision prec = defaultp;
|
static GLM_CONSTEXPR precision prec = defaultp;
|
||||||
|
@ -99,7 +99,7 @@ namespace detail
|
|||||||
typedef fvec4SIMD type;
|
typedef fvec4SIMD type;
|
||||||
typedef tvec4<bool, highp> bool_type;
|
typedef tvec4<bool, highp> bool_type;
|
||||||
|
|
||||||
# if GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 4;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR precision prec = defaultp;
|
static GLM_CONSTEXPR precision prec = defaultp;
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define GLM_META_PROG_HELPERS
|
||||||
#define GLM_SWIZZLE
|
#define GLM_SWIZZLE
|
||||||
#include <glm/vector_relational.hpp>
|
#include <glm/vector_relational.hpp>
|
||||||
#include <glm/vec2.hpp>
|
#include <glm/vec2.hpp>
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define GLM_META_PROG_HELPERS
|
||||||
#define GLM_SWIZZLE
|
#define GLM_SWIZZLE
|
||||||
#include <glm/vector_relational.hpp>
|
#include <glm/vector_relational.hpp>
|
||||||
#include <glm/geometric.hpp>
|
#include <glm/geometric.hpp>
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
//#define GLM_FORCE_AVX2
|
//#define GLM_FORCE_AVX2
|
||||||
|
#define GLM_META_PROG_HELPERS
|
||||||
#define GLM_SWIZZLE
|
#define GLM_SWIZZLE
|
||||||
#include <glm/vector_relational.hpp>
|
#include <glm/vector_relational.hpp>
|
||||||
#include <glm/vec2.hpp>
|
#include <glm/vec2.hpp>
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define GLM_META_PROG_HELPERS
|
||||||
#include <glm/gtc/quaternion.hpp>
|
#include <glm/gtc/quaternion.hpp>
|
||||||
#include <glm/gtc/epsilon.hpp>
|
#include <glm/gtc/epsilon.hpp>
|
||||||
#include <glm/vector_relational.hpp>
|
#include <glm/vector_relational.hpp>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user