Commit graph

689 commits

Author SHA1 Message Date
3e38bb2672 Add audio::convert(sample) 2021-06-25 13:51:56 +03:00
3feb2776c1 Support owning track data 2021-06-25 13:51:51 +03:00
dd40936769 Reduce audio buffer from 4 Kb to 1/4 Kb 2021-06-25 13:45:19 +03:00
72921c06e3 Add methods to calculate polygon geometric center & center of mass 2021-06-20 15:53:40 +03:00
6994b23fdb Support interpolated line color in gfx::painter 2021-06-20 15:53:08 +03:00
4ab4788eca Support drawing quadratic besier lines in gfx::painter 2021-06-13 14:14:37 +03:00
ebda20ff9c Support drawing multi-color triangles in gfx::painter 2021-06-13 14:14:25 +03:00
ed41bc6583 Explicit circle quality parameter for gfx::painter::circle 2021-06-13 12:30:18 +03:00
ae8fa3579b Fix texture pixels retrieval for non-zero lods 2021-06-05 10:23:19 +03:00
17722a1990 Report profiler children in order of first call 2021-06-04 18:10:43 +03:00
31c27ccfd3 Support adding externally-measured profiling data to util::profiler 2021-06-04 18:01:32 +03:00
375732609b Use high_resolution_clock in util::profiler 2021-06-04 18:01:04 +03:00
2ee35266a6 Use __PRETTY_FUNCTION__ in profile_function macro 2021-06-04 14:30:24 +03:00
f327cc4315 Add special case for single-call functions in profiler::dump 2021-06-04 14:26:16 +03:00
5d023cb923 Use new CMake policy regarding option() 2021-06-04 14:12:02 +03:00
b8bf80e84e Support binding a texture to a specific texture unit 2021-06-04 13:58:22 +03:00
1d71954394 Fix perlin noise normalization 2021-06-04 13:58:03 +03:00
6d7dbcdffe Add golden ratio constant 2021-05-30 23:09:55 +03:00
99e72c552b Support printing context to gfx::check_error 2021-05-29 18:38:28 +03:00
38f704c3ed Add app::options structure with creation options & add highdpi support 2021-05-28 12:14:41 +03:00
773bfc6971 Fix missing deduction guides for weak_ptr 2021-05-28 12:04:54 +03:00
2b8814e472 Change cg::dimension(body) to cg::body_traits<Body>::dimension 2021-05-28 11:50:20 +03:00
5e62e6fa26 Add missing override specifications 2021-05-28 11:32:21 +03:00
0f51c136f2 Lower CMake required version 2021-05-28 11:31:59 +03:00
a106fd660d Add QtCreator debugging helpers (wip) 2021-05-17 20:21:00 +03:00
bdd32ad40f Add rotate(vector, angle) function 2021-05-17 20:20:39 +03:00
62e010094b Try to implement constraints in 2d physics engine 2021-05-08 22:02:09 +03:00
ebe3570b96 Fix geom::intersection 2021-05-08 22:01:57 +03:00
98d26f76cf Refactor phys2d engine interface 2021-05-07 18:20:59 +03:00
7eb589532c Fix 'no return statement' warning for separation function 2021-05-07 18:20:43 +03:00
f1d995340b Add some type list machinery 2021-05-07 17:38:36 +03:00
4439218141 Add polygon area & inertia computation functions 2021-05-07 17:38:06 +03:00
b8ac384770 Implement 2D convex separation routine & change separation return type 2021-05-07 17:37:45 +03:00
a04aac5968 Add 2D convex polygon body 2021-05-07 17:37:15 +03:00
fc9e603a13 Add 2D convex bodies interface & constexpr dimension retrieveing function 2021-05-07 17:37:01 +03:00
1c4fbb1618 Make heterogeneous_container::get return pointers instead of copies 2021-05-07 17:35:11 +03:00
5eb5174472 Make future::get return the object by value 2021-04-27 23:12:59 +03:00
497b90ee7a Fix flat_list::clear for trivially destructible types 2021-04-27 23:12:36 +03:00
749c026d7c Fix file_stream for windows 2021-04-26 01:51:09 +03:00
0cf6ee13dc Ui default element factory fix 2021-04-25 23:39:39 +03:00
922a0ce9aa ui::screen::add_child should reshape 2021-04-25 23:18:55 +03:00
fb992e20ea ui_scene::on_key_up fix 2021-04-25 22:52:25 +03:00
f9894647e3 Better 64-bit hash_combine 2021-04-25 22:08:42 +03:00
bcc908d064 Add lerp/unlerp for boxes 2021-04-25 16:41:29 +03:00
8780a2d7e5 Add angle(vector,vector) 2021-04-25 14:39:25 +03:00
bea016fac0 Add angle(vector<T,2>) 2021-04-25 14:39:16 +03:00
e1f8958123 Audio track is_playing() bugfix 2021-04-20 15:19:00 +03:00
eecc054870 Use io::stream for png input 2021-04-20 15:11:41 +03:00
72a8734853 Make app::main automatically add an stdout sink 2021-04-19 21:02:38 +03:00
02fb8b49ac Smaller message level string size in logging output 2021-04-19 21:02:01 +03:00