PAIR-code / megaplot

Apache License 2.0
19 stars 5 forks source link

Rename `BorderRadiusWorld` to `BorderRadiusRelative` #52

Closed jimbojw closed 2 years ago

jimbojw commented 2 years ago

Contrary to its name, the BorderRadiusWorld sprite attribute sets a border radius proportional to the size of the sprite, not the underlying world coordinate system.

Rename BorderRadiusWorld to BorderRadiusRelative since that's what it actually implements. In the future, there may be a BorderRadiusWorld, but if so, it should have X and Y components since the scale has both of these components.