X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FentityCreator.cpp;h=104158c8a0be89ceb8b5793fce54ae5e1fe02f3f;hp=1b4b6f7f8946f4f63e4513905d5244163a0605cd;hb=aa2791cf43a9ddd3a288e504db08e11d03439653;hpb=4a76d2e2cf7874e54a4e6688ebf1fa8ca59ce8c1 diff --git a/src/entityCreator.cpp b/src/entityCreator.cpp index 1b4b6f7..104158c 100644 --- a/src/entityCreator.cpp +++ b/src/entityCreator.cpp @@ -80,11 +80,12 @@ void creator::init() addBall(Vector2(200+i*2, 200+i*2), 10, cCyan); } + // HACK // add a polygon into the mix (currently not cleaned up) vector points; - points.push_back(Vector2(50,50)); - points.push_back(Vector2(50,100)); - points.push_back(Vector2(100,50)); + points.push_back(Vector2(500,500)); + points.push_back(Vector2(300,500)); + points.push_back(Vector2(500,300)); manager::add(new Polygon(points)); }