Commit Graph

17 Commits

Author SHA1 Message Date
1b9c842077 Correcting circle intersection code to not return virtual intersections. 2025-08-28 16:07:48 -05:00
2e340b7d28 Switched to storing vertices as points and using a local to world function, instead of repeating myself. 2025-08-28 13:42:22 -05:00
d7c4dea2cb Code to extract the point pair from a bivector and get the intersection points of two circles. 2025-08-27 17:16:17 -05:00
231173656f Improved geometry finding to be more pedagogical. Minor modifications to remove some warnings. 2025-08-25 17:31:11 -05:00
6d5b9456ea Added some utility functions and intersection testing. 2025-08-25 15:51:57 -05:00
3d84fff063 Implemented basic asteroid, moved ship drawing and updating into impl Ship block. 2025-08-24 14:21:57 -05:00
2495b52ccf deleted some logging. 2025-08-24 12:36:34 -05:00
8cd2985548 Pretty sure the lack of an n in the equation was a typo in the reference material. 2025-08-24 12:35:43 -05:00
98c06cef4a Able to draw lines of ship between the three vertices. 2025-08-24 12:14:02 -05:00
7def50cbf0 Basic read me and added copy of MIT License to cga.rs 2025-08-23 18:13:34 -05:00
2b26cd4197 Added terminology at the top of file for clarity in comments explaining things. Added Null geometry option instead of a panic. The center of mass and orientation are now stored as rotors, not generators; changed draw and update code accordingly. Added a line that points straight ahead to orient player. Fixed acceleration logic error that didn't map it to world coordinates. Added comments, probably more than needed. Probably should have broken this up more as I went. 2025-08-23 17:52:13 -05:00
0f351593ab have a ship that can move on the screen. 2025-08-22 19:55:03 -05:00
6c7662b5e6 added update loop and game state. 2025-08-22 11:35:45 -05:00
56c2a6440c Split the geometry finding code from the drawing code. 2025-08-21 00:28:39 -05:00
5cc0ee645a Comments. Extra test circles. 2025-08-20 21:03:08 -05:00
9f5775a99d Created a function for the conversion of coordinates from algebra space to screen space. Typo. 2025-08-20 20:48:21 -05:00
87965cafb5 Hyperbolic Asteroids, first commit. Rendering Poincare disk, circles, and lines. 2025-08-20 20:32:43 -05:00