Commit Graph

233 Commits

Author SHA1 Message Date
611aa0b502 fixed accidental delete on app-close 2022-02-10 01:15:30 -08:00
f56e3bb2b2 moved Sprite Batcher's default shader to Renderer; no longer a global var 2022-02-10 01:13:20 -08:00
2619d2d9e0 fixed preprocessor typo from renderer refactor 2022-02-10 00:11:58 -08:00
012dae8699 reorganized readme, fixed a few typos 2022-02-09 23:48:05 -08:00
f5e8de0b11 Refactored Graphics to allow Renderer choice at runtime 2022-02-09 18:49:47 -08:00
ae6a2f12d4 fixed Vec3f::normal 2022-02-01 19:48:01 -08:00
09f88d293f removing non std::filesystem calls in platform_sdl2 2022-01-25 22:54:38 -08:00
ccd02fa9ef added App::focused and System::open_url apis 2022-01-25 22:50:20 -08:00
4620b1bd70 Fixed readme CMake version needed (3.12 to 3.14) 2022-01-09 19:20:13 -08:00
ae98f9cbf2 Simplifying SDL2 include 2022-01-09 19:18:51 -08:00
92b7c7c747 updated readme to reflect cmake changes 2022-01-09 18:40:30 -08:00
5f4a332d14 fixed D3D11 shutdown warnings 2022-01-09 18:31:20 -08:00
c8afa3f699 Vec2::normal accounts for zero-length 2022-01-09 14:32:50 -08:00
832c8f4283 simplifying Input enums 2022-01-09 14:32:35 -08:00
53ebb40ffd fixed packer's off-by-one error with padding 2022-01-09 13:51:23 -08:00
168424039c fixed missing vec3/vec4 constructors 2022-01-09 13:50:50 -08:00
2893680ef8 changing CMake vars to have a BLAH prefix 2022-01-09 13:50:16 -08:00
4ad55298a5 fixed typo in readme example code 2022-01-06 01:41:09 -08:00
db8f54e2f9 CMake to 3.14, replaced FetchContent_GetProperties 2022-01-04 20:31:39 -08:00
91503a5520 Updated LICENSE year 2022-01-04 14:23:51 -08:00
3b6686b3ef Updated default SDL2 cmake FetchContent to 2.0.18 2022-01-04 14:23:17 -08:00
1ee2fbab3d string internal set method has additional safeguard for bad data 2021-12-18 02:48:51 -08:00
10c1c39419 fixed missing <cstring> #include for vector.h 2021-12-18 02:48:06 -08:00
d91658aa46 large spatial / numerics refactor to allow double/integer vector types 2021-12-12 20:41:23 -08:00
8f9c6aa9ff Sprite Batcher has fields for optional texture/sampler uniform names 2021-08-06 16:03:44 -07:00
ba3c60b6cd fixed d3d11 Texture::get_data, which didn't use RowPitch 2021-07-16 15:19:07 -07:00
7f1ef67d0c Merge pull request #11 from Tarun-Ramaswamy/fix-readme-invalid-links
Fixed invalid links in README.
2021-06-03 12:45:49 -07:00
ede6b56732 Fixed invalid links in README.
Errors were caused since "backend" was removed from internal namespaces in the previous commit
2021-06-03 18:44:52 +05:30
5ba620c066 cleaning up color struct 2021-05-25 21:31:18 -07:00
6f0ac3e8c2 removing pointless forward declaration 2021-05-25 21:30:58 -07:00
9eca790f9b removing "backend" from internal namespaces 2021-05-25 21:30:46 -07:00
d7cef352a5 simplifying input backend & input state update 2021-05-19 11:21:08 -07:00
b7e318e420 Mat3x2 tweaks 2021-05-19 11:20:22 -07:00
78f6f66bff catching null strings in Str::starts_with/ends_with 2021-05-19 11:20:08 -07:00
b68729850b cleanup pass on numerics 2021-05-11 02:27:00 -07:00
991cfcad82 adding more App windowing methods 2021-05-09 19:46:08 -07:00
76525f91c5 cleaning up App::config getter and removing App::is_running 2021-05-09 19:40:50 -07:00
c51d397ccc cleaning up file / memory streams 2021-05-09 19:30:01 -07:00
2447490033 simplifying input calls & state 2021-05-09 18:37:31 -07:00
81e2de3553 missing opengl backend from last commit 2021-05-09 17:23:19 -07:00
e615b9d7e4 large organizational & cleanup refactor 2021-05-09 17:23:02 -07:00
e65752f30b Image move operator fix 2021-05-09 15:08:59 -07:00
04f6257b75 various small C++ warning fixes 2021-05-06 21:48:06 -07:00
fb91b77900 fixed a few SDL2 platform details for compiling on non-windows 2021-05-06 20:48:11 -07:00
60f3939ff7 added resize method to bufferstream 2021-05-06 20:47:52 -07:00
5f9df4beee cleaned up Calc template functions 2021-05-06 20:47:40 -07:00
6f2cf82b8e added std::hash for custom string type for use in unordered_map etc 2021-05-06 20:47:22 -07:00
e79ece2db3 Merge pull request #10 from shortgecko/patch-1
Update README.md
2021-04-26 13:48:52 -07:00
0e3ea088d1 Update README.md
updated the read me, so the link to the spritebatcher actually works, since batch went from being in drawing/batch to graphics/batch
2021-04-26 19:15:50 +05:00
cf1771926d fixed StackVector copy/move assignment operators 2021-04-24 22:47:44 -07:00