mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed Syntax error when compiling with GLM_FORCE_CTOR_INIT and GLM_ENABLE_EXPERIMENTAL #753
This commit is contained in:
parent
b5632f5a18
commit
798ab30b9d
@ -28,8 +28,8 @@ namespace glm
|
|||||||
template<typename T, qualifier Q>
|
template<typename T, qualifier Q>
|
||||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, Q>::tdualquat()
|
GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, Q>::tdualquat()
|
||||||
# ifdef GLM_FORCE_CTOR_INIT
|
# ifdef GLM_FORCE_CTOR_INIT
|
||||||
: real(tquat<T, P>())
|
: real(tquat<T, Q>())
|
||||||
, dual(tquat<T, P>(0, 0, 0, 0))
|
, dual(tquat<T, Q>(0, 0, 0, 0))
|
||||||
# endif
|
# endif
|
||||||
{}
|
{}
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#define GLM_ENABLE_EXPERIMENTAL
|
#define GLM_ENABLE_EXPERIMENTAL
|
||||||
|
#define GLM_FORCE_CTOR_INIT
|
||||||
#include <glm/gtx/dual_quaternion.hpp>
|
#include <glm/gtx/dual_quaternion.hpp>
|
||||||
#include <glm/gtc/matrix_transform.hpp>
|
#include <glm/gtc/matrix_transform.hpp>
|
||||||
#include <glm/gtc/epsilon.hpp>
|
#include <glm/gtc/epsilon.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user