Commit graph

1806 commits

Author SHA1 Message Date
1da8e341c5 Trigger constructors when cloning an ecs entity 2024-05-20 16:43:11 +03:00
2423547973 Bugfix: allow ecs constructors & destructors to mutate entities 2024-05-20 16:42:43 +03:00
045f399245 Refactor ecs::container::clone in terms of try_clone 2024-05-20 16:41:27 +03:00
1538fa002f Support util::function constructing from & assigning to nullptr 2024-05-20 16:41:01 +03:00
cae25f4719 Use wgpu instance extras to select the backend 2024-05-18 21:41:09 +03:00
fffd2c70e6 Update to wgpu-native v0.19.4.1 2024-05-18 21:40:54 +03:00
b436e7b2d8 Log used wgpu-native version 2024-05-18 21:19:08 +03:00
6581143837 Setup WebGPU logging 2024-05-18 21:13:43 +03:00
cb4a8e836f Missing include compilation fix 2024-05-15 13:39:09 +03:00
c18a8ba2c5 Add implicit util::hstring(const char*) constructor 2024-04-26 13:13:53 +03:00
119a323b72 Update package images to use ubuntu:24.04 with gcc-13 and mingw-13 2024-03-28 15:27:54 +03:00
6770ce908f Refactor trivial serialization 2024-03-27 21:37:10 +03:00
b26849e689 Minor pcg::lazy_perlin fix 2024-03-20 20:57:17 +03:00
83f92ae9cb Add util::dsu 2024-03-18 15:06:07 +03:00
bede9c95f9 Fix computing contact point in edge-edge case in cg::separation 2024-03-17 11:32:59 +03:00
663f7bc5f4 Support retrieving extra properties & raw mesh from gltf mesh 2024-03-16 17:37:57 +03:00
ff1c144f25 Add geom::outer_product 2024-03-16 00:25:20 +03:00
a5812c02c8 Add generic cg::triangle_mesh convex body 2024-03-15 23:27:24 +03:00
52969c718a Compute contact point in cg::separation 2024-03-15 23:27:10 +03:00
49eafc4806 Add geom::cross_product_matrix 2024-03-15 23:26:54 +03:00
1cc2c23602 Support glb in gfx::gltf_mesh 2024-03-15 23:26:43 +03:00
d7c9b484fe Add cg::irregular_triangular_prism 2024-03-14 14:12:23 +03:00
718d0c7d04 Add geom::project_from 2024-03-14 12:54:12 +03:00
47d3156c57 Add crude point-convex body distance to cg 2024-03-14 08:42:58 +03:00
d179ef65a2 Add geom::cast(quaternion) 2024-03-14 08:42:09 +03:00
a26826fc03 Add ignored warning in stb_image_write 2024-03-14 08:41:47 +03:00
3187908435 Add missing include 2024-03-14 08:41:23 +03:00
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