Graham Pentheny
8de2dcef5f
Use vectors to store offmesh connection data rather than arrays
2025-08-25 12:08:48 -04:00
Graham Pentheny
30d459ca73
Use a vector to store convex volumes rather than fixed-size array
2025-08-25 01:01:21 -04:00
Graham Pentheny
2d859216a4
Moved mesh loading to a method in Mesh class
2025-08-25 00:20:44 -04:00
Graham Pentheny
151b2e24b7
Use an enum class rather than an old-style enum for sample partition type
2025-08-25 00:02:32 -04:00
Graham Pentheny
8b7e275d79
Removed more unused matrix parameters
2025-08-24 15:21:06 -04:00
Graham Pentheny
f529408d8d
Removed more unused matrix parameters
2025-08-24 15:19:26 -04:00
Graham Pentheny
ff5a6052c1
Removed unnecessary matrix parameters from UI and overlay drawing methods
2025-08-24 15:16:18 -04:00
Graham Pentheny
192dc97b94
Rename "renderOverlay" to "drawOverlayUI"
2025-08-21 21:46:50 -04:00
Graham Pentheny
72296e7ea5
Renamed tools class files to use a Tool_ prefix
...
to group them in the project and make it align more with Sample_ etc.
2025-08-18 00:31:19 -04:00
Graham Pentheny
2e3977426e
Renamed tool methods
2025-08-07 15:10:40 -04:00
Graham Pentheny
bfd963893e
Split out mesh data into its own struct
2025-08-06 11:28:58 -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
d4f4d82c4d
Clean up some UI rendering in solo mesh sample build controls
2025-08-05 13:45:31 -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
0463758f21
Use a dropdown for draw mode rather than a set of radio buttons
2025-08-04 17:06:42 -04:00
Graham Pentheny
f1dc2eb125
Auto-format
2025-08-04 16:22:09 -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
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
aa58857a30
Removed hungarian notation from solo mesh fields.
2025-05-30 02:05:39 -04:00
Graham Pentheny
8a6c7ed8e1
removing hungarian notation from sample class field names
2025-05-30 01:58:52 -04:00
Graham Pentheny
7291f3a736
Removed unused includes
2025-05-06 10:39:03 -04:00
Graham Pentheny
a604098030
Sample_SoloMesh: Remove "keep intermediate results" option
...
Always enabled now. Also improve the documentation in the build function
2025-04-08 23:58:30 -04:00
Graham Pentheny
4def1f9a58
Whitespace changes, use nullptr instead of 0, pragma once
2025-04-08 23:54:27 -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
5e09fde319
Better names for member fields in Solo Mesh Sample class
2025-03-29 17:18:31 -04:00
Graham Pentheny
eee39c1020
Change DrawMode enum in SoloMesh sample to an enum class with explicit size
...
Since this namespaces the enum values and makes them easier to read and reference.
2025-03-29 16:01:48 -04:00
Graham Pentheny
5f9a2cd714
Remove trailing whitespace
2025-03-29 15:26:35 -04:00
Graham Pentheny
4db6f71c77
Cleanup solo mesh sample
2025-03-29 15:26:15 -04:00
alonfaraj
1adf911a09
Typo fixes ( #660 )
...
* multiple comments typo fixes
* typo
* typos
* typos
* typos
---------
Co-authored-by: Alon Faraj <alon.faraj@mapcore.com >
2023-08-16 15:37:41 -04:00
Graham Pentheny
8a42fb6348
Improved variable naming in RecastArea.cpp ( #636 )
...
* Cleanup compact heightfield functions in RecastArea.cpp
* More improved variable names for RecastArea.cpp
* Improved variable names and documentation in rcOffsetPoly
* Don't normalize the miter bisector in rcOffsetPoly since this needs to be proportional to both segment normals.
* Moved vector normalization out of rcOffsetPoly into a helper function rcVsafeNormalize
* Rename local variables in rcOffsetPoly
* Rename BMiterX/Z to cornerMIterX/Z
* Also fixed some comment descriptions
* Added docstring for rcVsafeNormalize
* Improved clarity of a few comments
2023-07-23 15:59:20 -04:00