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
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
Graham Pentheny
2eb3abfb60
Updated RecastDemo to SDL2
...
* Renamed a bunch of variables in main.cpp to be more descriptive.
* Removed unnecessary SDLMain.h and SDLMain.m OSX objective-c class as well as the plist, strings, xib and icns files, which are not needed.
* included cstdio in imguiRenderGL since SDL2 doesn't do it for us.
* Updated premake5 script to support SDL2 and to set the debug directory, as well as copy the SDL2.dll to the target directory on Windows.
* Updated readme with more descriptive, platform-specific demo project setup instructions
* Updated appveyor build script to build vs2015 as well.
* Updated Travis build script to build SDL2 from source, because they use Ubuntu 12.04 which doesn't have the libsdl2-dev package in its repositories.
2016-01-04 18:56:51 -05:00
Mikko Mononen
4a81213b3b
Refactored and cleaned up CrowdManager and moved it to DetourCrowd. Update tool UI layout, context sensitive help is now rendered as overlay.
2011-01-29 15:28:28 +00:00
Mikko Mononen
1be9de72d8
Detour version change! Added user ID per off-mesh connection. Fixed off-mesh connection draw flags after using off-mesh con tool.
2010-11-07 15:21:38 +00:00
Mikko Mononen
ccf401d3da
- added finalizeSlicedFindPathPartial()
...
- added handleStep()/handleToggle() to samples
- changed how crowds are rendered
- added path topology optimization step
2010-11-07 10:56:48 +00:00
Mikko Mononen
5f7ac70cba
win32 compile and project fixes, made tool UI more clear
2010-08-17 18:30:58 +00:00
Mikko Mononen
7d8fe75de1
The ugly and humble beginnings of path following and multi-agent navigation code.
2010-08-12 12:54:00 +00:00
Mikko Mononen
10b330ffb4
Moved common functions behind name decoration.
2010-04-14 18:45:46 +00:00
Mikko Mononen
5119b5cb16
API CHANGE! Better serialization support.
2010-03-25 12:24:40 +00:00
Mikko Mononen
5ade5a3052
More robust path iteration code.
2010-02-12 13:04:55 +00:00
Mikko Mononen
a715e9a5f7
Area progress: Pass area type and ability flags to recast. Convex Area tool. Mark chf with convex volumes. Better visualization of volumes.
2010-02-05 16:15:49 +00:00
Mikko Mononen
1753297fd5
Humble beginnings of box volume too. Allow to save and restore GeomInput state.
2010-01-29 13:58:36 +00:00
Mikko Mononen
a56bf3ec2d
Off-Mesh connections across tile boundaries. Fixed getPolysAround(). Detour links per poly use linked list. Adjusted off-mesh connection tool.
2010-01-26 12:48:58 +00:00
Mikko Mononen
3abbfe006d
Changed Detour header var names more to verbose. Pass params as a struct to dtCreateNavMeshData. Named Off-mesh links to Off-mesh connections. Cleaned up Off-mesh connection code and samples. Added connection radius and direction to Off-mesh connections. Agent dimensions passed store in navmesh header.
2010-01-19 14:22:48 +00:00