Commit graph

644 commits

Author SHA1 Message Date
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
3e4cea25e7 Make gfx::load_mesh return data instead of loading mesh directly 2021-03-07 19:05:13 +03:00
6e49551045 Add util::span::data 2021-03-07 19:04:48 +03:00
5255abd66a Implement loading meshes from binary format 2021-03-07 18:31:20 +03:00
697de5c422 Add gfx::mesh::load_raw for loading buffers from raw data 2021-03-07 18:30:00 +03:00
e4f0675a1d Refactor gfx attribs: store vertex & instance size in attrib description 2021-03-07 18:29:25 +03:00
0bed4ae39f Add binary deserialization helper class 2021-03-07 18:28:06 +03:00
e87c4508fc Add random::uniform helper function 2021-03-07 11:54:11 +03:00
9d29e3a656 Fix async::futures: notify cv on value set 2021-03-07 00:13:02 +03:00
9dc95c797c Make gfx::renderbuffer::storage support template pixel types 2021-03-06 18:30:35 +03:00
f40d98cb2f UI rendering fix: visit the tree first, setup OpenGL next 2021-03-06 18:30:15 +03:00
05b50d2826 UI: fix slider state after mouse button up 2021-03-06 12:02:18 +03:00
03acb43dc4 Don't draw or send events to hidden ui children 2021-03-06 10:56:38 +03:00
e6506062b0 UI: send events to children in reverse order 2021-03-06 10:56:22 +03:00
1d0d90862e Support hidden ui elements 2021-03-06 10:55:30 +03:00
27bd390381 UI spinbox implementation 2021-03-05 23:33:19 +03:00
3faccd1256 Default ui element factory supports arrow buttons 2021-03-05 23:13:57 +03:00
fec050307d Add triangle painting to ui::painter 2021-03-05 23:13:27 +03:00
d9fb3b1be6 Add simplex + vector operator 2021-03-05 23:13:11 +03:00
4383ce7e8b Separate ui::button into button & rich_button 2021-03-05 22:57:39 +03:00
c54a9944f1 Add ui::triangle_shape 2021-03-05 22:50:09 +03:00
6ad43ff0a5 Add ui::style::ref_height 2021-03-05 22:34:30 +03:00