From: Patrik Gornicz Date: Wed, 19 Aug 2009 03:49:27 +0000 (-0400) Subject: added usages of trim to lists X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=d227d5862270f444b5e9911594f761d40025763b;hp=a41bba6fc95ac24bcfc802574839b0a965692079 added usages of trim to lists --- 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() {