Commit graph

1187 commits

Author SHA1 Message Date
d1960312e6 Add log::log(level) 2022-08-14 23:15:00 +03:00
5f3b07573e Support retrieving available GPU memory size 2022-08-14 22:59:14 +03:00
19d8637f7a Update gl.cpp 2022-08-14 22:40:20 +03:00
8d6cf511aa Export variables that force use of dedicated discrete GPUs 2022-08-14 22:20:24 +03:00
8a7c9ea263 Add util::object_pool 2022-08-10 11:45:48 +03:00
f39cc15bd8 Add util::spatial_array::size,min,max 2022-08-10 11:45:40 +03:00
b3304e7785 Fix uninitialized values in util::spatial_array 2022-08-08 11:19:38 +03:00
512ec6df93 Remove '#' from threadpool thread names 2022-08-07 11:41:37 +03:00
f3253b1e4a Remove support for log::register_thread(id, name); register thread name for pthread if possible 2022-08-07 11:41:23 +03:00
b8aeb66d07 Small profiler refactoring 2022-08-07 11:20:47 +03:00
c7923f356e Fix profiler result merging 2022-08-07 11:20:32 +03:00
e0a185d349 Fix util::spatial_array::end 2022-08-07 11:20:04 +03:00
742c74e07e Revert defaulted three-way comparison: ubuntu 22.04 doesn't have mingw-11 yet 2022-08-06 19:15:39 +03:00
0a3df26873 Show relative time percentage in profiler output 2022-08-05 17:34:25 +03:00
5afd76e214 Add util::spatial_array::begin/end 2022-08-05 16:12:22 +03:00
8f6bd5b5fc Add util::spatial_array asserts in case of wrong number of indices 2022-08-05 16:12:13 +03:00
2421dee3b7 Default-initialize elements in util::spatial_array 2022-08-05 16:11:45 +03:00
649c051b61 Add auto-expanding in all directions util::spatial_array 2022-08-05 15:54:58 +03:00
dc1b86fa75 Show fraction of calls compared to parent in profiler dump 2022-08-05 13:36:28 +03:00
c28b93aadc Use defaulted three-way comparison for geom::vector, point, and matrix 2022-08-05 12:02:41 +03:00
48801a69da Add geom::smoothstep & smootherstep 2022-08-04 11:43:07 +03:00
3ca9c8b16e Add buffer textures 2022-07-29 18:58:41 +03:00
ec6bd1d60b Don't throw on invalid uniform block index 2022-07-28 13:51:45 +03:00
a29cbf793e Fix removing packed entities 2022-07-26 14:31:43 +03:00
96d9a3e192 Add geom::intersection(segment,cylinder) 2022-07-10 11:13:37 +03:00
bdb1a203ff Add geom::cylinder deduction guides 2022-07-10 11:13:26 +03:00
3b509fb358 Fix geom::shortest_arc in case of 180 degree rotation 2022-07-09 11:53:39 +03:00
d157ba1cd5 Add geom::sphere deduction guide 2022-07-09 00:00:01 +03:00
11962abf8f Add random::weighted_distribution default constructor 2022-07-07 15:09:20 +03:00
11c431f38c Add geom::shortest_arc to compute smallest rotation between two 3D vectors 2022-07-05 18:32:33 +03:00
d405d3d502 Fix geom::angle(vector,vector) for dimension > 2 2022-07-05 18:32:12 +03:00
eb1e367085 Implement spaceship operator for geom::vector 2022-07-04 18:22:42 +03:00
e62fc51052 Reimplement async::future::ready without a wait 2022-07-04 18:22:22 +03:00
06313a0234 Support generating pcg::lazy_perlin subview 2022-06-30 23:09:28 +03:00
079157f201 Fix pcg::lazy_perlin normalization 2022-06-30 23:08:44 +03:00
f574850621 Fix setting up instanced VAO attribs using gfx::setup 2022-06-30 23:08:13 +03:00
bd7f8e6658 Add gfx::array::operator bool 2022-06-30 23:07:51 +03:00
abc0af2a79 Setup gfx::mesh when loading imported mesh 2022-06-30 14:06:02 +03:00
94cb475ecc Add generic ndtree implementation 2022-06-29 12:13:10 +03:00
fa27ef4d79 Support early exit in cg::separation for intersection tests 2022-06-29 12:12:51 +03:00
63662124d5 Add geom::half_open_contains 2022-06-29 12:12:27 +03:00
f3d005b4f3 Support util::statistics_lite::push(value,count) 2022-06-26 16:14:51 +03:00
dc232b8fba Support edge visit callbacks in util::pathfinder 2022-06-26 12:27:38 +03:00
012591da85 Add bt::on_event 2022-06-25 10:47:01 +03:00
8a7e95a6d1 Fix pathfinding in case start = end 2022-06-24 15:06:28 +03:00
c6f971a36f Support removing entities while iterating in util::ecs 2022-06-23 17:28:34 +03:00
b519391f83 Fix gfx::bone_transform::matrix 2022-06-23 00:10:17 +03:00
8d2f244d0d Support gfx::compile armature pose ignoring local bone coordinate systems 2022-06-22 18:04:39 +03:00
a439d33b0f Support setting uniform block indices in gfx::program 2022-06-22 18:03:04 +03:00
a9cb71629e Support binding gfx::buffer via glBindBufferBase 2022-06-22 18:01:35 +03:00