Recep Aslantas
|
2cb9f7f334
|
fix #3
with caching values, compiler produce better assembly even identical
sse2 implementation
|
2016-09-27 21:18:52 +03:00 |
|
Recep Aslantas
|
dc73cab522
|
helper fn for duplicating matrix4
|
2016-09-27 16:50:09 +03:00 |
|
Recep Aslantas
|
f5a290364b
|
add guard to check sse2 headers
|
2016-09-21 17:34:30 +03:00 |
|
Recep Aslantas
|
b8589ae0e2
|
avx: implement mat4 avx mul
|
2016-09-21 16:15:48 +03:00 |
|
Recep Aslantas
|
ce74bc4a82
|
make mat4 transpose and scale inline function
|
2016-09-21 00:23:17 +03:00 |
|
Recep Aslantas
|
b2b50076d2
|
re-optimize mat4 determinant
* note: for square matrices det(a) = det(transpose(a)), we can go with
row-major calc here
|
2016-09-20 23:31:27 +03:00 |
|
Recep Aslantas
|
8a6fe6948a
|
improve mat4 mul
|
2016-09-20 03:13:48 +03:00 |
|
Recep Aslantas
|
b42a599310
|
typo
|
2016-09-19 20:37:07 +03:00 |
|
Recep Aslantas
|
499aab1001
|
fix mat4 vec4 mul
|
2016-09-19 15:29:25 +03:00 |
|
Recep Aslantas
|
f280d3675e
|
transpose inverse
|
2016-09-18 12:59:23 +03:00 |
|
Recep Aslantas
|
6c0cfe310a
|
quaternions
|
2016-09-18 00:53:24 +03:00 |
|
Recep Aslantas
|
146dbe4656
|
cpp: fix array initializer must be an initializer list
|
2016-09-17 13:21:08 +03:00 |
|
Recep Aslantas
|
d4c6ae350f
|
fix fn calls
|
2016-09-17 12:50:45 +03:00 |
|
Recep Aslantas
|
6046d0cdde
|
rename and cast mat4x4 id
|
2016-09-17 12:35:10 +03:00 |
|
Recep Aslantas
|
0b0a74e9bf
|
use self as default
|
2016-09-17 12:31:23 +03:00 |
|
Recep Aslantas
|
4d171c8758
|
rename mat4 functions
|
2016-09-17 12:30:33 +03:00 |
|
Recep Aslantas
|
ab58ae76eb
|
matrix determinant sse2
|
2016-09-17 12:19:15 +03:00 |
|
Recep Aslantas
|
253f5ba5f6
|
optimize matrix4x4 inverse for SSE2
|
2016-09-16 20:24:55 +03:00 |
|
Recep Aslantas
|
184069361a
|
use non-SIMD scale version for non-SIMD inverse
* this way is faster, probably mixing manual SSE with compiler result
causes cache misses
|
2016-09-16 00:56:00 +03:00 |
|
Recep Aslantas
|
2ff2c4710b
|
4x4 matrix inverse (non-SIMD)
|
2016-09-15 17:57:21 +03:00 |
|
Recep Aslantas
|
6c5143313e
|
matrix scale
|
2016-09-15 17:54:37 +03:00 |
|
Recep Aslantas
|
602b487b53
|
mat4 non-simd determinant
|
2016-09-14 12:32:03 +03:00 |
|
Recep Aslantas
|
4aecc0b3e2
|
matrix transpose
|
2016-09-12 00:15:03 +03:00 |
|
Recep Aslantas
|
92ce6ee7fb
|
mat4 mul N
|
2016-09-11 23:41:03 +03:00 |
|
Recep Aslantas
|
111908b9e0
|
pre defined identity matrix4f
|
2016-09-11 15:23:36 +03:00 |
|
Recep Aslantas
|
f708240ad3
|
update mat4 and mat4 mul
because m1 and m2 could be same matrix e.g dest = m1*m1
|
2016-09-11 13:07:39 +03:00 |
|
Recep Aslantas
|
6c6418d19a
|
Initial Commit
|
2016-09-11 12:29:22 +03:00 |
|