mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-30 14:05:45 +00:00
- added finalizeSlicedFindPathPartial()
- added handleStep()/handleToggle() to samples - changed how crowds are rendered - added path topology optimization step
This commit is contained in:
@@ -204,14 +204,19 @@ int main(int /*argc*/, char** /*argv*/)
|
||||
else if (event.key.keysym.sym == SDLK_SPACE)
|
||||
{
|
||||
if (sample)
|
||||
sample->handleStep();
|
||||
sample->handleToggle();
|
||||
}
|
||||
else if (event.key.keysym.sym == SDLK_1)
|
||||
{
|
||||
if (sample)
|
||||
sample->handleStep();
|
||||
}
|
||||
else if (event.key.keysym.sym == SDLK_9)
|
||||
{
|
||||
if (geom)
|
||||
geom->save("geomset.txt");
|
||||
}
|
||||
else if (event.key.keysym.sym == SDLK_2)
|
||||
else if (event.key.keysym.sym == SDLK_0)
|
||||
{
|
||||
delete geom;
|
||||
geom = new InputGeom;
|
||||
|
||||
Reference in New Issue
Block a user