jakubtyrcha
318d7f2398
Fixed error C3861: 'Lv': identifier not found
...
This diagnostic occurred in the compiler generated function 'glm::vec<1,T,Q> &glm::vec<1,T,Q>::operator |=(const glm::vec<1,A,Q> &)'
2021-09-18 19:26:01 +01:00
Pavel Korolev
401cc833ef
Various bugfixes for aligned/simd codepaths
2021-08-08 00:43:30 +03:00
René Widera
a1d88cf991
add AMD HIP support
...
Add support for AMD HIP.
2021-08-05 11:54:10 +02:00
xaedes
a8b3401574
Fixed header comment
...
Info how to include this header file contained a wrong path. Changed it to the correct one.
2021-07-27 12:59:03 +02:00
junjie020
5f95999f32
fix frustumLH projection matrix get wrong result when left/right or top/bottom is not symmetries
2021-07-16 11:22:43 +08:00
Christophe
2759ceca04
Merge pull request #1079 from BramblePie/Change_orientedAngle_function
...
Change orientedAngle function #1079
2021-07-15 09:57:29 +02:00
Christophe
f0066a2acf
Merge pull request #1074 from szabolcsdombi/quaternion-constructor-parameters-fix
...
make quaternion constructor respect GLM_FORCE_QUAT_DATA_XYZW
2021-07-15 09:56:22 +02:00
Bram Pieters
90e85225f5
Change orientedAngle function
2021-06-24 15:03:12 +02:00
Mariusz Okulanis
eb23f89db2
fix glm::bounceEaseInOut()
easing formula
2021-06-07 16:39:24 +02:00
Stéphane GINIER
f32eea1345
Fix matrix decompose (wxyz quaternion)
2021-06-01 16:16:16 +02:00
Robert Chisholm
00a195c687
BugFix: CUDA RTC support.
...
Someone noticed that c6dfaed
would also catch GLM_COMPILER_GCC8
2021-05-19 14:15:57 +01:00
Szabolcs Dombi
820a2c0e62
make quaternion constructor respect GLM_FORCE_QUAT_DATA_XYZW
2021-05-17 08:40:22 +03:00
Christophe
dc9e555b4c
Merge pull request #1071 from sgrottel/gtx-pca
...
Implemented 'principle component analysis' utility in gtx #1071
2021-05-15 12:50:27 +02:00
Robert Chisholm
948ac3b825
Add missing statement.
...
Didn't copy this across, good thing CI caught it.
2021-05-14 10:38:02 +01:00
Robert Chisholm
aa7380ae12
Fix lint.
2021-05-13 22:33:49 +01:00
Robert Chisholm
f0f95bd3de
Correctly detect NVRTC and lack of stl support.
2021-05-13 22:13:04 +01:00
SGrottel
a0ccbcc63d
Added further details on the comparison issue with covariance matrices on some VMs.
...
Also corrected some code style guide, and changed `nullptr` to `GLM_NULLPTR` for better compatibility.
Tests are now executed in blocks of related tests, and only inbetween blocks the tests will exit.
2021-05-10 21:32:01 +02:00
SGrottel
0f5b544d5d
Corrected errors on Xcode C++98 pure related to language extensions accidentially used.
2021-05-10 16:38:38 +02:00
SGrottel
b8adc27808
Removed lambdas and initializer list ctors to be compatible with older cpp standards.
2021-05-10 15:45:42 +02:00
SGrottel
dd40903b74
Implemented 'principle component analysis' utility in gtx, including tests
2021-05-10 13:14:29 +02:00
Gaoyang Zhang
59ddeb7d1c
Replace GLM_FORCE_QUAT_DATA_WXYZ with GLM_FORCE_QUAT_DATA_XYZW
...
The default data layout for quat has been changed to w,x,y,z to agree
with order of input parameters for quat's constructor.
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-06 14:12:41 +08:00
Gaoyang Zhang
d573bf099a
Revert "Fix constructor of struct qua to honor macro "GLM_FORCE_QUAT_DATA_WXYZ""
...
This reverts commit f931c4996a
.
2021-05-06 14:12:23 +08:00
Gaoyang Zhang
f6f3596a6b
Revert "Fix construction of identity quaternion"
...
This reverts commit 37842c7400
.
2021-05-06 14:12:22 +08:00
Gaoyang Zhang
37842c7400
Fix construction of identity quaternion
...
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-03 00:31:09 +08:00
Gaoyang Zhang
f931c4996a
Fix constructor of struct qua to honor macro "GLM_FORCE_QUAT_DATA_WXYZ"
...
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-02 23:09:59 +08:00
Christophe
761a842a59
Merge pull request #1062 from tksuoran/fix-cmake
...
Fix CMake FetchContent usage #1062
2021-04-05 13:27:48 +02:00
Christophe
820607ad2b
Merge pull request #1064 from SergeyKrivohatskiy/fix-axisAngle-for-small-angles
...
Fix axis angle implementation for near zero angles and near PI angles #1064
2021-04-05 13:25:56 +02:00
René Widera
59fbd31552
fix clang CUDA compile
...
Fix CUDA compile issue when using clang.
```
glm/gtc/type_ptr.inl:257:22: error: __host__ function 'make_vec4' cannot overload __host__ __device__ function 'make_vec4'
6946 inline vec<4, T, Q> make_vec4(vec<4, T, Q> const& v)
```
2021-03-31 14:13:53 +02:00
Sergey Krivohatskiy
df7b5bda7c
axisAngle epsilon changed to work as expected on small angles
...
also small refactoring
also single epsilon is used
also passes new axisAngle tests now
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
2021-03-23 14:28:36 +03:00
Sergey Krivohatskiy
c9c656ce31
axisAngle refactoring
...
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
2021-03-23 14:27:00 +03:00
Timo Suoranta
1771b1127f
Fix CMake FetchContent usage
2021-03-11 13:20:56 +02:00
Christophe
ace16e4778
Merge pull request #1060 from imgly/fix/simd-vec4-compare
...
Fixed the SIMD (SSE) implementation of compute_vec4_equal for floats #1060
2021-03-08 11:01:35 +01:00
Christophe
9203edd741
Merge pull request #1054 from kiroma/master
...
Create an install and package targets in cmake tree #1054
2021-03-08 10:55:19 +01:00
Christophe
fe9bb21f1f
Merge pull request #1058 from SergeyKrivohatskiy/patch-1
...
Fix in axisAngle implementation #1058
2021-03-07 09:37:42 +01:00
Christophe
bbedf96c16
Revert "Fix quaternion orientation in glm::decompose
"
2021-03-06 17:12:03 +01:00
Keiwan Donyagard
a6fcdd0cbc
Fixed the SIMD implementation of compute_vec4_equal for floats
2021-02-24 10:51:20 +01:00
Sergey Krivohatskiy
acab24129d
Fixed axisAngle implementation
...
`acos` domain is in range [-1.0, 1.0]. Due to inaccuracies the value `angleCos` may be slightly outside that range for a correct matrix and `acos(angleCos)` produces `NaN` in that case.
The fix is we check `angleCos` value and return `acos(1)` for `angleCos > 1` and `acos(-1)` for `angleCos < -1`.
The original code checked only for `angleCos` close to `1.0` and returned an incorrect value for `acos(1)`, which is `0`, not `pi/4`.
2021-02-20 20:16:31 +03:00
Nick Dumas
2fc22e3f3e
Fix squered typo
...
Squered -> Squared
2021-02-16 09:56:30 +08:00
nowakowsk
6437133cd2
fix: add missing transposition to adjugate for mat2 and mat4
2021-02-14 12:14:59 +01:00
Krzysztof Kurek
3a4b55020e
Make sure installed glm::glm has the includes
2021-01-31 14:50:00 +01:00
Krzysztof Kurek
e936ed35ea
Resolve issues with CMake versions 3.13 and earlier
2021-01-30 23:59:37 +01:00
Krzysztof Kurek
631faffab3
Export targets from top-level CMake file
...
With some slight reordering of the code
2021-01-30 23:35:37 +01:00
Krzysztof Kurek
6059c5767b
Export the GLM target
2021-01-30 21:08:48 +01:00
Gottfried Leibniz
00c4720305
fix: isIdentity for non-symmetric matrices
2020-12-06 11:26:14 -04:00
Christophe
24a4befe80
Fix build
2020-12-01 08:57:06 +01:00
Christophe
561fbbd94c
Added *GLM_EXT_matrix_integer* with tests
2020-11-30 18:10:55 +01:00
Christophe
23dcea8995
Fix warnings
2020-11-24 12:00:31 +01:00
Christophe
2a8664fe50
Added and to *GLM_EXT_scalar_common* and *GLM_EXT_vector_common*
2020-11-23 17:02:32 +01:00
Christophe
2593c9c8b3
Added GLM_EXT_scalar_reciprocal and GLM_EXT_vector_reciprocal with tests
2020-11-23 15:33:36 +01:00
Christophe
1cf91a1009
Merge pull request #1012 from bosmacs/master
...
Fix quaternion orientation in `glm::decompose` #1012
2020-11-21 22:27:46 +01:00
Christophe
b033c73b42
Merge pull request #1019 from dscharrer/master
...
Fix singularity in quaternion to euler angle roll conversion #1019
2020-11-21 22:19:21 +01:00
Christophe
e8f2e98050
Merge pull request #1027 from amaury-ml/ctor_init
...
Change the logic of defaulted constructors #1027
2020-11-21 22:16:46 +01:00
Christophe
f52f232f59
Merge pull request #1038 from EZForever/patch-angle
...
fix: glm::angle() discards the sign of result for angles in range (2*pi-1, 2*pi) #1038
2020-11-21 22:06:08 +01:00
Christophe
4ae59db254
Merge pull request #1041 from lpisha/master
...
Remove ban on using string_cast with CUDA host code #1041
2020-11-21 21:59:09 +01:00
lpisha
051781e265
Remove ban on using string_cast with CUDA host code
...
string_cast.hpp merely detects whether the current compiler is NVCC (originally based on `if defined(__CUDACC__)` in glm/simd/platform.h) and throws an error if it is. This means string_cast.hpp cannot be included in any header which might ever be used in a CUDA project.
Of course, glm::to_string can't be used in device (GPU) code. However, the current approach to stop this is both incorrect and unnecessary. __CUDACC__ will be defined in both host and device code compilation, and glm::to_string can obviously be used in host code. The correct define is __CUDA_ARCH__ (will be defined only if compiling device code). However, there's no problem if glm::to_string is defined (the header is included) while compiling device code, as long as it's not actually used in the device code. So, throwing an error if __CUDA_ARCH__ is defined would still prevent string_cast.hpp from being included in CUDA projects.
There's actually no need for any manual check to see if glm::to_string is being used in device code, because the compiler will already check for that. It returns a std::string, which itself can't be used in device code, so it's unlikely a developer would try. And if they did, there would be errors that both glm::to_string and all the needed std::string constructors, stream operators, etc. are host-only functions.
2020-11-18 11:09:53 -08:00
RohacekD
ae6fa0872f
Adding constexpr qualifier for cross product
2020-11-17 16:58:12 +01:00
RohacekD
6ce6cd9e26
Adding constexpr qualifier for dot product
2020-11-16 20:04:06 +01:00
Christophe
596577f200
Merge pull request #1035 from koladonia/adjugate-fix
...
Fixed calculation of m02 minor for mat4x4 adjugate #1035
2020-11-09 18:10:54 +01:00
Christophe
2c36db9cf7
Merge pull request #1033 from gottfriedleibniz/patch-fastnormalize
...
fix: fastNormalize ambiguity #1033
2020-11-09 18:06:07 +01:00
Christophe
f6574ccf71
Merge pull request #1034 from gottfriedleibniz/patch-ismultiple
...
fix: isMultiple #1034
2020-11-09 17:56:22 +01:00
Christophe
9e1b2dd8bf
Merge pull request #1029 from gottfriedleibniz/patch-quat
...
fix: missing type_quat header #1029
2020-11-09 17:54:46 +01:00
Christophe
59ae1dd57a
Merge pull request #1030 from gottfriedleibniz/patch-types
...
fix: spurious floats #1030
2020-11-09 17:53:59 +01:00
Christophe
cc34bc7d49
Merge pull request #1032 from gottfriedleibniz/patch-scalebias
...
fix: scalebias #1032
2020-11-09 17:52:56 +01:00
Christophe
0fe622b020
Merge pull request #1028 from gottfriedleibniz/patch-axisangle
...
fix: matrix axisAngle #1028
2020-11-09 17:51:53 +01:00
EZForever
f109b9185f
Make CI happy
2020-10-29 14:02:04 +08:00
EZForever
a66b782134
fix: glm::angle() discards the sign of result for angles in range (2*pi-1, 2*pi)
2020-10-29 13:50:31 +08:00
Zuzu-Typ
b7f209b18d
Fixed unpackUnorm
...
Should use the same float type as defined in the template.
2020-10-04 14:40:02 +02:00
koladonia
5b23dcab71
Fixed calculation of m02 minor for mat4x4 adjugate
2020-09-30 03:29:31 +03:00
Gottfried Leibniz
ce3650f0f2
fix: isMultiple
...
Function declaration has it returning ``vec<L, bool, Q>``, however, the
function uses the equality operator (which only returns a bool). Usage of the
function will generate "no viable conversion ..." compilation errors.
2020-09-25 10:58:35 -03:00
Gottfried Leibniz
c00f046c85
fix: fastNormalize ambiguity
...
Declarations in fast_square_root.hpp do not match qualifiers
fast_square_root.inl; will generate: "call to 'fastNormalize' is ambiguous"
errors.
2020-09-24 11:27:06 -03:00
Gottfried Leibniz
593415108d
fix: scalebias
...
template glm::qualifier 'Q' cannot be inferred; compiler will ignore it.
2020-09-23 22:56:48 -03:00
Gottfried Leibniz
ebf4e9eaa2
fix: unpackUnorm type
2020-09-22 00:40:47 -03:00
Gottfried Leibniz
96558e896b
fix: intersectLineTriangle types
2020-09-22 00:37:56 -03:00
Gottfried Leibniz
c18ec93b0e
fix: orientate3 types
2020-09-22 00:36:43 -03:00
Gottfried Leibniz
93e573f7b1
fix: axisAngle
...
invalid epsilon comparison
2020-09-22 00:35:07 -03:00
Gottfried Leibniz
d9124820ed
fix: fastExp promotion
...
implicit conversion increases floating-point precision: 'float' to 'double'
2020-09-22 00:29:59 -03:00
Gottfried Leibniz
ebfcde733a
fix: missing type_quat header
...
Fixes: no matching function for call to 'inverse'
2020-09-22 00:27:32 -03:00
Amaury Le Leyzour
b43fa52360
Change the logic of defaulted constructors
...
Defaulted functions should not impact the constructor if the user
requests GLM_FORCE_CTOR_INIT.
2020-09-02 11:45:30 -07:00
Christophe
b3f8772026
Merge pull request #1022 from qsantos/fix-small-angle-quaternion-zero-test
...
Fix handling of small magnitude quaternions #1022
2020-08-30 14:56:02 +02:00
Christophe
45271404e6
Merge pull request #1026 from manylegged/master
...
make GLM_CONFIG_XYZW_ONLY work with GLM_SWIZZLE_FUNCTION #1026
2020-08-30 14:54:30 +02:00
Arthur Danskin
2eeb2662a6
spaces->tabs
2020-08-08 17:36:34 -04:00
Arthur Danskin
9627450ef8
allow force_xyzw to work with function swizzleing
2020-08-08 17:29:51 -04:00
Bjorn Wahlstrand
6fdeff4d67
Fixed compiler warnings
...
g++-10.1.0/c++20:
'error: compound assignment with ‘volatile’-qualified left operand is deprecated [-Werror=volatile]'
2020-08-05 15:15:57 -07:00
Quentin Santos
d6d272e9a0
Fix handling of small magnitude quaternions
...
The special case handling in glm::qua::pow is specifically intended for
the case when the magnitude is null. Even for magnitudes smaller than
epsilon, the common formula should be used. Because comparing a
floating-point value by equality triggers a warning through the
-Weveverything setting of clang, it must be selectively disabled for the
condition.
2020-07-28 19:22:10 +02:00
Christophe
6c97378695
Merge pull request #1011 from Bargor/master
...
Fixed warning when compiling with MSVS in SIMD mode #1011
2020-07-09 10:40:55 +02:00
Christophe
1e0ad71ec7
Merge pull request #1014 from serkan3k/patch-1
...
Fixed typo in documentation #1014
2020-07-09 10:34:45 +02:00
Christophe
949028f675
Merge pull request #1016 from brunotl/master
...
neon : fix "unused function" warning #1016
2020-07-09 10:33:29 +02:00
Arthur Danskin
3b3db0fc5a
make GLM_CONFIG_XYZW_ONLY work with GLM_SWIZZLE_FUNCTION
2020-06-29 01:54:26 -04:00
Andras Kucsma
82e5f32f04
Support clang in C++1z mode
...
Certain older clang versions signal C++1z mode by defining
__cplusplus as 201406L. Support this as if it were C++14.
https://github.com/llvm/llvm-project/blob/llvmorg-3.6.2/clang/lib/Frontend/InitPreprocessor.cpp#L374
2020-06-25 15:06:19 +02:00
Daniel Scharrer
dfdeb9b284
Fix singularity in quaternion to euler angle roll conversion
2020-06-24 23:32:48 +02:00
Bruno de Lacheisserie
a584c01fb5
neon : fix "unused function" warning
...
static function in header file must have explicit inline specifier.
2020-06-07 12:09:55 +02:00
serkan3k
1f4ef63d00
Fixed typo in documentation
...
A typo in acos function description is changed.
2020-05-19 22:19:11 +03:00
Craig Bosma
f8bf087caa
Fix quaternion orientation in glm::decompose
2020-05-11 14:33:51 -05:00
Karol Kontny
e9ab34e0f0
Fixed warning when compiling with MSVS in SIMD mode
2020-05-11 15:26:46 +02:00
christophe
23e0701c04
Updated readme and GLM version
2020-05-02 19:00:56 +02:00
christophe
a44e293c40
Reading GLM version in CMake using REGEX on GLM header
2020-05-02 18:32:19 +02:00
Zuzu-Typ
b39c3550af
Fixed assertion (min, max)
2020-04-23 11:07:14 +02:00
christophe
b4c5bb6c1a
Fixed singularity check for quatLookAt #770
2020-04-12 18:32:33 +02:00
christophe
8aa60bbeff
Tentative fix of Clang warnings
2020-04-12 16:33:44 +02:00
christophe
bf44be3105
Fixed invalid line
2020-04-12 16:04:40 +02:00
Christophe Riccio
f4c6667347
Fixed unnecessary warnings from matrix_projection.inl #995
2020-03-05 23:46:36 +01:00
Christophe Riccio
2a65978348
Merge branch 'master' of https://github.com/g-truc/glm into matrix-int
2020-03-05 18:52:28 +01:00
Kontny Karol
31d01b525e
Quaternion slerp overload which interpolates with extra spins
...
Signed-off-by: Karol Kontny <barolek@gmail.com>
2020-02-28 00:01:52 +01:00
Christophe Riccio
a4bf8867c2
Added clamp, repeat, mirrorClamp and mirrorRepeat function to GLM_EXT_scalar_commond and GLM_EXT_vector_commond extensions with tests
2020-02-11 12:53:12 +01:00
Christophe Riccio
e8d758f746
Added integer matrix extensions and fixed build
2020-02-11 11:44:52 +01:00
Christophe Riccio
0d9abe3725
Added missing EXT extensions
2020-02-10 21:44:31 +01:00
Christophe Riccio
c4fd0b3aa3
Clean up integer matrix
2020-02-10 20:22:47 +01:00
Christophe Riccio
9e7a486c0e
Added matrix integer extensions and tests
2020-02-10 19:06:30 +01:00
Christophe Riccio
684817db46
Clean up integer precision
2020-02-08 16:21:22 +01:00
Christophe Riccio
79d78bbdde
Work on integer matrix
2020-02-07 17:45:02 +01:00
Christophe Riccio
6bd53cc9e5
Added files for EXT packing extensions
2020-02-07 15:20:42 +01:00
Christophe Riccio
65c8ff2bd6
Merge branch 'master' of https://github.com/g-truc/glm
2020-02-07 15:19:33 +01:00
Christophe Riccio
00ef7042df
Removed duplicated vector
2020-02-07 15:19:14 +01:00
Christophe
6d8b4a11bf
Merge pull request #989 from dorodnic/doc_fix
...
Fixing output order in the documentation of glm::polar #989
2020-02-07 14:58:50 +01:00
Christophe
82d500376e
Merge pull request #992 from amaury-ml/compfix
...
[Aarch64] fix for glm::length #992
2020-02-07 14:57:13 +01:00
Amaury Le Leyzour
16a650ea65
[Aarch64] fix for glm::length
2020-02-05 17:48:31 -08:00
Christophe Riccio
8e58cdbbf8
- Added GLM_EXT_vector_intX_sized and GLM_EXT_vector_uintX_sized extensions
2020-02-04 17:11:07 +01:00
dorodnic
56c2cadc4a
Fixing output order in the documentation of glm::polar
2020-01-06 22:21:02 +02:00
Christophe Riccio
13724cfae6
Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests
2020-01-05 21:19:37 +01:00
Christophe Riccio
d92ac09ce2
Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests
2020-01-05 21:05:29 +01:00
Christophe Riccio
8381f8e71e
Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests
2020-01-05 21:02:56 +01:00
Christophe Riccio
85e491b30c
Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests
2020-01-05 20:41:51 +01:00
Christophe Riccio
638eb14fcd
- Added GLM_FORCE_QUAT_DATA_WXYZ to store quat data as w,x,y,z instead of x,y,z,w #983
2020-01-05 15:51:05 +01:00
Christophe Riccio
af6f1d7b8f
Fixed EXT_matrix_clip_space perspectiveFov
2020-01-05 15:26:50 +01:00
Khem Raj
d2b9bbb911
Fix Wimplicit-int-float-conversion warnings with clang 10+
...
This is a new warning in clang which will be available in clang 10
onwards
Fixes
error: implicit conversion from 'const int' to 'float' may lose precision [-Werror,-Wimplicit-int-float-conversion]
2019-12-27 18:44:52 -08:00
Christophe
8828c3f1fd
Fixed GLM_EXT_matrix_clip_space warnings #980
2019-12-09 14:21:08 +01:00
Amaury Le Leyzour
9da0c80e26
Yet another fix as this is no longer covered by unit tests
2019-11-21 13:03:22 -08:00
Amaury Le Leyzour
c7dbbee6a1
Fix typo
2019-11-20 09:05:39 -08:00
Amaury Le Leyzour
923f7222d1
Fix Neon issues
2019-11-19 18:26:16 -08:00
Amaury Le Leyzour
9ce038104c
Fixing minor compiler issue
2019-11-19 17:30:57 -08:00
Amaury Le Leyzour
77d797bd54
respect project's coding style
2019-11-12 15:49:26 -08:00
Amaury Le Leyzour
a2403634da
glm-aarch64: Add neon's mat4 inverse
2019-11-12 15:41:53 -08:00
Christophe Riccio
3da0e18de7
Added missing quat constexpr #955
2019-11-06 15:03:32 +01:00
Christophe Riccio
95b1cdbbfe
Added fma implementation based on std::fma #969
2019-11-06 10:57:35 +01:00
Christophe Riccio
9caadbdf86
Added CMake GLM interface #963
2019-11-02 16:47:21 +01:00
Christophe Riccio
919e72f5dd
Fixed equal ULP variation when using negative sign #965
2019-11-02 12:46:15 +01:00
Christophe
46670b794b
Merge pull request #963 from kiroma/master
...
Re-add the glm interface library in cmake #963
2019-11-02 11:27:28 +01:00
Christophe
c11944cf02
Merge pull request #950 from amaury-ml/neon-func
...
More simd/Neon functions #950
2019-11-02 11:17:26 +01:00
Krzysztof Kurek
e791090589
Re-add the glm interface library in cmake
...
Also re-work the main cmakelists to make the project more easily embeddable
2019-10-15 14:49:30 +02:00
Amaury Le Leyzour
8a173352e4
More simd/Neon functions
2019-09-18 09:47:57 -07:00
Amaury Le Leyzour
88a7aee27b
More simd/Neon functions
2019-09-17 16:16:38 -07:00
Stefan Maass
e7d51a3838
bugfix intersection ray/plane, added related tests
2019-09-14 23:38:44 +02:00
Amaury Le Leyzour
9b0a0535ce
Fixing GLM_MODEL for Windows compilers targeting ARM
2019-09-10 11:28:50 -07:00
Amaury Le Leyzour
e508cc604f
More simd/Neon functions
2019-09-10 10:55:59 -07:00
Amaury Le Leyzour
c35bc3d576
Fix Arm 64bit detection
...
__aarch64__ is the correct way, __arm64__ is for iOS.
But the memory model does not need any of these architecture defines to be fully
relevant. __LP64__ means Long Pointer 64 (ie 64bits), and __ILP32__ is Integer Long Pointer 32 (ie 32bits).
That's enough and avoids errors like __arch64__ (correct way is __aarch64__) but forgets __arm64__ (iOS).
2019-09-10 10:44:45 -07:00
Christophe
5868657413
Merge pull request #946 from qsantos/patch-1
...
Fix loss of precision on small angles in qua's pow #946
2019-09-09 12:31:24 +02:00
Quentin Santos
3a41107d10
Fix precision loss on small angles in qua's angle
2019-09-08 18:31:50 +02:00
Quentin Santos
c597094980
Fix precision loss on small angles in qua's pow
2019-09-08 18:31:50 +02:00
Christophe Riccio
4db8f89aac
Fixed quaternion array access #942
2019-09-08 15:58:42 +02:00
Christophe Riccio
73df95205f
Fixed doxygen doc
2019-09-07 17:39:53 +02:00