Commit Graph

15 Commits

Author SHA1 Message Date
a0d524b825 task: rewrite event handling as a step towards event-based subscriptions 2024-12-14 14:53:24 +01:00
59c3307c27 geometry: make rectangle::new const 2024-12-01 21:09:56 +01:00
36aead9762 src: use core instead of std in some places, aiming for no_std compat 2024-12-01 16:17:51 +01:00
198aa0ebd0 cleanup++ 2024-11-29 18:13:38 +01:00
26a8924bc8 clippy++ 2024-11-29 10:58:17 +01:00
2f9b99c2b0 geometry: cut down on <> noise with associated types 2024-11-29 00:10:52 +01:00
54e7506865 mappings: rewrite pixel maps to use the stronger geometry primitives and coordinate space APIs 2024-11-24 19:09:20 +01:00
e8f6a90d0f geometry: style++ 2024-11-24 19:04:35 +01:00
60bcf4faa3 geometry: implement distance API for points 2024-11-24 18:59:16 +01:00
450fbbf9c9 geometry: simplify coord traits, add sized, clone, copy, etc 2024-11-24 18:58:36 +01:00
23fcf1f35f geometry: s/assert/debug_assert/ 2024-11-23 15:01:24 +01:00
a7b681a046 geometry: implement width/height/left/top/right/bottom operations for rectangles 2024-11-23 15:01:02 +01:00
7b6cf42e4f geometry: require Ord for coordinates, to implement asserts in rectangles 2024-11-22 15:50:49 +01:00
e329a56c90 geometry: rewrite Coordinates trait into a concrete struct, pass coords by reference to shaders, and add a Rectangle type 2024-11-16 11:37:24 +01:00
3f20c07369 renderbug: first implementation of virtual coordinate based rendering 2024-10-27 15:14:59 +01:00