Commit graph

  • ce829f7356 Add permutation groups & implement converting cyclic & dihedral groups into permutations lisyarus 2025-07-12 01:28:40 +03:00
  • 1f57c76036 Add std::array hash lisyarus 2025-07-12 01:28:14 +03:00
  • c3c8446431 Make default-initialized math::trs the identity lisyarus 2025-07-10 02:13:02 +03:00
  • a7cbe69712 Add math::trs class & use it in gltf animations lisyarus 2025-07-09 21:02:22 +03:00
  • d826940b4c Make bt nodes execute subnodes immediately (and not across several updates) whenever possible lisyarus 2025-07-08 20:21:59 +03:00
  • 14b18197bf Support resetting vecr::renderer to an existing image lisyarus 2025-06-09 14:24:37 +03:00
  • afd942af14 Support worley noise in noise-generator tool lisyarus 2025-06-09 13:37:20 +03:00
  • 08510e265b Support comparing wgpu objects by comparing underlying pointers lisyarus 2025-06-05 18:47:38 +03:00
  • 24f3df6f35 Add app::apply(event_state, text_input_event) lisyarus 2025-05-20 17:22:48 +03:00
  • fde307e96f Update license lisyarus 2025-05-15 12:57:28 +03:00
  • cc031470b2 Add particle life example lisyarus 2025-05-14 23:05:35 +03:00
  • a8e32e2d98 Add cg::kdtree::closer_than lisyarus 2025-05-14 22:56:26 +03:00
  • 08ca6ab21b Fix bug in cg::kdtree::insert lisyarus 2025-05-14 22:56:15 +03:00
  • 2f75df3c91 Track the size of kd-tree nodes lisyarus 2025-05-14 22:55:17 +03:00
  • 132a521b6a Add gfx::painter::circle() with different center & border colors lisyarus 2025-05-14 22:54:05 +03:00
  • 1d8ba361fc Fix compiling journal lib without sqlite lisyarus 2025-05-14 22:53:36 +03:00
  • d5abbb4762 Support random::uniform_from with initializer_list lisyarus 2025-05-14 22:52:47 +03:00
  • 8e89679219 Remove tests for util::blob copying since the copy operator was removed lisyarus 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) lisyarus 2025-04-13 17:36:43 +03:00
  • c75809aa75 Support move operations in prof::profiler lisyarus 2025-04-13 17:36:05 +03:00
  • 6a8563cce9 Support freetype font fallbacks by storing a sequence of fonts lisyarus 2025-04-13 12:44:44 +03:00
  • e4222f35ff Replace util::blob copy constructor/assignment with .copy() method and mark all appropriate methods noexcept lisyarus 2025-04-13 12:44:26 +03:00
  • 73abc03ae2 Add explicit util::utf8_range(std::string) constructor lisyarus 2025-04-13 12:43:56 +03:00
  • 7e2c2a4c6d Implement utf8 encoding and replace std::codecvt with custom code in utf32 <-> utf8 conversions lisyarus 2025-04-13 12:43:40 +03:00
  • 6cf5eb008b Support operator--() for util::utf8_iterator lisyarus 2025-04-13 12:42:51 +03:00
  • 9f0f07885d Show unknown characters as '?' in freetype fonts lisyarus 2025-04-13 00:43:42 +03:00
  • 083e5841aa Add ecs::container::finally mechanism lisyarus 2025-04-10 11:57:50 +03:00
  • 0034e6a9f1 Disable text input at application start in SDL2 backend lisyarus 2025-04-07 11:10:12 +03:00
  • 944d1374a5 Fix handling text input events in app::scene_application lisyarus 2025-04-07 11:09:01 +03:00
  • 5fcd2a171f Support using a lambda in vecr colorizer lisyarus 2025-04-06 21:55:40 +03:00
  • 472d095e2d Support setting individual pixels in vecr::renderer lisyarus 2025-04-06 21:55:29 +03:00
  • c8a58d1de4 Add sqlite-based event journaling library lisyarus 2025-04-04 21:07:49 +03:00
  • 8099e928dc Add std::format formatter for ecs::handle lisyarus 2025-04-04 21:07:31 +03:00
  • 57f9f7331c Add std::format formatters for basic math types lisyarus 2025-04-04 21:07:19 +03:00
  • 6a8a896aba Remove bt logging lisyarus 2025-04-04 15:15:49 +03:00
  • e5811b61a0 Fix triggering constructor & destructor callbacks when attaching/detaching ecs components lisyarus 2025-03-06 18:20:08 +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 lisyarus 2025-03-06 18:15:57 +03:00
  • 4dc8b6a183 Use _WIN32 macro to detect Windows (instead of other macro variants) lisyarus 2025-03-04 20:00:03 +03:00
  • 2e28b3ffc6 Use FT_New_Memory_Face for freetype fonts to fix loading non-ascii paths on Windows lisyarus 2025-03-04 19:59:38 +03:00
  • d41c53193d Use wide strings in util::executable_path() lisyarus 2025-03-04 19:59:04 +03:00
  • ef85eec178 Use wide strings for io::file_stream on Windows lisyarus 2025-03-04 18:12:21 +03:00
  • dab7b6327e Fix wgpu packaging for windows lisyarus 2025-02-26 22:13:14 +03:00
  • 195a31fa1c Add text input events in SDL2 backend lisyarus 2025-02-24 13:02:48 +03:00
  • 12eed4dda5 Add HSV <-> RGB conversions lisyarus 2025-02-23 13:56:33 +03:00
  • 4f4e86ce4f Add math::inverse_smoothstep lisyarus 2025-02-23 13:56:13 +03:00
  • 4c16594b3f Use pi casted to appropriate type instead of implicit conversion to double in math/math.hpp lisyarus 2025-02-23 11:46:43 +03:00
  • 85451a1d6f Add gfx::hue(colorf) lisyarus 2025-02-23 00:31:13 +03:00
  • 72694664de Add util::moving_average::max_count() lisyarus 2025-02-21 22:26:24 +03:00
  • 28a4d9ccb0 Make cg::kdtree::closest const & add cg::kdtree::clear & assign lisyarus 2025-02-21 19:20:54 +03:00
  • 97c9d79a5a Add default values to wgpu-related fields in application::options lisyarus 2025-02-16 18:43:30 +03:00
  • 3655fc9c6f Add (bad) support for multiline text in gfx::painter: lisyarus 2025-02-03 00:43:39 +03:00
  • cd31187d3f Add missing include lisyarus 2025-02-02 21:28:59 +03:00
  • a6268663da More 2d shallow water tests lisyarus 2025-01-30 13:07:30 +03:00
  • fa9c5efaf0 Add 2D hex water example lisyarus 2025-01-30 12:40:32 +03:00
  • f75c04d988 Make gfx::mesh only bind index buffer as GL_ELEMENT_ARRAY_BUFFER, in accordance with WebGL restrictions lisyarus 2025-01-30 12:40:19 +03:00
  • 4e2aa5f577 Update stb_image.h lisyarus 2025-01-30 12:39:13 +03:00
  • 64d85dd1c0 Don't require OpenMP in sort creatures 2d example lisyarus 2025-01-30 12:39:04 +03:00
  • d4e3cc623a Replace deprecated std::atomic_load with std::atomic<shared_ptr> in audio::channel lisyarus 2025-01-30 12:38:44 +03:00
  • cca966b33e Fix missing include lisyarus 2025-01-30 12:38:10 +03:00
  • b01c594cba Add math::fmod that works for negative inputs lisyarus 2025-01-30 12:37:48 +03:00
  • adcf761243 Support dynamic size in math::vector lisyarus 2025-01-26 19:03:33 +03:00
  • 6fc476f1f0 Support building without Boost.Stacktrace lisyarus 2025-01-26 14:45:43 +03:00
  • 4890761b0a More generous iteration count for 3-layer XOR nn test lisyarus 2025-01-25 21:14:53 +03:00
  • 5587c43611 ECS library 32-bit fixes lisyarus 2025-01-25 21:14:32 +03:00
  • 5155175d9b Flush test name to stdout when starting to run a test lisyarus 2025-01-25 20:35:57 +03:00
  • 2c3565df61 32-bit compilation fixes: lisyarus 2025-01-25 20:35:37 +03:00
  • 7c15c1bb0d Add water 2d example lisyarus 2025-01-25 16:01:49 +03:00
  • 3940766f7d Compilation fixes related to ui_legacy lib lisyarus 2025-01-21 14:08:12 +03:00
  • b967af7ddd Add back default fonts lisyarus 2025-01-21 14:07:57 +03:00
  • a49be3b253 Fix util::hash_map with std::pair as keys lisyarus 2025-01-21 14:07:37 +03:00
  • 8a21e53ee1 Rename old ui library to ui_legacy lisyarus 2025-01-21 12:13:39 +03:00
  • 20f3bef6bd Add random::poisson distribution lisyarus 2025-01-12 20:05:35 +03:00
  • 073ac16223 Add a basic k-d tree implementation lisyarus 2025-01-09 18:22:28 +03:00
  • c59b28e13f Rename 'geom' library to 'math' lisyarus 2024-12-10 20:22:59 +03:00
  • 89cbbaeeef Fix bt::conditional node: proper assert handling & child nodes starting lisyarus 2024-12-07 20:05:16 +03:00
  • 6d4abb7c03 Add bt::conditional node lisyarus 2024-12-05 23:04:50 +03:00
  • e7482bb165 Fix max_anisotropy naming in wgpu lisyarus 2024-12-03 22:29:06 +03:00
  • bfa0491f39 Support retrieving ECS table statistics lisyarus 2024-11-29 01:15:35 +03:00
  • 95b6651fc3 Support pushing > 1 measurement at a time in profiler lisyarus 2024-11-29 00:44:45 +03:00
  • 9b3f2df2a0 Rely on float->int conversion instead of std::floor in audio resampler hot loop lisyarus 2024-11-29 00:07:02 +03:00
  • 80b4cc938d Fix constructors & destructors order lisyarus 2024-11-28 18:55:17 +03:00
  • fad1580379 Fix GCC false positive -Warray-bounds in geom::swizzle when using ubsan lisyarus 2024-11-19 19:09:01 +03:00
  • ad752f0ea1 Separate ordered & unordered component hashes in ecs lisyarus 2024-11-18 16:55:39 +03:00
  • 3359aaa62d Simplify ecs::query_cache_container: store caches directly instead of storing nodes with uuid duplicates lisyarus 2024-11-18 16:42:23 +03:00
  • daa2b9c49a Add bt_log macro for logging AI actions lisyarus 2024-11-18 16:37:30 +03:00
  • 6971b8545a Add util::null_ostream lisyarus 2024-11-18 16:36:02 +03:00
  • 5138e00c35 Move heavy gltf animation code to a cpp file lisyarus 2024-11-14 21:45:08 +03:00
  • fbb032fe63 Support native limits in wgpu device creation lisyarus 2024-11-14 13:48:40 +03:00
  • f986f0d4b1 Add defaults to wgpu::limits lisyarus 2024-11-14 13:47:56 +03:00
  • e6ae945b92 Fix creating chained structs in wgpu lisyarus 2024-11-14 13:47:13 +03:00
  • ce8547c8d3 Preprocess glTF rotation animations to force shortest-arc interpolation lisyarus 2024-10-15 21:42:00 +03:00
  • b5d556d06f Fix cubic spline interpolation in glTF animations lisyarus 2024-10-15 21:40:18 +03:00
  • 8b5c35f89a Add audio::mixer::stream_count() lisyarus 2024-09-18 12:12:23 +03:00
  • 44672ac1fd Add bt_assert macro for non-crashing assertions in behavior trees lisyarus 2024-09-13 23:28:10 +03:00
  • 95492efea7 Add copy assignment to ecs::accessor lisyarus 2024-09-13 23:27:48 +03:00
  • d66092b86d Add fixed-point arithmetic implementation lisyarus 2024-09-05 23:16:18 +03:00
  • 8617fac987 Fix usage of math functions in geom::vector to be ADL-friendly lisyarus 2024-09-05 23:15:37 +03:00
  • 655dd2778f Implement string entity description in ecs lisyarus 2024-09-01 23:59:31 +03:00
  • fbf78f1dc4 Fix east const lisyarus 2024-08-31 14:40:08 +03:00
  • d032f93eb3 Support retrieving entity count from ecs::container lisyarus 2024-08-29 15:52:21 +03:00