Commit graph

71 commits

Author SHA1 Message Date
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
Alex Clink
7ddb90c040 Clean up repeated code 2022-01-15 13:59:33 -05:00
Alex Clink
61542eb691 Implement some 3d transforms relevant to 4x4 matrices with the class 2022-01-13 23:18:51 -05:00
Alex Clink
0658e23ecd Add more methods, cleanup 2022-01-11 21:48:23 -05:00
Alex Clink
f9a9fdfecb Update examples, extend SDL2 with streaming texture access 2022-01-09 18:50:21 -05:00
Alex Clink
4a9c451743 Small refactor 2022-01-07 00:06:51 -05:00
Alex Clink
c0d6d0ba90 Refactor drawing methods onto Sprite class 2022-01-06 20:25:39 -05:00
Alex Clink
5f7880c171 Add transform2d class 2022-01-06 00:38:47 -05:00
Alex Clink
f4409b4496 Update examples to use Vector instead of Point 2022-01-06 00:37:27 -05:00
Alex Clink
e5237337ed Change Point to Vector, remove Point 2022-01-06 00:36:48 -05:00
Alex Clink
1a76662f62 Add more vector and matrix methods + specs 2022-01-06 00:35:47 -05:00
Alex Clink
ad4af6b49f Add vector and matrix classes 2022-01-05 01:37:57 -05:00
Alex Clink
0795925440 Fix old references 2022-01-03 22:31:49 -05:00
Alex Clink
0846fd525b Update emitter to use Entity 2022-01-03 20:55:39 -05:00
Alex Clink
c8753f51a3 Remove CrystalEdge dependency 2022-01-03 00:17:23 -05:00
Alex Clink
40f0cf717b Add Sprite#sample method 2022-01-02 23:08:13 -05:00
Alex Clink
56b5cc198b Fix variable reference in sprite 2022-01-02 20:41:17 -05:00
Alex Clink
ce0f055bf5 Refactor, entity / sprite 2022-01-02 19:39:17 -05:00
Alex Clink
3e7685c613 Add more point methods 2022-01-02 11:45:53 -05:00
Alex Clink
bca45e1b9d Add arbitrary shape filling method 2021-12-30 23:17:25 -05:00
Alex Clink
098d285fa8 Add more methods to PF::Line 2021-12-30 18:18:11 -05:00
Alex Clink
3bb6547bf7 Add fill_shape method 2021-12-27 01:50:05 -05:00
Alex Clink
a0508f806a Add snow scroll example 2021-12-23 22:27:29 -05:00
Alex Clink
57ce71998d Add additional overload for draw_circle 2021-12-23 22:26:34 -05:00
Alex Clink
c8edef4db3 Make controller implementation specific to subclass 2021-12-22 22:18:14 -05:00
Alex Clink
9b38aa7475 Consolidate matrix definition 2021-12-22 21:18:25 -05:00
Alex Clink
0a93395b2d Update memoization / Cleanup 2021-12-20 23:33:09 -05:00
Alex Clink
a03670e9f6 Cleanup 2021-12-20 22:45:08 -05:00