Commit graph

110 commits

Author SHA1 Message Date
Alex Clink
5fc507fbaf Change from * to #splat 2024-03-11 00:04:34 -04:00
Alex Clink
0eb0eb2449 Update clipping 2023-06-11 20:01:18 -04:00
Alex Clink
926a345c9b Cleanup 2023-06-11 17:47:47 -04:00
Alex Clink
95544d17aa Update 3d assets 2023-06-11 17:14:24 -04:00
Alex Clink
0ff6a69305 Update build script 2023-06-11 17:13:35 -04:00
Alex Clink
172478cffa Add new audio effects 2023-03-26 14:20:18 -04:00
Alex Clink
44935fcbcc Refactor fill_triangle, add textured example 2022-03-29 22:59:02 -04:00
Alex Clink
2f65ce7de3 Fix line type 2022-03-29 22:55:05 -04:00
Alex Clink
6015a255d6 Change colors to constants 2022-03-29 22:54:31 -04:00
Alex Clink
329f57af0e Add depth buffer 2022-03-06 18:10:23 -05:00
Alex Clink
cf6409250f Improve file handling, add scaling 2022-03-06 18:09:44 -05:00
Alex Clink
bab69ad5f5 Correct for perspective in texturing 2022-03-06 14:26:35 -05:00
Alex Clink
0e599fbe94 Add textured triangle drawing function 2022-03-03 00:03:38 -05:00
Alex Clink
5c4eedf17d Return depth calculation as w 2022-03-03 00:02:59 -05:00
Alex Clink
2e3d2b67b5 Add linear interpolation function to line 2022-03-03 00:01:20 -05:00
Alex Clink
304a8a8830 Add doc 2022-03-03 00:01:04 -05:00
Alex Clink
2e6fca44e3 Handle texture coords when clipping 2022-03-03 00:00:19 -05:00
Alex Clink
2d44da33b4 Use out instead of uninitialized/pointer 2022-02-28 00:02:04 -05:00
Alex Clink
5b9a5571e2 Fix Typo 2022-02-27 12:53:20 -05:00
Alex Clink
5694e1380e Update constants 2022-02-27 12:51:00 -05:00
Alex Clink
bc416fa310 Add precursor to texture information to tri 2022-02-27 12:49:48 -05:00
Alex Clink
bc5f9e25d1 Refactor the Game class to separate some event logic 2022-02-27 12:45:51 -05:00
Alex Clink
58e4d59aa8 Add rect / bounding_box to cubic bezier 2022-02-25 00:38:53 -05:00
Alex Clink
6b1f3d0d1c Bump version 0.0.7 2022-02-24 00:03:37 -05:00
Alex Clink
09479bdc45 Add extremities finding for cubic bezier 2022-02-24 00:02:40 -05:00
Alex Clink
8a9adf13c7 Bump version 2022-02-20 00:37:39 -05:00
Alex Clink
94df341310 Refactor Bezier, small improvements 2022-02-20 00:37:08 -05:00
Alex Clink
2c22abf2ea Improve piano, add harmonica 2022-02-19 23:02:15 -05:00
Alex Clink
55f9ce35f4 Add volume 2022-02-19 22:58:43 -05:00
Alex Clink
ab9176c00d Add bezier paths 2022-02-16 00:45:54 -05:00
Alex Clink
2cf7bf3df9 Refactor audio synth 2022-02-16 00:45:54 -05:00
Alex Clink
22e6f007c4 Fix incorrect argument type 2022-02-06 10:52:24 -05:00
Alex Clink
b1e8752751 Remove PixelText class 2022-02-04 00:09:09 -05:00
Alex Clink
58850c7f0a Add voice, remove voice from sounds array if finished 2022-02-04 00:07:41 -05:00
Alex Clink
f659763ed8 Only create link if it doesn't exist 2022-02-04 00:05:57 -05:00
Alex Clink
95adcb54f5 Add LFO to oscillator, allow note math 2022-02-04 00:05:14 -05:00
Alex Clink
e0fe525cfa Remove dependence on external asset for drawing pixel text 2022-02-04 00:03:51 -05:00
Alex Clink
bddc1fe211 Add audio synthesis 2022-02-02 00:34:52 -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
3db76bcd44 Add script to build all examples 2022-02-02 00:31:38 -05:00
Alex Clink
cef302ec1b Add queue audio function 2022-02-01 23:49:23 -05:00
Alex Clink
4aae686c45 Add noise 1d example - experimental 2022-01-27 23:04:24 -05:00
Alex Clink
e601c7fb87 Update sdl2 2022-01-27 22:43:51 -05:00
Alex Clink
d43cbb11ae Fix default seed initializer
Namespace was overridden
2022-01-26 20:19:55 -05:00
Alex Clink
635927465d Add animation class 2022-01-25 23:32:48 -05:00
Alex Clink
60a9254583 Prefer bracket notation for vector 2022-01-25 00:14:53 -05:00
Alex Clink
15929e4bb1 Add animated sprite example 2022-01-24 22:05:04 -05:00
Alex Clink
7be005de2f Fill snowflakes 2022-01-24 22:04:35 -05:00
Alex Clink
38dbaea4af Add fill_circle drawing method 2022-01-24 22:03:49 -05:00
Alex Clink
cc1757ab4f Improve matrix speed by using stack allocated memory 2022-01-24 19:47:14 -05:00