Vavassor / ParaDraw

Drawing tools for visual debugging in VRChat worlds.
MIT License
4 stars 2 forks source link

Splits ShapeDrawer into partial classes. #10

Closed Vavassor closed 3 months ago

Vavassor commented 3 months ago

This removes many useless overrides in ShapeDrawer which just called other methods without modifying parameters. And removes unnecessary extern calls by making everything one class.

The partial classes are organized by shape.

Vavassor commented 3 months ago

For examples of "useless overrides".

https://github.com/Vavassor/ParaDraw/blob/79ccbcc66e5641a56a406a02fa527b6a1119bd3b/Runtime/Scripts/ShapeDrawer.cs#L158-L161

https://github.com/Vavassor/ParaDraw/blob/79ccbcc66e5641a56a406a02fa527b6a1119bd3b/Runtime/Scripts/ShapeDrawer.cs#L171-L174