Commit graph

1879 commits

Author SHA1 Message Date
448b6dc9fa Add relative mouse movement data in app event 2024-03-12 20:29:51 +03:00
153cc87986 Add non-template access methods to util::hash_table 2024-03-12 20:29:29 +03:00
645423ecba Compilation fix 2024-03-12 20:29:08 +03:00
24a74b1208 Add util::any_set::insert 2024-03-11 23:34:42 +03:00
49fe46bce2 Add util::array serialization 2024-03-11 21:38:10 +03:00
dbcffa8d4a Support gamma-correction in gfx::blur 2024-03-11 21:04:43 +03:00
646ef45acf Disable alpha blending in gfx::blur 2024-03-11 21:04:27 +03:00
05af18ba3f Implement lazy-loading audio tracks 2024-03-11 01:00:24 +03:00
bd3aa04922 Support loading raw audio track from blob 2024-03-11 00:59:17 +03:00
4a17529e39 Fix cross-compiling build tools 2024-03-07 18:34:42 +03:00
1ccf82c2c5 Add comment about gfx::texture_view units 2024-03-04 13:49:11 +03:00
d48f9c086f Make app::scene_application call scene->on_exit when stopped 2024-03-03 14:44:01 +03:00
9b9af9e3bc Don't require wgpu-native with OpenGL api 2024-03-03 02:17:16 +03:00
c7108a0e39 Fix building with OpenGL backend 2024-03-03 02:16:55 +03:00
57aceed172 Remove duplicate hash_table::operator[] (how did this even happen?) 2024-03-03 02:14:41 +03:00
ca2d106725 Add soft-body evolution examples 2024-02-28 17:06:49 +03:00
4ff36a61ba Add util::hash_map::operator[] 2024-02-28 17:06:48 +03:00
d1104f9aac Fix util::thread move assignment operator 2024-02-28 17:06:48 +03:00
84ef3faa68 Use faster quaternion rotation formula 2024-02-28 17:06:48 +03:00
540d63ce5b Add geom::compare_swap utility function 2024-02-28 17:06:48 +03:00
d09bd76a14 Add a few debug assertions to ecs::container 2024-02-10 23:47:59 +03:00
e28a78166e Support edge ids in util::pathfinder 2024-02-07 22:01:42 +03:00
740fab84be Add copying and constructing from initializer_list for util::hash_table 2024-02-07 22:01:19 +03:00
929e8091dc Fix perfect forwarding in constructor args in util::pathfinder 2024-02-07 14:14:13 +03:00
752593a589 Fix random::normal_distribution: actually use mean & stddev instead of always generating N(0,1) 2024-02-05 13:32:35 +03:00
04443b1e3a Support mutable lambdas in ecs::dispatcher 2024-02-05 13:04:53 +03:00
13a86a76c8 Add ecs::dispatcher - an event-based ECS system launcher 2024-02-03 15:22:33 +03:00
5533826711 Update ecs to-do list 2024-01-30 21:57:51 +03:00
92f02d8ac0 Fix computing ecs table query cache in the presence of without<> components 2024-01-30 21:57:21 +03:00
88677eb893 Make constructors & destructors operate on const components only in ecs 2024-01-30 21:56:55 +03:00
802bb1a74d Call constructors & destructors in ecs attach/detach 2024-01-30 21:56:30 +03:00
e6f5fc17a4 Remove useless code in pathfinder & support retrieving full path 2024-01-29 19:16:17 +03:00
099a09e4d9 Use util::hash_map instead of std::unordered_map for pathfinder 2024-01-29 17:44:27 +03:00
64a6713b61 Implement util::hash_table::operator[] and at() 2024-01-29 17:44:11 +03:00
368d1edd71 Remove duplicate util::key_error exception, don't require the key to be convertible to string 2024-01-29 17:43:52 +03:00
470b7a0757 Add TODO to reimplement weighted distribution using Vose's alias algorithm 2024-01-26 13:29:04 +03:00
4b1d513cd6 Add ecs::handle comparison operators 2024-01-25 22:27:24 +03:00
f5bd285336 Add geom::closed(interval) for iterating over closed interval 2024-01-17 11:49:14 +03:00
46a49ef42d Support creating ecs index without passing the container 2024-01-10 00:44:23 +03:00
8fcaef4ba1 ECS index API wip: support creating & storing indices 2024-01-10 00:12:55 +03:00
080893ee96 Fix copying entities 2024-01-06 22:21:07 +03:00
5e64a4c216 Bugfix in ecs 2024-01-06 20:12:26 +03:00
a36d25a34b Add geom::pointwise_divide 2024-01-06 19:57:26 +03:00
451701726c Bugfix in ecs 2024-01-03 21:22:49 +03:00
1ad6bf50a6 Add some defaults in wgpu sampler descriptor 2024-01-03 18:37:20 +03:00
880c61f789 Add wgpu indirect draw command structs 2024-01-03 12:31:30 +03:00
efbcf48d01 Add gltf accessor iterator 2024-01-03 03:25:28 +03:00
c3d964fafd Support loading GLB assets 2024-01-03 02:21:16 +03:00
00231ce3f6 Fix missing include 2024-01-02 18:24:13 +03:00
3e10b1e294 Add missing render pass encoder depth stencil attachment handling 2024-01-02 17:53:48 +03:00