Commit Graph

126 Commits

Author SHA1 Message Date
Graham Pentheny
7be75a8d36 Removed unnecessary array length global 2025-08-24 17:19:51 -04:00
Graham Pentheny
446c31b622 rename fogColor to FOG_COLOR 2025-08-24 17:13:44 -04:00
Graham Pentheny
686f9afd44 Use unique_ptr to automatically handle the lifetime of sample 2025-08-24 17:12:48 -04:00
Graham Pentheny
6374838d93 Use unique_ptr for TestCase 2025-08-24 17:01:50 -04:00
Graham Pentheny
84b967ebbe Reduce header includes in AppData.h 2025-08-24 16:45:30 -04:00
Graham Pentheny
a272a3d31d fixed casing on some AppData methods 2025-08-24 16:39:36 -04:00
Graham Pentheny
dc9bdbe5a1 Removed more unused matrix parameters 2025-08-24 15:32:07 -04:00
Graham Pentheny
e6c33c3a0f Rename "handleRender" to "render" 2025-08-24 15:21:45 -04:00
Graham Pentheny
8b7e275d79 Removed more unused matrix parameters 2025-08-24 15:21:06 -04:00
Graham Pentheny
cb16d04b95 Move AppData to its own header and make it a global variable
This allows for helper functions to more easily access things like the IMGUI window, or the projection matrix.
2025-08-24 14:29:31 -04:00
Graham Pentheny
f9b39663c9 Fixed some compiler warnings that were being treated as errors 2025-08-21 21:22:44 -04:00
Graham Pentheny
bbb1bf54fc Fixed raycasting when rendering on a high dpi screen 2025-08-17 18:23:00 -04:00
Graham Pentheny
be5867c0b2 Removed unnecessary projection swapping for UI 2025-08-17 16:29:11 -04:00
Graham Pentheny
c8a750caac Clean up some AppState comments/docs 2025-08-17 13:47:02 -04:00
Graham Pentheny
5b522c289c Set vsync and remove FPS limiting 2025-08-17 13:29:53 -04:00
Graham Pentheny
bfd963893e Split out mesh data into its own struct 2025-08-06 11:28:58 -04:00
Graham Pentheny
a899c3cb0f rename handleSettings to drawSettingsUI 2025-08-05 13:51:20 -04:00
Graham Pentheny
06ea1be2ae rename handleTools to drawToolsUI 2025-08-05 13:50:14 -04:00
Graham Pentheny
a97ce303b8 Rename handleToggle to onToggle 2025-08-05 13:49:20 -04:00
Graham Pentheny
67e4ddfe34 Rename handleDebugMode to drawDebugUI 2025-08-05 13:48:40 -04:00
Graham Pentheny
a68186daaf Rename handleClick to onClick 2025-08-05 13:47:46 -04:00
Graham Pentheny
af4e86f32f Rename handleStep to singleStep 2025-08-05 13:47:18 -04:00
Graham Pentheny
5cc17b8a39 rename handleMeshChanged to onMeshChanged 2025-08-05 13:46:30 -04:00
Graham Pentheny
a954d7e9f0 rename handleBuild to build 2025-08-05 13:46:01 -04:00
Graham Pentheny
13f61a5747 rename handleUpdate to update 2025-08-05 13:45:16 -04:00
Graham Pentheny
434299ec5b Rename handleRenderOverlay to renderOverlay 2025-08-05 13:44:15 -04:00
Graham Pentheny
efd1401b6b Rename handleRender to render 2025-08-05 13:40:47 -04:00
Graham Pentheny
3a9c6ab3b3 Added RightAlignText helper function 2025-08-05 13:36:33 -04:00
Graham Pentheny
708a7b68ac Move sample selection before input mesh selection again 2025-08-05 13:27:18 -04:00
Graham Pentheny
06e49c3be4 Fixed pointer offset caused by style settings 2025-08-04 17:12:19 -04:00
Graham Pentheny
7d6486d30a Bigger window dimensions 2025-08-04 16:50:00 -04:00
Graham Pentheny
8428cd1525 Revive Test case selection UI 2025-08-04 12:17:09 -04:00
Graham Pentheny
e2ff34d7a8 Simplify some frame time delay logic 2025-08-04 12:16:35 -04:00
Graham Pentheny
fb5e567ace Consolidate some constants 2025-08-03 19:16:38 -04:00
Graham Pentheny
12ce3c2368 Removed unnecessary accessors 2025-07-29 23:16:14 -04:00
Graham Pentheny
50381dd2a6 Fixed UI window sizing, positioning, resizability 2025-07-29 02:09:59 -04:00
Graham Pentheny
27e72712f6 Simplify some UI rendering conditionals 2025-07-29 02:03:27 -04:00
Graham Pentheny
0d05f532ce Enable high-DPI support 2025-07-29 01:56:23 -04:00
Graham Pentheny
fc32610aa5 renamed some variables 2025-07-29 00:22:35 -04:00
Graham Pentheny
32d6e1640b Remove some usings since they're a bit unnecessary 2025-07-29 00:19:44 -04:00
Graham Pentheny
c87a4b3056 Removed unnecessary build context setter 2025-07-22 01:02:41 -04:00
Graham Pentheny
8c75eeed3c Removed unnecessary accessor for inputGeometry 2025-07-21 01:12:19 -04:00
Graham Pentheny
a94dee954d More code cleanup
# Conflicts:
#	RecastDemo/Include/InputGeom.h
#	RecastDemo/Include/SampleInterfaces.h
2025-07-19 11:53:01 -04:00
Graham Pentheny
cbbbad99a1 Convert file IO to use FileIO class in SampleInterfaces.h
de-duping a lot of standard file IO
2025-07-19 11:47:13 -04:00
Graham Pentheny
95a7b45c32 More WIP DearImGUI conversion 2025-07-13 12:43:10 -04:00
Graham Pentheny
d534b4dc14 WIP DearImGui conversion 2025-07-12 15:02:54 -04:00
Graham Pentheny
6b906538dc WIP DearImGui conversion 2025-07-10 11:11:54 -04:00
Graham Pentheny
d1e513aeaf Remove MeshLoaderObj class. Replace with parseObjModel function 2025-07-07 00:54:57 -04:00
Graham Pentheny
758fb8e5d5 Silencing more value conversion warnings 2025-06-28 15:00:44 -04:00
Graham Pentheny
d647ba4305 Fixed compilation warnings treated as errors on Windows 2025-06-28 14:44:19 -04:00