mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:33:45 +02:00
Fixed includes, pointer warning.
This commit is contained in:
parent
94cbb50dfa
commit
650e659ee8
1 changed files with 6 additions and 4 deletions
|
@ -10,11 +10,13 @@
|
|||
//
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include "Util.h"
|
||||
#include "sharedUtil.h"
|
||||
#include "world.h"
|
||||
|
||||
#include <SharedUtil.h>
|
||||
|
||||
#include "InterfaceConfig.h"
|
||||
#include "Balls.h"
|
||||
#include "Util.h"
|
||||
#include "world.h"
|
||||
|
||||
const float INITIAL_AREA = 0.2f;
|
||||
const float BALL_RADIUS = 0.025f;
|
||||
|
@ -29,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;
|
||||
|
|
Loading…
Reference in a new issue