Commit graph

665 commits

Author SHA1 Message Date
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
19e0d1a044 Support adding sinks to logging (no default stdout now) 2021-04-19 21:01:39 +03:00
22ef7b45a8 Add simple binary io library 2021-04-19 20:59:49 +03:00
401e0a29e2 Fix grass example 2021-04-19 20:59:33 +03:00
e02efd2f7b Add 2D angle -> direction function 2021-04-10 16:47:51 +03:00
78eec7085d Support creating box from endpoints 2021-04-10 16:47:22 +03:00
75d1526bdd Fix uint16_t pixel traits 2021-04-02 11:05:08 +03:00
bb1df4599d Add coloru16 converters 2021-04-02 11:04:50 +03:00
b45f605209 Fixes in quaternion inverse computation 2021-03-14 16:36:24 +03:00
2eab5b7b9a Add memory size pretty printing 2021-03-13 18:46:09 +03:00
b4731b77df Implement constructing quaternion from matrix 2021-03-13 16:41:19 +03:00
05cffcdc73 Support quaternion attribs 2021-03-13 14:30:22 +03:00
9baa91b7e3 Map buffer data as shared_ptr<T[]> 2021-03-13 14:30:11 +03:00
0a367b8ab4 Change profiler time reporting format 2021-03-12 14:43:30 +03:00
9aa494ab96 Move old statistic module to statistics_lite, a new statistics module can compute percentiles 2021-03-12 14:43:00 +03:00
ee2f5960f4 Add idiv & imod functions 2021-03-12 14:42:31 +03:00
c835925ca7 Add geom::angle_difference 2021-03-11 21:34:03 +03:00
7b84cb0b1f Support non-modifying chunked_map::at 2021-03-10 14:12:29 +03:00
8284ea51bd Add geom::point hash 2021-03-09 23:06:45 +03:00
8d1be9aebc Add pcg::chunked_map 2021-03-07 21:18:27 +03:00
4ec44bf7a3 Remove pcg::lazy_perlin::operator()(Args...) 2021-03-07 21:18:17 +03:00
8ee99e7dad Add lazy perlin noise generator 2021-03-07 21:07:09 +03:00
36bfcb135e Perlin noise fixes 2021-03-07 21:07:00 +03:00
3482eceea3 Update todo 2021-03-07 19:09:06 +03:00
4fa64be5b0 Add convert-mesh tool to convert blender files to binary resources 2021-03-07 19:07:59 +03:00