diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:51:33 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:51:34 +0100 |
commit | 6f67371bb1b46579ae837d0e0c61ac1b291be743 (patch) | |
tree | 5a43692a064d84e5c5688b1b3639342555139c3c /external/include/glm/detail/glm.cpp | |
parent | Backported to C++14 (diff) | |
download | AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.tar AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.tar.gz AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.tar.bz2 AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.tar.lz AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.tar.xz AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.tar.zst AltCraft-6f67371bb1b46579ae837d0e0c61ac1b291be743.zip |
Diffstat (limited to 'external/include/glm/detail/glm.cpp')
-rw-r--r-- | external/include/glm/detail/glm.cpp | 257 |
1 files changed, 257 insertions, 0 deletions
diff --git a/external/include/glm/detail/glm.cpp b/external/include/glm/detail/glm.cpp new file mode 100644 index 0000000..da3be4e --- /dev/null +++ b/external/include/glm/detail/glm.cpp @@ -0,0 +1,257 @@ +/// @ref core +/// @file glm/glm.cpp + +#include <glm/glm.hpp> +#include <glm/gtc/quaternion.hpp> +#include <glm/gtx/dual_quaternion.hpp> + +namespace glm +{ +// tvec1 type explicit instantiation +template struct tvec1<uint8, lowp>; +template struct tvec1<uint16, lowp>; +template struct tvec1<uint32, lowp>; +template struct tvec1<uint64, lowp>; +template struct tvec1<int8, lowp>; +template struct tvec1<int16, lowp>; +template struct tvec1<int32, lowp>; +template struct tvec1<int64, lowp>; +template struct tvec1<float32, lowp>; +template struct tvec1<float64, lowp>; + +template struct tvec1<uint8, mediump>; +template struct tvec1<uint16, mediump>; +template struct tvec1<uint32, mediump>; +template struct tvec1<uint64, mediump>; +template struct tvec1<int8, mediump>; +template struct tvec1<int16, mediump>; +template struct tvec1<int32, mediump>; +template struct tvec1<int64, mediump>; +template struct tvec1<float32, mediump>; +template struct tvec1<float64, mediump>; + +template struct tvec1<uint8, highp>; +template struct tvec1<uint16, highp>; +template struct tvec1<uint32, highp>; +template struct tvec1<uint64, highp>; +template struct tvec1<int8, highp>; +template struct tvec1<int16, highp>; +template struct tvec1<int32, highp>; +template struct tvec1<int64, highp>; +template struct tvec1<float32, highp>; +template struct tvec1<float64, highp>; + +// tvec2 type explicit instantiation +template struct tvec2<uint8, lowp>; +template struct tvec2<uint16, lowp>; +template struct tvec2<uint32, lowp>; +template struct tvec2<uint64, lowp>; +template struct tvec2<int8, lowp>; +template struct tvec2<int16, lowp>; +template struct tvec2<int32, lowp>; +template struct tvec2<int64, lowp>; +template struct tvec2<float32, lowp>; +template struct tvec2<float64, lowp>; + +template struct tvec2<uint8, mediump>; +template struct tvec2<uint16, mediump>; +template struct tvec2<uint32, mediump>; +template struct tvec2<uint64, mediump>; +template struct tvec2<int8, mediump>; +template struct tvec2<int16, mediump>; +template struct tvec2<int32, mediump>; +template struct tvec2<int64, mediump>; +template struct tvec2<float32, mediump>; +template struct tvec2<float64, mediump>; + +template struct tvec2<uint8, highp>; +template struct tvec2<uint16, highp>; +template struct tvec2<uint32, highp>; +template struct tvec2<uint64, highp>; +template struct tvec2<int8, highp>; +template struct tvec2<int16, highp>; +template struct tvec2<int32, highp>; +template struct tvec2<int64, highp>; +template struct tvec2<float32, highp>; +template struct tvec2<float64, highp>; + +// tvec3 type explicit instantiation +template struct tvec3<uint8, lowp>; +template struct tvec3<uint16, lowp>; +template struct tvec3<uint32, lowp>; +template struct tvec3<uint64, lowp>; +template struct tvec3<int8, lowp>; +template struct tvec3<int16, lowp>; +template struct tvec3<int32, lowp>; +template struct tvec3<int64, lowp>; +template struct tvec3<float32, lowp>; +template struct tvec3<float64, lowp>; + +template struct tvec3<uint8, mediump>; +template struct tvec3<uint16, mediump>; +template struct tvec3<uint32, mediump>; +template struct tvec3<uint64, mediump>; +template struct tvec3<int8, mediump>; +template struct tvec3<int16, mediump>; +template struct tvec3<int32, mediump>; +template struct tvec3<int64, mediump>; +template struct tvec3<float32, mediump>; +template struct tvec3<float64, mediump>; + +template struct tvec3<uint8, highp>; +template struct tvec3<uint16, highp>; +template struct tvec3<uint32, highp>; +template struct tvec3<uint64, highp>; +template struct tvec3<int8, highp>; +template struct tvec3<int16, highp>; +template struct tvec3<int32, highp>; +template struct tvec3<int64, highp>; +template struct tvec3<float32, highp>; +template struct tvec3<float64, highp>; + +// tvec4 type explicit instantiation +template struct tvec4<uint8, lowp>; +template struct tvec4<uint16, lowp>; +template struct tvec4<uint32, lowp>; +template struct tvec4<uint64, lowp>; +template struct tvec4<int8, lowp>; +template struct tvec4<int16, lowp>; +template struct tvec4<int32, lowp>; +template struct tvec4<int64, lowp>; +template struct tvec4<float32, lowp>; +template struct tvec4<float64, lowp>; + +template struct tvec4<uint8, mediump>; +template struct tvec4<uint16, mediump>; +template struct tvec4<uint32, mediump>; +template struct tvec4<uint64, mediump>; +template struct tvec4<int8, mediump>; +template struct tvec4<int16, mediump>; +template struct tvec4<int32, mediump>; +template struct tvec4<int64, mediump>; +template struct tvec4<float32, mediump>; +template struct tvec4<float64, mediump>; + +template struct tvec4<uint8, highp>; +template struct tvec4<uint16, highp>; +template struct tvec4<uint32, highp>; +template struct tvec4<uint64, highp>; +template struct tvec4<int8, highp>; +template struct tvec4<int16, highp>; +template struct tvec4<int32, highp>; +template struct tvec4<int64, highp>; +template struct tvec4<float32, highp>; +template struct tvec4<float64, highp>; + +// tmat2x2 type explicit instantiation +template struct tmat2x2<float32, lowp>; +template struct tmat2x2<float64, lowp>; + +template struct tmat2x2<float32, mediump>; +template struct tmat2x2<float64, mediump>; + +template struct tmat2x2<float32, highp>; +template struct tmat2x2<float64, highp>; + +// tmat2x3 type explicit instantiation +template struct tmat2x3<float32, lowp>; +template struct tmat2x3<float64, lowp>; + +template struct tmat2x3<float32, mediump>; +template struct tmat2x3<float64, mediump>; + +template struct tmat2x3<float32, highp>; +template struct tmat2x3<float64, highp>; + +// tmat2x4 type explicit instantiation +template struct tmat2x4<float32, lowp>; +template struct tmat2x4<float64, lowp>; + +template struct tmat2x4<float32, mediump>; +template struct tmat2x4<float64, mediump>; + +template struct tmat2x4<float32, highp>; +template struct tmat2x4<float64, highp>; + +// tmat3x2 type explicit instantiation +template struct tmat3x2<float32, lowp>; +template struct tmat3x2<float64, lowp>; + +template struct tmat3x2<float32, mediump>; +template struct tmat3x2<float64, mediump>; + +template struct tmat3x2<float32, highp>; +template struct tmat3x2<float64, highp>; + +// tmat3x3 type explicit instantiation +template struct tmat3x3<float32, lowp>; +template struct tmat3x3<float64, lowp>; + +template struct tmat3x3<float32, mediump>; +template struct tmat3x3<float64, mediump>; + +template struct tmat3x3<float32, highp>; +template struct tmat3x3<float64, highp>; + +// tmat3x4 type explicit instantiation +template struct tmat3x4<float32, lowp>; +template struct tmat3x4<float64, lowp>; + +template struct tmat3x4<float32, mediump>; +template struct tmat3x4<float64, mediump>; + +template struct tmat3x4<float32, highp>; +template struct tmat3x4<float64, highp>; + +// tmat4x2 type explicit instantiation +template struct tmat4x2<float32, lowp>; +template struct tmat4x2<float64, lowp>; + +template struct tmat4x2<float32, mediump>; +template struct tmat4x2<float64, mediump>; + +template struct tmat4x2<float32, highp>; +template struct tmat4x2<float64, highp>; + +// tmat4x3 type explicit instantiation +template struct tmat4x3<float32, lowp>; +template struct tmat4x3<float64, lowp>; + +template struct tmat4x3<float32, mediump>; +template struct tmat4x3<float64, mediump>; + +template struct tmat4x3<float32, highp>; +template struct tmat4x3<float64, highp>; + +// tmat4x4 type explicit instantiation +template struct tmat4x4<float32, lowp>; +template struct tmat4x4<float64, lowp>; + +template struct tmat4x4<float32, mediump>; +template struct tmat4x4<float64, mediump>; + +template struct tmat4x4<float32, highp>; +template struct tmat4x4<float64, highp>; + +// tquat type explicit instantiation +template struct tquat<float32, lowp>; +template struct tquat<float64, lowp>; + +template struct tquat<float32, mediump>; +template struct tquat<float64, mediump>; + +template struct tquat<float32, highp>; +template struct tquat<float64, highp>; + +//tdualquat type explicit instantiation +template struct tdualquat<float32, lowp>; +template struct tdualquat<float64, lowp>; + +template struct tdualquat<float32, mediump>; +template struct tdualquat<float64, mediump>; + +template struct tdualquat<float32, highp>; +template struct tdualquat<float64, highp>; + +}//namespace glm + |