projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a41bba6
)
added usages of trim to lists
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 19 Aug 2009 03:49:27 +0000
(23:49 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Wed, 19 Aug 2009 03:49:27 +0000
(23:49 -0400)
src/entityCreator.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/entityCreator.cpp
b/src/entityCreator.cpp
index
34b9a56
..
f44eda0
100644
(file)
--- a/
src/entityCreator.cpp
+++ b/
src/entityCreator.cpp
@@
-29,8
+29,6
@@
/// ***** Private Variables *****
/// ***** Private Variables *****
-//static bear::Queue<int> s_test;
-
typedef bear::Queue<Ball*> queBall;
typedef bear::Queue<Polygon*> quePoly;
typedef bear::Queue<Ball*> queBall;
typedef bear::Queue<Polygon*> quePoly;
@@
-105,6
+103,10
@@
void creator::init()
points.push_back(Vector2(500,300));
addPoly(points, cRed, s_startPolys);
points.push_back(Vector2(500,300));
addPoly(points, cRed, s_startPolys);
+
+
+ s_startPolys.trim();
+ s_startBalls.trim();
}
void creator::clean()
{
}
void creator::clean()
{