mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 17:03:27 +00:00
improvement
This commit is contained in:
@@ -28,4 +28,8 @@ namespace omath::pathfinding
|
||||
else
|
||||
m_on_next_path_node->operator()(path.front());
|
||||
}
|
||||
void WalkBot::on_path(std::function<void(const Vector3<float>&)> callback)
|
||||
{
|
||||
m_on_next_path_node = callback;
|
||||
}
|
||||
} // namespace omath::pathfinding
|
||||
Reference in New Issue
Block a user