Commit graph

2095 commits

Author SHA1 Message Date
d2f35276bf Add util::is_pow2 2025-08-29 16:39:19 +03:00
fa214ed956 Support more generic index factories in ecs container 2025-08-24 12:09:00 +03:00
c7b1bc0b0a Fix throwing key_error in util::hash_table for heterogeneous keys 2025-08-17 21:09:31 +03:00
b83a3635fc Remove modification callbacks API from ecs::container - ain't gonna implement them anyway 2025-08-11 18:19:44 +03:00
b1255f7a14 Expose wgpu instance in app context 2025-08-09 13:31:23 +03:00
46f672599d Upgrade to wgpu-native version 25.0.2.1 2025-08-08 23:20:44 +03:00
d3366b56aa Support version argument in find-wgpu-native script 2025-08-08 23:19:48 +03:00
0e000b190d Nump minimum cmake version 2025-08-08 23:19:06 +03:00
7b1ed4bd95 Make util::make_uuid use md5 hash 2025-08-06 17:54:29 +03:00
e57b284ffc Add constexpr md5 hash implementation 2025-08-06 17:53:24 +03:00
80daea54fa Move old font classes to an inline fonts::v1 namespace 2025-08-06 17:53:00 +03:00
68ba3698f8 Fix transcendetal functions on util::fixed_point 2025-07-29 22:29:17 +03:00
ce829f7356 Add permutation groups & implement converting cyclic & dihedral groups into permutations 2025-07-12 01:28:40 +03:00
1f57c76036 Add std::array hash 2025-07-12 01:28:14 +03:00
c3c8446431 Make default-initialized math::trs the identity 2025-07-10 02:13:02 +03:00
a7cbe69712 Add math::trs class & use it in gltf animations 2025-07-09 21:02:22 +03:00
d826940b4c Make bt nodes execute subnodes immediately (and not across several updates) whenever possible 2025-07-08 20:30:46 +03:00
14b18197bf Support resetting vecr::renderer to an existing image 2025-06-09 14:24:37 +03:00
afd942af14 Support worley noise in noise-generator tool 2025-06-09 13:37:20 +03:00
08510e265b Support comparing wgpu objects by comparing underlying pointers 2025-06-05 18:47:38 +03:00
24f3df6f35 Add app::apply(event_state, text_input_event) 2025-05-20 17:23:23 +03:00
fde307e96f Update license 2025-05-15 12:57:28 +03:00
cc031470b2 Add particle life example 2025-05-14 23:05:35 +03:00
a8e32e2d98 Add cg::kdtree::closer_than 2025-05-14 22:56:26 +03:00
08ca6ab21b Fix bug in cg::kdtree::insert 2025-05-14 22:56:15 +03:00
2f75df3c91 Track the size of kd-tree nodes 2025-05-14 22:55:17 +03:00
132a521b6a Add gfx::painter::circle() with different center & border colors 2025-05-14 22:54:05 +03:00
1d8ba361fc Fix compiling journal lib without sqlite 2025-05-14 22:53:36 +03:00
d5abbb4762 Support random::uniform_from with initializer_list 2025-05-14 22:52:47 +03:00
8e89679219 Remove tests for util::blob copying since the copy operator was removed 2025-05-14 22:52:29 +03:00
93aa697347 Support RAII-wrapping the execution of an ECS system into some context (e.g. for profiling) 2025-04-13 17:36:43 +03:00
c75809aa75 Support move operations in prof::profiler 2025-04-13 17:36:05 +03:00
6a8563cce9 Support freetype font fallbacks by storing a sequence of fonts 2025-04-13 12:44:44 +03:00
e4222f35ff Replace util::blob copy constructor/assignment with .copy() method and mark all appropriate methods noexcept 2025-04-13 12:44:26 +03:00
73abc03ae2 Add explicit util::utf8_range(std::string) constructor 2025-04-13 12:43:56 +03:00
7e2c2a4c6d Implement utf8 encoding and replace std::codecvt with custom code in utf32 <-> utf8 conversions 2025-04-13 12:43:40 +03:00
6cf5eb008b Support operator--() for util::utf8_iterator 2025-04-13 12:42:51 +03:00
9f0f07885d Show unknown characters as '?' in freetype fonts 2025-04-13 00:43:42 +03:00
083e5841aa Add ecs::container::finally mechanism 2025-04-10 11:57:50 +03:00
0034e6a9f1 Disable text input at application start in SDL2 backend 2025-04-07 11:10:12 +03:00
944d1374a5 Fix handling text input events in app::scene_application 2025-04-07 11:09:01 +03:00
5fcd2a171f Support using a lambda in vecr colorizer 2025-04-06 21:55:40 +03:00
472d095e2d Support setting individual pixels in vecr::renderer 2025-04-06 21:55:29 +03:00
c8a58d1de4 Add sqlite-based event journaling library 2025-04-04 21:07:49 +03:00
8099e928dc Add std::format formatter for ecs::handle 2025-04-04 21:07:31 +03:00
57f9f7331c Add std::format formatters for basic math types 2025-04-04 21:07:19 +03:00
6a8a896aba Remove bt logging 2025-04-04 15:15:49 +03:00
e5811b61a0 Fix triggering constructor & destructor callbacks when attaching/detaching ecs components 2025-03-06 18:20:40 +03:00
42260d4d7d Replace template operator() of util::function with a fixed-arg version to put all implicit conversions & list initializations to the actual call site 2025-03-06 18:20:40 +03:00
4dc8b6a183 Use _WIN32 macro to detect Windows (instead of other macro variants) 2025-03-04 20:00:03 +03:00