prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.78k stars 362 forks source link

Add rotation to debug render #780

Closed AntonK47 closed 10 months ago

AntonK47 commented 10 months ago

Add rotation and rotation origin to DrawHollowRect and use it in TiledRendering for rendering rotated basic objects in debug render. The parameter order convention follows similar methods e.g. DrawString.

The screenshot shows which case is now handled correctly:

image