aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.hpp2
-rw-r--r--include/entities.hpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/common.hpp b/include/common.hpp
index 240cd01..fabf4c7 100644
--- a/include/common.hpp
+++ b/include/common.hpp
@@ -14,6 +14,8 @@
#include <vector>
#include <cmath>
#include <algorithm>
+#include <list>
+#include <iterator>
#ifndef __WIN32__
# include <thread>
diff --git a/include/entities.hpp b/include/entities.hpp
index 1c3b6ff..83b47b9 100644
--- a/include/entities.hpp
+++ b/include/entities.hpp
@@ -150,7 +150,7 @@ public:
~Particles(void){}
// draws the particle
- void draw(std::vector<GLfloat> &verts, std::vector<GLfloat> &tex) const;
+ void draw(std::vector<GLfloat> &p) const;
// updates a particle
void update(float _gravity, float ground_y);