Commit graph

446 commits

Author SHA1 Message Date
2c1d486068 Separate GNU & Clang disabled warnings 2021-01-18 17:56:12 +03:00
49a8d7f24c Update todo 2021-01-17 22:04:34 +03:00
613bb3e83f Disable -Wmaybe-uninitialized in GCC since it gives a ton of false-positives 2021-01-17 17:19:42 +03:00
9995f38ab0 Primitives of dynamic dimension, part 1: make vector, point & matrix dimensions retrievable via non-static functions 2021-01-16 23:26:57 +03:00
5133695c6f Add matrix tests 2021-01-16 22:46:52 +03:00
bbd15c5942 Slightly better overall tests result reporting 2021-01-16 22:46:29 +03:00
0944797a3e Add lerp & slerp tests 2021-01-16 22:46:07 +03:00
14c5fda1a7 Implement matrix trace 2021-01-16 22:43:45 +03:00
71bafff64d Implement matrix Frobenius (L2) norm 2021-01-16 22:43:22 +03:00
7698e54b18 Support indexing zero-dimensional matrices 2021-01-16 22:42:55 +03:00
6d22ae95c7 Add geom vector & point tests 2021-01-16 19:06:27 +03:00
5d968accdb Support zero-dimensional points, matrices, and boxes 2021-01-16 19:05:59 +03:00
a4c1eb17e9 Update todo 2021-01-16 17:31:01 +03:00
0a1d192327 Neural animation: covariance matrix adaptation (wip) 2021-01-16 17:18:32 +03:00
a11c5d7c39 Neural animation tweaks 2021-01-16 15:06:39 +03:00
63e2d226d2 Fixes in neural animation example 2021-01-15 22:43:06 +03:00
25e0480805 Remove obsolete 'optimize' mode from neural animation example 2021-01-15 22:37:53 +03:00
f73f536d8d Add 2D creatures neural animation example 2021-01-15 18:04:21 +03:00
f44350c895 Update todo 2021-01-15 18:04:04 +03:00
c74daa5d9a Support turning on asan & ubsan from cmake options 2021-01-15 18:03:41 +03:00
e0afe8b935 Implement async::executor::wait_all 2021-01-15 17:59:46 +03:00
e558799702 Fix gfx::light/dark: shouldn't affect color alpha 2021-01-15 17:59:25 +03:00
4f0b804656 Add scalar-interval distance function 2021-01-15 17:58:54 +03:00
d891d21ec2 Support 0-dimensional vectors 2021-01-15 17:58:20 +03:00
c525383a42 Add matrix stream output operator 2021-01-15 17:57:58 +03:00
918858aea5 Support different types of interpolated object & interpolation coefficient in geom::lerp 2021-01-15 17:57:37 +03:00
863b251903 Support setting volume data size in cloud example 2021-01-15 17:56:56 +03:00
b0b2975efc Use shadow blurring in deferred rendering 2020-12-19 22:39:04 +03:00
bd5622fc3b Use previous frame's transform for depth pre-pass in deferred renderer 2020-12-19 22:39:04 +03:00
91f693ed6e Update examples 2020-12-16 11:17:48 +03:00
d34d712fa3 2D physics example (wip) 2020-12-16 11:05:29 +03:00
415616534e 2D water simulation example (wip) 2020-12-16 11:05:29 +03:00
22f5b85854 Node-based binary heap (wip) 2020-12-16 11:05:29 +03:00
2875cb468d Physics engine 2d: accelerate collision detection be sorting bboxes on x-coordinate 2020-12-16 11:05:29 +03:00
9c54f6e730 Add function profiling macro 2020-12-16 11:05:29 +03:00
50cc785998 Get elapsed time before locking mutex in profiler 2020-12-16 11:05:29 +03:00
76c714b158 Add geom::box::full 2020-12-16 11:05:29 +03:00
c2b0c6e41e Remove obsolete debugging code 2020-12-16 11:05:29 +03:00
2e81763d5a Physics engine 2d: properly apply explosion impulse 2020-12-16 11:05:29 +03:00
b6a68b8e1a Physics engine 2d: refaactor collisions to 3 functions 2020-12-16 11:05:29 +03:00
eff7be5653 Redesign profiler: hierarchical, thread-aware, dump into log::info upon request 2020-12-16 11:05:29 +03:00
ce4e561cac Support merging two util::statistics 2020-12-16 11:05:29 +03:00
7751d6fd36 Add util::statistics::count 2020-12-16 11:05:29 +03:00
8061b973de Physics 2d example wip 2020-12-16 11:05:29 +03:00
9d1ba342fc Physics engine: implement collision resolution in order of importance 2020-12-16 11:05:29 +03:00
a75b8710de Physics engine: always resolve penetration, but apply impulse only on approach velocity 2020-12-16 11:05:29 +03:00
b2b6d18dd0 Add matrix unary minus 2020-12-16 11:05:29 +03:00
dcaff99b75 Physics engine 2d: support retrieving object info 2020-12-16 11:05:29 +03:00
3b141aa84d Physics engine 2d: extract generic convex-convex collision detection, use for boxes 2020-12-16 11:05:29 +03:00
980d3e856b Add explosion effect in 2d physics engine 2020-12-16 11:05:29 +03:00