All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Nothing yet!
0.3.0 - 2024-06-06
- It is now possible to set the anti-aliasing size for each draw call. This controls a sort of blur that helps make shapes smoother. The default value is 2f, it's possible to reduce this in order to draw thinner lines.
0.2.4 - 2024-04-11
- The viewport value wasn't used correctly for the projection matrix which prevented doing split screens.
- Simplified the ShapeVertex which should made the library be easier to maintain.
- Triangle shape. Allows defining a triangle from three points.
0.2.3 - 2023-11-29
- Ellipse shape.
0.2.2 - 2023-11-23
The filled shapes had a border when the color was transparent.
- Adjusted the border thickness. It should be more accurate.
0.2.1 - 2023-11-23
- Adjusted the border thickness. It should be more accurate.
0.2.0 - 2023-11-10
- Added equilateral triangle shape.
- Added rounded API for rectangle, hexagon, triangle shapes.
- Added rotation API for rectangle, hexagon, triangle shapes.
- The way the border is drawn is slightly different than before. In general borders will appear slightly thicker but will have a more accurate color and size.
- Border thickness is now in world scale. In the previous version, borders were defined in screen scale which meant that they remained the same size no matter the view matrix.
- Simplified the math a bit to make the library easier to maintain. It should help add more shapes in the future.
0.1.10 - 2023-08-22
- Bug where resizing the batch more than twice on the same frame would prevent the index and vertex buffers from being resized correctly.
0.1.9 - 2023-03-09
- Bug where the floating point comparison used in the shader could fail on some GPUs ending up with the wrong shape.
- The shape shader effect has been internally rename to
apos-shapes.fx
fromapos-shapes-effect.fx
.
0.1.8 - 2023-02-09
- The shape batch now resizes itself. This makes it be faster based on my tests.
- The shape shader effect has been internally rename to
apos-shapes-effect.fx
fromAposShapesEffect.fx
.
0.1.7 - 2022-04-16
- New hexagon shape.
0.1.6 - 2021-12-12
- Compatibility issue with the MonoGame Compute fork.
0.1.5 - 2021-09-05
- Border without a fill didn't have the right thickness.
0.1.4 - 2021-08-17
- The Fill methods have been renamed to Draw. FillCircle becomes DrawCircle. The Draw methods are used to draw a shape with both a fill and a border.
- Fill methods draw a shape without a border.
- Border methods draw a shape without a fill. A border encases a shape without going outside it's boundaries.
0.1.3 - 2021-07-25
- Line segments. The end caps are rounded.
- Anti-aliasing between main color and border color
0.1.2 - 2021-07-20
- Shapes weren't drawn at the correct position
- The ShapeBatch should be slightly faster
0.1.1 - 2021-07-19
- Rectangle
0.1.0 - 2020-07-08
- Everything!