Alejandro Coto Gutiérrez
f04078dc33
Merge branch 'master' into cglm-structs
2019-04-30 14:58:02 -05:00
Wasin Thonkaew
5b80e0e3c2
test cases for glm_vec4_distance
2019-04-19 03:04:00 +08:00
acoto87
c25469829a
Initial implementation of struct type vec4s
2019-04-03 22:25:49 -06:00
Recep Aslantas
59aacee968
optimize clamp for vec4
2018-04-14 12:49:37 +03:00
Recep Aslantas
429aff087f
optimize min and max for vec4
2018-04-14 11:35:28 +03:00
Recep Aslantas
c05f58a169
vec: add addadd, subadd and muladd helpers
2018-04-13 15:46:43 +03:00
Recep Aslantas
d841f8809d
vec: add some new functions for vector
...
* _mul: multiply two vector (replacement for _mulv)
* _div: div two vector
* _divs: div vector with scalar
* adds: add scalar to each components of vec
* subs: sub scalar from each components of vec
2018-04-13 15:12:56 +03:00
Recep Aslantas
25fc3d0284
vec: add one and zero helpers for vectors
2018-04-13 11:57:14 +03:00
Recep Aslantas
79f8b1ebf8
vec4: optimize vec4 norm and norm2
2018-04-13 11:18:42 +03:00
Recep Aslantas
0eb37da8bb
vec4: optimize vec4 normalize with SIMD
2018-04-13 11:01:07 +03:00
Recep Aslantas
e4e0fa623c
sse2 version of vec4 dot product
...
* use this for normalizing vector
2018-04-08 18:27:54 +03:00