Commit Graph

2151 Commits

Author SHA1 Message Date
zhumeng1989
88ee302567 Minor fix
1. type_vec4.hpp
__declspec(align(16)) produces a compiler error on VS2012:
func_common.inl(634): error C2719: 'a': formal parameter with
__declspec(align('16')) won't be aligned
core_func_common.cpp(310) : see reference to function template
instantiation 'glm::detail::tvec4<T,P> glm::mix<float,highp>(const
glm::detail::tvec4<T,P> &,const glm::detail::tvec4<T,P>
&,glm::detail::tvec4<bool,highp>)' being compiled
with
[
T=float,
P=highp
]
and a warning on CygWin using gcc 4.7.2:
type_vec4.hpp:40:31: warning: 'align' attribute directive ignored
[-Wattributes]

2. gtx_bit.cpp
glm::uint32 x_max = 1 << 13;
glm::uint32 y_max = 1 << 12;
result out of memory on my machine.
2013-06-10 22:23:22 +08:00
Christophe Riccio
5b7154468c Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-06-06 21:46:26 +00:00
Christophe Riccio
c1e150e6ec Added assets in perspective 2013-06-06 00:47:36 +00:00
Christophe Riccio
891d552d45 Merge pull request #87 from nikodil/0.9.5
Fixed operator*(mat4x4, vec4)
2013-06-05 15:20:25 -07:00
Felix Ungman
065d9848f7 Fixed operator*(mat4x4, vec4)
Calculate Add0, Add1, and Add2 using operator+ (instead of *)
2013-06-03 12:58:44 +02:00
Christophe Riccio
74d1f84e32 Fixed merge 2013-05-28 03:50:41 +02:00
Christophe Riccio
bbf9989334 Fixed test crash due to the normalization of a nan vector 2013-05-28 03:48:41 +02:00
Christophe Riccio
f4f7a71964 Back ported resolution for issue #71 for znear == 0 bug into branch 0.9.4 2013-05-28 03:47:26 +02:00
Christophe Riccio
11cf1126a9 Fixed merge 2013-05-28 03:14:17 +02:00
Christophe Riccio
e5df5fb0b3 Updated GLM 0.9.4.4 release note 2013-05-28 02:17:27 +02:00
Christophe Riccio
149df8e3db Added assert on input values for glm::perspective 2013-05-27 18:29:04 +00:00
Christophe Riccio
cf41c03c94 Fixed merge 2013-05-27 14:54:02 +00:00
Christophe Riccio
38f2d35f4a Merge pull request #86 from tszirr/0.9.4
0.9.4: Lots of CUDA warnings & swizzle fixes
2013-05-27 06:28:02 -07:00
tszirr
216ad4c34d Add more missing GLM_FUNC_QUALIFIERs 2013-05-27 15:07:22 +02:00
tszirr
e166850954 Fix missing return statement in swizzle assignment operator 2013-05-27 14:59:16 +02:00
tszirr
eb4cd987f1 Added missing GLM_FUNC_DECL specifiers 2013-05-27 14:55:08 +02:00
tszirr
fa77d41ab9 Fix broken _GLM_SWIZZLE4_4_MEMBERS 2013-05-27 14:34:41 +02:00
Christophe Riccio
129efd75a9 Back ported extended swizzle fix for issue #84 2013-05-26 09:59:39 +00:00
Christophe Riccio
edc5365189 Added more missing swizzle operators. #84 2013-05-26 09:57:04 +00:00
Christophe Riccio
1ac4dd648a Merge branch 'master' into 0.9.4 2013-05-26 09:37:46 +00:00
Christophe Riccio
959de31cfc Merge pull request #84 from meejah/master
Missing xwww swizzle
2013-05-22 15:44:37 -07:00
meejah
3352b45222 Add a missing swizzle, for .xwww 2013-05-22 10:45:30 -06:00
Christophe Riccio
056e053b3f Fixed merge 2013-05-16 14:36:51 +00:00
Christophe Riccio
b95a53095b Added assert in inversesqrt to detect division by zero. #61 2013-05-16 14:36:04 +00:00
Christophe Riccio
8ec6166072 Merge branch '0.9.4' into 0.9.5 2013-05-16 13:50:26 +00:00
Christophe Riccio
bc9aaa4033 Fixed glm.natvis, issue #82 2013-05-16 13:49:54 +00:00
Christophe Riccio
ef15d06104 Updated doxygen references 2013-05-12 15:51:11 +02:00
Christophe Riccio
0a54eb99b1 Fixed compatibility type, using precision qualifier 2013-05-12 15:50:49 +02:00
Christophe Riccio
01a98e97c1 Fixed perspective with zNear == 0 (#71) 2013-05-12 15:36:29 +02:00
Christophe Riccio
1c68cee29b Clean up code test for branch compatibility on all platforms 2013-05-12 11:40:25 +02:00
Christophe Riccio
9841d2a2b4 Removed SSE tests 2013-05-11 22:40:02 +02:00
Christophe Riccio
929b521381 Added embedded SSE opetimizations in mat4 code 2013-05-11 00:08:55 +02:00
Christophe Riccio
66e3e52592 Fixed increment and decrement operators for matrix types 2013-05-10 23:08:30 +02:00
Christophe Riccio
95e72aa545 Added asserts to GTC_matrix_access 2013-05-10 22:00:53 +02:00
Christophe Riccio
6487ed1c34 Added assert to row and column functions 2013-05-10 21:52:23 +02:00
Christophe Riccio
1b3d5cd378 Fixed space characters 2013-05-10 21:37:20 +02:00
Christophe Riccio
a2583caa0f Added vector type operator declarations 2013-05-10 14:03:54 +02:00
Christophe Riccio
a319cff426 Removed scalar functions 2013-05-10 12:36:10 +02:00
Christophe Riccio
ebd38a0a78 Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-05-10 11:28:22 +02:00
Christophe Riccio
9556540244 Fixed documents 2013-05-10 11:28:08 +02:00
Christophe Riccio
28d8e7f251 Fixed increment and decrement operators tests 2013-05-10 01:44:13 +02:00
Christophe Riccio
4a93e0ab70 Fixed explicit empty constructors for specialized half classes 2013-05-09 16:06:59 +02:00
Christophe Riccio
1839858465 Fixed missing typename 2013-05-09 13:46:56 +02:00
Christophe Riccio
691f04e14f Fixed post in/decrement operators 2013-05-08 21:52:21 +02:00
Christophe Riccio
28c6bba18c Refacted GTC_angle 2013-05-07 01:20:00 +02:00
Christophe Riccio
929f140b1e Added GTC_angle extension files 2013-05-07 01:05:45 +02:00
Christophe Riccio
b2e55904b8 Fixed dual quat built on GCC 2013-05-07 01:02:52 +02:00
Christophe Riccio
5338aaac9e Added half literals 2013-05-07 01:01:56 +02:00
Christophe Riccio
49fbfa051c Optimized radians and degrees functions 2013-05-06 20:35:13 +02:00
Christophe Riccio
13f27821b9 Completed GTX_multiple for negative values, issue #79 2013-05-06 18:00:06 +02:00