Commit graph

19 commits

Author SHA1 Message Date
fa27ef4d79 Support early exit in cg::separation for intersection tests 2022-06-29 12:12:51 +03:00
2fd8e73738 Fix cg::icosahedron - should implement triangles() instead of faces() 2022-04-21 22:16:00 +03:00
ae4ee3488a Replace cg::body_traits::dimension with constexpr dimension template variable 2022-01-08 15:44:57 +03:00
eff7f397b4 Add default implementation of cg::vertices 2022-01-08 15:44:28 +03:00
385efe5ff9 Fix cg::edges 2022-01-07 23:48:43 +03:00
79b9a8dd76 Add cg::frustum default constructor 2021-07-21 22:05:45 +03:00
72921c06e3 Add methods to calculate polygon geometric center & center of mass 2021-06-20 15:53:40 +03:00
2b8814e472 Change cg::dimension(body) to cg::body_traits<Body>::dimension 2021-05-28 11:50:20 +03:00
7eb589532c Fix 'no return statement' warning for separation function 2021-05-07 18:20:43 +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
891c3a0fbd Add 3D quickhull implementation (ported from older geom) 2021-01-23 21:34:21 +03:00
f0611657ac Generate empty source file for libraries with no sources 2021-01-18 18:10:35 +03:00
1a6444d010 Add convex body utilities to cg 2020-11-05 18:11:26 +03:00
d2d88ba7c5 Add 'psemek-' prefix to all psemek targets 2020-09-21 09:04:40 +03:00
6225f89f88 Uniformize code style & do a few code rearrangements 2020-08-27 16:49:46 +03:00
549f2ada41 Add util, geom, cg, pcg & gfx libs 2020-08-27 13:36:16 +03:00