Commit Graph

75 Commits

Author SHA1 Message Date
Graham Pentheny
b50bfdbb5f Fixed bad macro 2025-08-07 16:47:38 -04:00
Graham Pentheny
dd22352753 Use toolNames array to get tool name strings 2025-08-07 16:06:08 -04:00
Graham Pentheny
2e3977426e Renamed tool methods 2025-08-07 15:10:40 -04:00
Graham Pentheny
e79906ee48 Improved return method for node indexes from partitioned mesh queries 2025-08-06 13:03:45 -04:00
Graham Pentheny
47f82a60cd Rename ChunkyTriMesh to PartitionedMesh 2025-08-06 12:45:31 -04:00
Graham Pentheny
558d4dfffd Cleanup ChunkyTriMesh 2025-08-06 12:39:08 -04:00
Graham Pentheny
bfd963893e Split out mesh data into its own struct 2025-08-06 11:28:58 -04:00
Graham Pentheny
c05bbeb6ad Removed unnecessary accessor for chunkyMesh 2025-08-05 21:42:53 -04:00
Graham Pentheny
b42dfae643 Removed unnecessary accessor for convexVolumes 2025-08-05 16:24:32 -04:00
Graham Pentheny
7ba105dc72 Rename volumeCount to convexVolumeCount 2025-08-05 16:14:25 -04:00
Graham Pentheny
7d4601b314 Removed unnecessary accessor for volumeCount 2025-08-05 16:13:32 -04:00
Graham Pentheny
05d37a0b9a Removed unnecessary accessor for offMeshConVerts 2025-08-05 16:10:31 -04:00
Graham Pentheny
40c001593c Removed unnecessary accessor for offMeshConRads 2025-08-05 16:09:32 -04:00
Graham Pentheny
8baf492587 Removed unnecessary accessor for offMeshConDirs 2025-08-05 16:08:48 -04:00
Graham Pentheny
9e02d72e34 Removed unnecessary accessor for offMeshConFlags 2025-08-05 16:03:36 -04:00
Graham Pentheny
37eeaf128f Removed unnecessary accessor for offMeshConFlags 2025-08-05 16:02:42 -04:00
Graham Pentheny
3102022136 Removed unnecessary accessor for offMeshConId 2025-08-05 16:01:41 -04:00
Graham Pentheny
a1f2d3df09 Removed unnecessary accessor for offMeshConCount 2025-08-05 16:00:21 -04:00
Graham Pentheny
6ebbb12684 renamed handleCommonSettings to drawCommonSettingsUI 2025-08-05 13:52:37 -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
67e4ddfe34 Rename handleDebugMode to drawDebugUI 2025-08-05 13:48:40 -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
065fd54c81 Use static arrays of strings for tool and display names 2025-08-04 15:54:35 -04:00
Graham Pentheny
0cceb7fb92 Removed unnecessary agent radius accessor 2025-07-22 00:58:52 -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
df083917b4 Cleanup temp obstacles sample code 2025-07-13 13:16:35 -04:00
Graham Pentheny
68bb671a64 Auto-formatting 2025-07-13 12:55:57 -04:00
Graham Pentheny
700ac4d832 Fixed narrowing conversion warnings 2025-07-13 12:55:01 -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
d10e82d0c9 Rename rcChunkyTriMesh to just ChunkyTriMesh since it's a class that's part of the demo project, not Recast itself. 2025-06-02 01:22:24 -04:00
Graham Pentheny
8a6c7ed8e1 removing hungarian notation from sample class field names 2025-05-30 01:58:52 -04:00
Graham Pentheny
20e3afbb03 Use vectors and methods in ChunkyTriMesh to simplify things 2025-05-05 15:34:18 -04:00
Graham Pentheny
f41add72f7 Cleanup temp obstacle sample 2025-04-01 22:32:02 -04:00
Graham Pentheny
37c14b8f70 Trim trailing whitespace 2025-03-31 01:06:50 -04:00
Graham Pentheny
a1d3fe8086 convert SampleToolType to enum class 2025-03-31 01:02:50 -04:00
Graham Pentheny
ad6b1ec2c6 Some better names for fields in Sample class 2025-03-31 00:26:19 -04:00
Graham Pentheny
b43c82c808 Removed _USE_MATH_DEFINES directive (#596)
Since none of the `M_` prefixed constants are used anywhere in the code, this is unnecessary.  It's also Windows-specific, so these non-standard defines shouldn't be used anyway.

Ref: https://learn.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-170
2022-12-29 15:09:01 -05:00
Graham Pentheny
5111139558 Fixes for many low-severity compiler warnings (#576)
* Fixes for many low-severity compiler warnings

Mostly a lot of pedantic things like end-of-file newlines and commas on the last enum value.  However some fixes like the weak v-tables warnings fixes might help with code gen.  It's unclear if the linker is able to elide multiple copies of the same type's v-table in different translation units, (sometimes it can) but these fixes ensure we don't have to rely on it.
2022-11-11 21:03:03 -05:00
Jarrett
56dbf4c482 Allow 64 bit windows builds (#301) 2018-10-16 00:02:51 +02:00
Domenico Albani
03eb2f92f3 Make RecastDemo colors more meaningful (#254)
Implement a SampleDebugDraw which will color area types meaningfully, for example
color water as blue, grass as green and so on.
2017-02-02 20:27:43 +01:00
Jonathan Adamczewski
34ab687e21 Add support for heightfield filter toggles in Sample_TempObstacles 2017-01-12 16:58:26 +00:00
Ben Hymers
f8c8beb3cb Fix some warnings by adding error checking to Sample_TempObstacles::loadAll (#245) 2017-01-12 12:53:39 +01:00