jaquadro / LilyPath

A 2D path and shape drawing library for MonoGame and XNA.
MIT License
93 stars 12 forks source link

DrawRectangle override calls itself recursively #5

Closed TheFabFab closed 10 years ago

TheFabFab commented 10 years ago

The DrawRectangle with the signature "void DrawRectangle (Pen pen, Vector2 location, float width, float height)" calls itself.

The intention was probably to call DrawRectangle(pen, location, width, height, 0); instead.

jaquadro commented 10 years ago

Thanks, I've pushed up a fix now. While I have test sheets for most major functionality, I haven't tested every individual override.