Commit graph

1216 commits

Author SHA1 Message Date
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
9f0c5a78c3 Fix exporting mesh without parent 2022-06-23 22:38:41 +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
727ec22fff Mesh exporting script fixes 2022-06-22 18:42:43 +03:00
8d2f244d0d Support gfx::compile armature pose ignoring local bone coordinate systems 2022-06-22 18:04:39 +03:00
9d997bd88b Fix mesh exporting script: export armature if it is the selected object's parent 2022-06-22 18:04:13 +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
09ecce5e6d Add A* pathfinding implementation in util 2022-06-22 00:42:15 +03:00
d112a9cbf8 Add bt::forever 2022-06-21 20:09:44 +03:00
a425cc2f65 Make bt::condition accept a callable instead of being an interface 2022-06-21 20:09:37 +03:00
fbf21cbdec Add more bt nodes 2022-06-21 16:31:47 +03:00
90c0061825 Add new behavior trees library 2022-06-21 10:46:04 +03:00
f0c63bac7a Support loading sRGB textures 2022-06-20 22:11:50 +03:00
e0acd31259 Fix texture coordinates in blender model exporter 2022-06-20 22:11:43 +03:00
05608cc17c Don't allow indexing util::array with wrong number of indices 2022-06-20 17:32:50 +03:00
70f3b68077 Implement util::ecs packed/sparse policy 2022-06-19 22:26:22 +03:00
0cb197a6c4 Fix geom::intersection(segment,box) for axis-aligned segments 2022-06-19 22:25:56 +03:00
0bddeaf865 Add ordered dither mask generation to gfx 2022-06-18 17:35:50 +03:00
302e5e888f Support gfx::texture::mirrored_repeat 2022-06-18 15:18:49 +03:00
598ad99e65 Fix util::array resizing - move elements instead of copying 2022-06-18 15:18:39 +03:00
b77060abac Support retrieving geom::matrix row or column as a vector 2022-06-17 18:51:39 +03:00
6d0a8cec55 Add macro helper for generating structs 2022-06-13 01:01:13 +03:00
d4f299f277 Add basic binary serialization library with tests 2022-06-13 00:17:58 +03:00
9a47155284 Support advancing & retrieving internal pointer in io::memory_stream 2022-06-13 00:17:40 +03:00
f93383f06d Add pair & tuple stream output operators for tests 2022-06-11 13:59:16 +03:00
9edf94be0c Clang compilation fixes 2022-06-11 13:58:54 +03:00
ef5b8479ea Add io stream read/write_all 2022-06-11 13:55:13 +03:00
142d15fdcb Add io stream end errors 2022-06-11 13:53:13 +03:00
e4f212c44f Make profiler::dump a free function 2022-06-09 11:26:03 +03:00
36123f0a7d Move profiler to a separate library to break io <- util dependence 2022-06-09 11:23:53 +03:00
a2323884af 3D physics engine wip 2022-06-09 11:15:22 +03:00
141c707562 Add geom::subdivide for subdividing an indexed mesh 2022-06-09 11:15:10 +03:00
8e081d6d06 Add geom::smooth_normals 2022-06-09 11:14:47 +03:00
82a81c4c77 Add util::flat_list::begin/end 2022-06-09 11:12:47 +03:00
15f8e04308 Fix util::flat_list::data() 2022-06-09 11:12:37 +03:00