added usages of trim to lists
[physics.git] / src / entityCreator.cpp
index 34b9a56..f44eda0 100644 (file)
@@ -29,8 +29,6 @@
 
 /// ***** Private Variables *****
 
-//static bear::Queue<int> s_test;
-
 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);
+
+
+    s_startPolys.trim();
+    s_startBalls.trim();
 }
 void creator::clean()
 {