Commit graph

1888 commits

Author SHA1 Message Date
20f3bef6bd Add random::poisson distribution 2025-01-12 20:05:47 +03:00
073ac16223 Add a basic k-d tree implementation 2025-01-09 18:22:28 +03:00
c59b28e13f Rename 'geom' library to 'math' 2024-12-10 20:22:59 +03:00
89cbbaeeef Fix bt::conditional node: proper assert handling & child nodes starting 2024-12-07 20:05:16 +03:00
6d4abb7c03 Add bt::conditional node 2024-12-05 23:04:50 +03:00
e7482bb165 Fix max_anisotropy naming in wgpu 2024-12-03 22:29:06 +03:00
bfa0491f39 Support retrieving ECS table statistics 2024-11-29 01:15:35 +03:00
95b6651fc3 Support pushing > 1 measurement at a time in profiler 2024-11-29 00:44:45 +03:00
9b3f2df2a0 Rely on float->int conversion instead of std::floor in audio resampler hot loop 2024-11-29 00:07:02 +03:00
80b4cc938d Fix constructors & destructors order
Order of callbacks was affected by the order of caches, which are pretty
much arbitrary. For a fix, explicitly order the callbacks globally
per-world.
2024-11-28 18:55:17 +03:00
fad1580379 Fix GCC false positive -Warray-bounds in geom::swizzle when using ubsan 2024-11-19 19:09:01 +03:00
ad752f0ea1 Separate ordered & unordered component hashes in ecs 2024-11-18 16:55:39 +03:00
3359aaa62d Simplify ecs::query_cache_container: store caches directly instead of storing nodes with uuid duplicates 2024-11-18 16:42:23 +03:00
daa2b9c49a Add bt_log macro for logging AI actions 2024-11-18 16:38:21 +03:00
6971b8545a Add util::null_ostream 2024-11-18 16:36:02 +03:00
5138e00c35 Move heavy gltf animation code to a cpp file 2024-11-14 21:45:08 +03:00
fbb032fe63 Support native limits in wgpu device creation 2024-11-14 13:48:40 +03:00
f986f0d4b1 Add defaults to wgpu::limits 2024-11-14 13:47:56 +03:00
e6ae945b92 Fix creating chained structs in wgpu 2024-11-14 13:47:13 +03:00
ce8547c8d3 Preprocess glTF rotation animations to force shortest-arc interpolation 2024-10-15 21:42:00 +03:00
b5d556d06f Fix cubic spline interpolation in glTF animations 2024-10-15 21:40:18 +03:00
8b5c35f89a Add audio::mixer::stream_count() 2024-09-18 12:12:23 +03:00
44672ac1fd Add bt_assert macro for non-crashing assertions in behavior trees 2024-09-13 23:28:10 +03:00
95492efea7 Add copy assignment to ecs::accessor 2024-09-13 23:27:48 +03:00
d66092b86d Add fixed-point arithmetic implementation 2024-09-05 23:16:18 +03:00
8617fac987 Fix usage of math functions in geom::vector to be ADL-friendly 2024-09-05 23:15:37 +03:00
655dd2778f Implement string entity description in ecs 2024-09-01 23:59:31 +03:00
fbf78f1dc4 Fix east const 2024-08-31 14:40:08 +03:00
d032f93eb3 Support retrieving entity count from ecs::container 2024-08-29 15:52:21 +03:00
2bd4e5790b Support embedded textures in glTF 2024-08-26 23:42:29 +03:00
954068ba3a Fix merging util::statistics 2024-08-22 19:53:53 +03:00
4e9a551452 Better touch events support 2024-08-22 18:36:37 +03:00
ffc77e5fa3 Fix resource stream impl for android 2024-08-21 19:18:44 +03:00
17a0aef630 Fix uninitialized value warning 2024-08-21 19:18:16 +03:00
02bd1dc2f1 Globally disable -Wdangling-reference for GCC-13+ 2024-08-21 19:17:59 +03:00
57aebfb42d Compile minimp3 as C++ 2024-08-21 19:17:33 +03:00
3dde4d6b55 Remove template dependance on float/double in util::statistics_log_bucket 2024-08-21 19:17:10 +03:00
5042fbbf7e Make freetype fully optional 2024-08-21 13:45:45 +03:00
c16194c95c Support drawing polygons in gfx::painter 2024-08-20 11:51:12 +03:00
a2c83633ae Support non-const width lines in gfx::painter 2024-08-18 01:12:17 +03:00
82f7d5d429 Rename util::begin/end -> xbegin/xend to prevent ambiguity via ADL 2024-08-17 20:19:07 +03:00
6368ca5e68 Support 2D scale in gfx::painter::text 2024-08-17 18:17:32 +03:00
c350c8f911 Fix random int generation 2024-08-16 18:13:59 +03:00
241f3afde3 Conditionally add freetype and wgpu libs to packaging files 2024-08-16 18:12:47 +03:00
3a24090607 Remove app -> ui dependency 2024-08-13 14:51:12 +03:00
dbd479d413 Farewell to reactive ui library 2024-08-12 23:16:34 +03:00
4fde43313c Reactive UI library wip: add floating, shape_reader and storage 2024-08-10 11:58:21 +03:00
ddddfb67ce Separate mouseover state vs mouseover event in ui::button 2024-08-09 15:17:11 +03:00
84905b6f05 Fix ui::button updating to new event sources 2024-08-09 13:33:28 +03:00
9ce8082e4d Add gfx::blend(color_rgba, color_rgba) 2024-08-08 17:40:27 +03:00