Commit 04ae7e44 authored by Jerry's avatar Jerry
Browse files

you shall commit your headers

parent 2a41dd64
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <DetourCrowd.h> #include <DetourCrowd.h>
#include <unordered_map> #include <unordered_map>
#include <mapgen/BuildContext.hpp> #include <mapgen/BuildContext.hpp>
#include <glm/glm.hpp>
namespace gdw { namespace gdw {
class engine; class engine;
...@@ -73,7 +74,12 @@ namespace gdw { ...@@ -73,7 +74,12 @@ namespace gdw {
void update(const float dt); void update(const float dt);
void render(); void render();
void removeAgent(int idx);
void set_agent_pos(int idx, const glm::vec3 &pos);
private: private:
void cleanup(); void cleanup();
void generate_cylinder(float size, void generate_cylinder(float size,
...@@ -82,8 +88,6 @@ namespace gdw { ...@@ -82,8 +88,6 @@ namespace gdw {
int segments = 8); int segments = 8);
void removeAgent(); void removeAgent();
void removeAgent(int idx);
}; };
} }
#endif //GDW_SS15_CPP_MAPLOADER_HPP #endif //GDW_SS15_CPP_MAPLOADER_HPP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment