Commit graph

717 commits

Author SHA1 Message Date
463cb5372b Fix convert-mesh script 2021-07-15 18:57:11 +03:00
2b46b38da2 Add geom::frac 2021-07-15 18:56:53 +03:00
e8076f528f Add geom::angle(quaternion, quaternion) 2021-07-14 22:35:03 +03:00
4b711fc1c4 Add util::span::empty 2021-07-14 17:04:00 +03:00
de1950f1a6 Rewrite mesh exporter to support armature & poses 2021-07-13 11:55:57 +03:00
fc47633c42 Add bone armature helpers 2021-07-13 11:55:46 +03:00
0af7e8f274 Support setting program uniform by location 2021-07-13 11:54:22 +03:00
d73ce27c32 Optimize program uniform location cache 2021-07-13 11:53:58 +03:00
1cc5d28761 Support integer vertex attributes 2021-07-13 11:46:46 +03:00
b51b0d3a94 Change quaternion coordinate order: wxyz -> xyzw 2021-07-13 11:45:11 +03:00
96652584a9 Turn gfx::buffer to a templated gfx::basic_buffer to support different buffer types 2021-07-13 11:44:23 +03:00
46d637328a Add util::any_hash 2021-07-13 11:43:03 +03:00
d9c454bc3b Support reading an array pointer in util::binary_stream 2021-07-13 11:42:46 +03:00
fc2b3bd7fd Add util::binary_stream::eof 2021-07-13 11:42:15 +03:00
4aff648a99 Make sure embedded resources are aligned to 16 bytes 2021-07-13 11:41:39 +03:00
39855a5d84 Make gfx::load_mesh return structured data instead of a tuple 2021-07-11 11:38:00 +03:00
e831eb8567 Support proper util::span move & copy assignment 2021-07-11 11:37:31 +03:00
b9ea07f0f4 Ray-simplex intersection bugfix 2021-07-08 14:24:03 +03:00
b243639f8d Add util::log2 2021-07-07 18:58:13 +03:00
b97e7bc26c Support setup attrib description without a mesh object 2021-07-07 16:50:23 +03:00
a93715e16e Add utility header for bit manipulation functions 2021-07-06 22:00:57 +03:00
fe4dd717f1 Add mipmap calculation function 2021-07-05 12:18:15 +03:00
25153001c0 Proper move, reset & null-construct for gfx::program 2021-07-04 23:17:33 +03:00
4139c9b5c0 Make ui::element::post const 2021-07-03 23:37:58 +03:00
6de32b1047 Support calling pcg::fractal with geom::point 2021-07-03 22:26:15 +03:00
9be7fb87df Add missing typedefsin lazy_perlin 2021-07-03 22:25:35 +03:00
e5c806a198 Async future::then type fix 2021-07-02 15:18:38 +03:00
585fff7683 Add app:scene_manager interface 2021-07-02 11:35:08 +03:00
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