Merge pull request #573 from ey6es/opencv

Fixed pointer warning, reordered #includes.
This commit is contained in:
Andrzej Kapolka 2013-06-21 14:41:23 -07:00
commit 81d0373bdc

View file

@ -12,11 +12,11 @@
#include <glm/glm.hpp>
#include <SharedUtil.h>
#include <Util.h>
#include "world.h"
#include "InterfaceConfig.h"
#include "Balls.h"
#include "InterfaceConfig.h"
#include "Util.h"
#include "world.h"
const float INITIAL_AREA = 0.2f;
const float BALL_RADIUS = 0.025f;
@ -31,7 +31,7 @@ Balls::Balls(int numberOfBalls) {
_balls[i].velocity = glm::vec3(0, 0, 0);
_balls[i].radius = BALL_RADIUS;
for (unsigned int j = 0; j < NUMBER_SPRINGS; ++j) {
_balls[i].links[j] = NULL;
_balls[i].links[j] = 0;
}
}
_color = INITIAL_COLOR;