Commit graph

14 commits

Author SHA1 Message Date
Alex Clink
0bf101777e
Extract 2d and 3d functions into separate libraries 2024-10-07 01:05:59 -04:00
Alex Clink
6015a255d6 Change colors to constants 2022-03-29 22:54:31 -04:00
Alex Clink
bc5f9e25d1 Refactor the Game class to separate some event logic 2022-02-27 12:45:51 -05:00
Alex Clink
c43dfbd90e Use PF::Keys instead of LibSDL::Scancode, add fill_rect method 2022-02-02 00:33:53 -05:00
Alex Clink
257090e927 Consolidate vector classes 2022-01-17 14:52:13 -05:00
Alex Clink
f4409b4496 Update examples to use Vector instead of Point 2022-01-06 00:37:27 -05:00
Alex Clink
ce0f055bf5 Refactor, entity / sprite 2022-01-02 19:39:17 -05:00
Alex Clink
c8edef4db3 Make controller implementation specific to subclass 2021-12-22 22:18:14 -05:00
Alex Clink
199b8fbdf4 Fix fill triangle method 2021-12-05 22:02:11 -05:00
Alex Clink
10dd27dd43 Add cube example 2021-11-30 23:05:07 -05:00
Alex Clink
873c12a0cf Optimize triangle fill - don't allocate array of points 2021-11-30 20:02:59 -05:00
Alex Clink
60f1e39ae9 Clarify the line drawing algorithm 2021-11-29 22:32:55 -05:00
Alex Clink
db5a1747fa Fix draw_point bounds, add Point struct 2021-11-29 22:04:31 -05:00
Alex Clink
1f293b1bb3 Add drawing functions 2021-11-29 02:26:51 -05:00