projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
made a ball move
[physics.git]
/
src
/
entityCreator.cpp
diff --git
a/src/entityCreator.cpp
b/src/entityCreator.cpp
index
aa5db0e
..
8ed35f4
100644
(file)
--- a/
src/entityCreator.cpp
+++ b/
src/entityCreator.cpp
@@
-17,9
+17,9
@@
void creator::init()
{
Ball* ball;
- // needs to be first for the overlap
ball = new Ball(Vector2(50, 50), 20, cWhite);
+ ball->applyImpulse(Vector2(0.01,0.01)),
Balls.push(ball);
manager::add(ball);