Commit graph

1962 commits

Author SHA1 Message Date
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
78a131952b Add wgpu::buffer::usage operator | 2024-01-02 16:05:10 +03:00
8ff0adb710 Fix wgpu::device::create_render_pipeline 2024-01-02 16:04:40 +03:00
0998da6329 Add helper functions for constructing util::span 2024-01-02 16:04:26 +03:00
7c122c5664 WebGPU wrapper finished: add multi draw indirect count support 2024-01-01 17:39:42 +03:00
082b8e0493 WebGPU wrapper wip: add push constants support 2024-01-01 17:29:30 +03:00
0a088684d9 WebGPU wrapper wip: add native feature names from wgpu.h 2024-01-01 17:14:33 +03:00
d943f14185 WebGPU wrapper wip: add command encoder methods 2024-01-01 17:10:06 +03:00
97ee3c1134 WebGPU wrapper wip: add device methods 2024-01-01 16:43:46 +03:00
407df9a21d WebGPU wrapper wip: add render bundle encoder object 2024-01-01 16:19:50 +03:00
7071f3363d WebGPU wrapper wip: add render bundle object 2024-01-01 16:10:10 +03:00
2d8be7560b WebGPU wrapper wip: remove unnecessary object copying 2024-01-01 16:04:16 +03:00
e8b9d18d05 WebGPU wrapper wip: add render pass encoder object 2024-01-01 16:01:13 +03:00
818db07676 WebGPU wrapper wip: add compute pass encoder object 2024-01-01 15:03:44 +03:00
c0b485ae4b WebGPU wrapper wip: add pipeline layout object 2024-01-01 14:47:57 +03:00
20b584b5e0 WebGPU wrapper wip: add bind group layout object 2024-01-01 14:43:12 +03:00
4370bf608f WebGPU wrapper wip: move constant_entry to a separate header 2024-01-01 14:23:18 +03:00
e34b187235 WebGPU wrapper wip: add bind group object 2024-01-01 14:21:25 +03:00