Commit graph

98 commits

Author SHA1 Message Date
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
Alex Clink
bf2fcaef58 Add more characters to pf-font 2022-01-23 19:57:39 -05:00
Alex Clink
09196b6542 Add procedural generation example 2022-01-23 16:20:47 -05:00
Alex Clink
3ff375493d Add Lehmer32 random number generator 2022-01-23 16:20:30 -05:00
Alex Clink
acff191dab Add method to check if any key is pressed 2022-01-23 16:20:14 -05:00
Alex Clink
829ee59c54 Add ability to set background when drawing 2022-01-23 16:19:51 -05:00
Alex Clink
39d5a87ce1 Add type overloads 2022-01-22 23:46:12 -05:00
Alex Clink
67ad23efe3 Improve transform2d 2022-01-22 23:44:44 -05:00
Alex Clink
5456adad4e Add specs 2022-01-22 23:43:34 -05:00
Alex Clink
686c6bd006 Fix documentations 2022-01-17 15:44:42 -05:00
Alex Clink
0bb7902e4d Version 0.0.5 2022-01-17 15:12:31 -05:00
Alex Clink
a63effac65 Remove Mat4 in favor of Matrix(T, W, H) 2022-01-17 15:03:43 -05:00
Alex Clink
257090e927 Consolidate vector classes 2022-01-17 14:52:13 -05:00