X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FentityCreator.cpp;h=f44eda081cae2433e4285c1539363715e7bb3c44;hp=34b9a56be616a4c1db3039046f1535205d9a596f;hb=d227d5862270f444b5e9911594f761d40025763b;hpb=a41bba6fc95ac24bcfc802574839b0a965692079 diff --git a/src/entityCreator.cpp b/src/entityCreator.cpp index 34b9a56..f44eda0 100644 --- a/src/entityCreator.cpp +++ b/src/entityCreator.cpp @@ -29,8 +29,6 @@ /// ***** Private Variables ***** -//static bear::Queue s_test; - typedef bear::Queue queBall; typedef bear::Queue 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() {