Closed GoogleCodeExporter closed 9 years ago
squ1sh@web.de are you saying that you would expect
var box:Rectangle = new Rectangle(center.x - radius / 2, center.y - radius / 2,
radius, radius );
to draw a square around the entire circle? If so, I think you may have radius
and diameter mixed up. Radius is the distance from the center of the circle to
the edge. So to draw a square around the entire circle you would need to use
the code you provided.
Original comment by boush...@gmail.com
on 12 Jul 2010 at 2:40
Original comment by zaal...@gmail.com
on 16 Jul 2010 at 8:21
Original comment by zaal...@gmail.com
on 16 Jul 2010 at 8:21
Original issue reported on code.google.com by
squ...@web.de
on 2 Jun 2010 at 10:01