Commit Graph

410 Commits

Author SHA1 Message Date
a7590426eb Added Renderer::camera_3d_camera_transform_matrix_stack_clear() and Renderer::get_camera_3d_model_view_matrix_stack_clear() helper methods. 2025-02-23 10:42:58 +01:00
c382024f95 Added Renderer::camera_3d_reset(). 2025-02-23 10:39:47 +01:00
a7a73b1081 Simplifications and a small rework to the immediate renderer's 2d camera api.
- Now camera_2d_projection_set_to_* helper methods won't mess with the
model view matrices.
- Added camera_2d_reset().
- Added helper methods to clear each matrix separately.
- This also fixes a bug where the internal matrices were kept after a
reset.
2025-02-23 10:36:14 +01:00
6bb0a96196 Renamed audio.cpp so the makefile works for compiledb generation. 2025-02-23 10:31:48 +01:00
9bc61d6192 Added the gui module to the readme. 2025-02-19 17:08:43 +01:00
2264f7a768 Also added ColoredTextureMaterial2D to the docs. 2025-02-19 17:06:29 +01:00
6870ecfbec Format audio.cpp. 2025-02-19 17:03:54 +01:00
679ef20c53 Removed the midi api. 2025-02-19 17:00:56 +01:00
f2f89ddd9a Added stb vorbis. 2025-02-19 17:00:50 +01:00
bcd07c0511 Removed ui_audio(). 2025-02-19 16:55:43 +01:00
bb030eb32e Renamed audio.c to audio.cpp 2025-02-19 16:55:16 +01:00
764756d962 Remove API declarations. 2025-02-19 16:54:52 +01:00
aa89017aea Renamed some files. 2025-02-19 16:54:11 +01:00
ba50d38138 Added the audio framework from FWK. 2025-02-19 16:53:25 +01:00
3451cd57c4 Added a new ColoredTextureMaterial2D class. Also made the immediate mode renderer use it. This fixes color modulation. 2025-02-19 16:50:15 +01:00
3ecea44801 Actually fix shaders for amd gpus. 2025-02-19 16:31:16 +01:00
ade786cd55 Also strip _ALWAYS_INLINE_ from the docs. 2025-01-31 12:59:06 +01:00
a26181551f Fix stripping #if-s from the docs. 2025-01-31 12:57:41 +01:00
728e9e7301 (Hopefully) Shader fix for amg gpus. 2025-01-31 11:09:59 +01:00
3c2fd7e43a Cleanups. 2025-01-31 11:08:44 +01:00
6e147aa1e6 Bump version. 2024-09-14 22:05:31 +02:00
f8f2e6668e Removed imgui demos. 2024-09-14 22:05:22 +02:00
90bea9ffa1 Fix typo. 2024-09-14 21:39:44 +02:00
5bb3d5bccf Fix amalgamated build on osx. 2024-09-14 21:38:18 +02:00
c94d218250 Small tweak to the make release script. 2024-09-14 20:47:53 +02:00
f97894c4cd Render gui docs. 2024-09-14 20:42:32 +02:00
b825838a66 GUI docs for the full template. 2024-09-14 20:39:08 +02:00
ec57a87255 Tweaks to the merger and make release scripts. 2024-09-14 20:12:13 +02:00
ab61a7b2df Disable BindSamplers. 2024-09-14 19:47:55 +02:00
23de62a08d Backport using the ui in the render test app demo. 2024-09-14 19:20:59 +02:00
268e9417ff Update the gui amalgamation. 2024-09-14 19:16:55 +02:00
f52066f568 Fix compiling the amalgamation. 2024-09-14 19:14:40 +02:00
f56ce2d39b Don't use imgui's opengl loader in the amalgamation. 2024-09-14 18:23:30 +02:00
74e437a3df Fix define. 2024-09-14 18:19:28 +02:00
709658f71d SMall tweaks, and added the render gui section to sfw_full. Note that the amalgamation doesn't ywt compile. 2024-09-14 18:17:23 +02:00
f00af0868a Update a test compile linux demo script. 2024-09-14 18:16:00 +02:00
51a1dd4989 Set up merged gui version. 2024-09-14 17:59:49 +02:00
1249239843 Include cleanups. 2024-09-14 17:07:13 +02:00
48c763499a Move imgui's stb truetype to render_core, and make it the only available implementation. 2024-09-14 17:07:00 +02:00
ba38f48840 Simplify glfw import on mac. 2024-09-14 16:42:27 +02:00
7dc440b01d Fixes to compile_vs.bat. 2024-09-14 15:01:24 +02:00
2afdc35935 Fixes for windows. 2024-09-14 14:55:17 +02:00
febe2396f1 Don't include system GLFW headers. 2024-09-14 13:54:29 +02:00
32820bd428 GUI fix for osx. 2024-09-14 13:54:17 +02:00
97aa025aaf Update the other compile scripts. 2024-09-14 13:16:32 +02:00
d74c93548e Gitignore imgui.ini 2024-09-14 12:25:00 +02:00
1bb589c3cf Added an anther demo to show how to use tu ui in user code. 2024-09-14 12:24:40 +02:00
7c408a08bf Also added imgui demo code. 2024-09-14 12:21:04 +02:00
c30ef4ce1e Clang format gui.h and cpp. 2024-09-14 12:10:34 +02:00
69988dcae8 Move the test method. 2024-09-14 12:09:12 +02:00