84 Commits

Author SHA1 Message Date
rexy712
96de779f55 Change gl extension loader from gl3w to glad since gl3w was loading incorrect addresses and causing segfaults. Also add opengl context debugging output 2020-09-27 08:19:59 -07:00
rexy712
c13bf59949 Add camera class because I felt like it 2020-09-26 16:47:00 -07:00
rexy712
65e08c5464 Fix matrix multiply not returning anything lol 2020-09-26 16:46:39 -07:00
rexy712
41780c24f0 Fix quaternion access to matrix elements 2020-09-26 15:46:53 -07:00
rexy712
180922c6fc Rudimentary grid 2020-09-26 10:51:14 -07:00
rexy712
5787a362ca add long double matrix debug overload 2020-09-26 10:17:29 -07:00
rexy712
1f6de5ba70 Fix mat warnings and add debug printout functions 2020-09-26 09:50:58 -07:00
rexy712
2245e8cea1 Fix _rad and _deg literal operators not working 2020-09-26 09:27:34 -07:00
rexy712
38954946e8 Add shader uniform getters 2020-09-26 09:26:50 -07:00
rexy712
85fad726cc Remove unused global variable 2020-09-23 10:29:44 -07:00
rexy712
adde85b8f6 change 'graphics' namespace to 'gfx' and 'audio' namespace to 'sfx' to make it less cluttery and easier to type out 2020-09-23 10:28:26 -07:00
rexy712
d28201824b Make graphics::window initialize gl3w upon context creation 2020-09-23 10:19:37 -07:00
rexy712
868ab5225e Add option to colorize error/warning debug messages 2020-09-23 10:18:38 -07:00
rexy712
7503a2320d Add glfw global initialization 2020-09-23 09:27:18 -07:00
rexy712
fb692b80b4 Add RAII window class 2020-09-22 15:24:31 -07:00
rexy712
d0fc25d3c2 Add gay thread back into test program 2020-08-31 11:21:51 -07:00
rexy712
0eb54012dc Add example usage of the RAII opengl wrappers 2020-08-31 11:17:53 -07:00
rexy712
eb334a2a90 Add default framebuffer clearing to render.cpp 2020-08-31 11:17:37 -07:00
rexy712
089ab7539c Fix issues with vbos and binding. Also fix issue with multiple definition of explicit template specialization 2020-08-31 11:17:10 -07:00
rexy712
aad6db9b29 Add vao RAII class 2020-08-31 10:12:10 -07:00
rexy712
f6bc17f71b Add some more small clarification comments 2020-08-30 10:48:06 -07:00
rexy712
92be9fad8b Add some documentation comments 2020-08-30 10:33:23 -07:00
rexy712
74700fcf18 Add an untested vbo class and helpers 2020-08-30 09:41:26 -07:00
rexy712
dd57ac2c71 Fix some #include issues with stb and gl3w 2020-08-30 05:29:15 -07:00
rexy712
10cdd3b52b Merge branch 'master' into rexy-graphics 2020-08-29 13:08:21 -07:00
rexy712
4ba48e832d Fix moans being pitch shifted 2020-08-29 13:07:41 -07:00
rexy712
36b45e6161 Add some graphics building blocks borrowed from old projects 2020-08-29 13:05:52 -07:00
rexy712
7026363400 Fix missing include in math headers 2020-08-29 13:01:11 -07:00
rexy712
202692a56a Add accessors to audio::mixer 2020-08-25 14:05:36 -07:00
rexy712
dd16d8be84 A quick lint run 2020-08-22 16:13:53 -07:00
rexy712
fa5c203cf8 Maybe fixed the glitchiness at startup even more? 2020-08-22 15:50:52 -07:00
rexy712
dd7ccc85b9 Remove some amount of glitchiness from portaudio initialization 2020-08-22 14:13:01 -07:00
rexy712
1987f3b9fa Audio file simplifications, add a couple debug utilities 2020-08-22 11:59:12 -07:00
rexy712
a71c3c27c4 Fix issue with mono -> stereo upsampling 2020-08-22 02:19:14 -07:00
rexy712
9d2c64eb68 Replaced mp3 with ogg since libsndfile doesn't support mp3 2020-08-22 02:08:31 -07:00
rexy712
1b0cf9fb0e Separate impl::mixer declaration and definition 2020-08-22 02:04:53 -07:00
rexy712
723a42537a Add basic audio mixer 2020-08-21 20:39:43 -07:00
rexy712
03693c6d06 Add sound file decoding support with libsndfile 2020-08-18 09:11:58 -07:00
rexy712
09ba2d297c Fix audio stream initialization 2020-08-18 06:46:51 -07:00
rexy712
e3a89822be Start work on audio stuff 2020-08-17 20:04:43 -07:00
rexy712
56ccd0b5b7 missed one thing from last commit 2020-08-17 09:58:18 -07:00
rexy712
156b7c3212 Linting pass 2020-08-17 09:57:00 -07:00
rexy712
38d2ec4466 Refix copy constructor in render.hpp 2020-08-17 09:34:36 -07:00
rexy712
2369a8146c Cleanup aliases 2020-08-17 09:33:29 -07:00
rexy712
71278c460a Add quaternions. Move math to separate directory 2020-08-17 09:30:42 -07:00
rexy712
f79a3cc9bd Add vector class 2020-08-16 08:20:47 -07:00
rexy712
c7d5978d6d Fix matrix naming stuff so it's not so confusing no more 2020-08-16 08:20:32 -07:00
rexy712
932335bdc5 Specialize on square matrices 2020-08-16 06:47:52 -07:00
rexy712
1c89b24ce4 Remove gl3w.c from source files. Use rexy's fork of gl3w if you want a static library generated without any extra effort: ssh://<name>@rexy712.chickenkiller.com:1995/var/git/repos/rexy712/gl3w-fork 2020-08-16 06:18:39 -07:00
rexy712
acdc430e0f Fix determinate for 3x3 2020-08-15 21:09:37 -07:00