The ugly and humble beginnings of path following and multi-agent navigation code.

This commit is contained in:
Mikko Mononen
2010-08-12 12:54:00 +00:00
parent 474a3ddc67
commit 7d8fe75de1
25 changed files with 8777 additions and 377 deletions

View File

@@ -266,10 +266,10 @@ void Sample::handleCommonSettings()
imguiSeparator();
}
void Sample::handleClick(const float* p, bool shift)
void Sample::handleClick(const float* s, const float* p, bool shift)
{
if (m_tool)
m_tool->handleClick(p, shift);
m_tool->handleClick(s, p, shift);
}
void Sample::handleStep()
@@ -282,3 +282,10 @@ bool Sample::handleBuild()
{
return true;
}
void Sample::handleUpdate(const float dt)
{
if (m_tool)
m_tool->handleUpdate(dt);
}