jdryg / vg-renderer

A vector graphics renderer for bgfx, based on ideas from NanoVG and ImDrawList (Dear ImGUI)
BSD 2-Clause "Simplified" License
503 stars 55 forks source link

Rounded Rect corner order #4

Closed hugoam closed 6 years ago

hugoam commented 6 years ago

This one is pretty minor, but what do you think about changing the order of corners to make it consistent with both nanovg and CSS ? That is clockwise starting from top-left corner, instead of currently anti-clockwise.

(For reference : https://www.w3schools.com/css/css3_borders.asp https://github.com/memononen/nanovg/blob/master/src/nanovg.h#L497)

jdryg commented 6 years ago

Done :)