Skip to content

Latest commit

 

History

History
176 lines (99 loc) · 4.94 KB

CHANGELOG.md

File metadata and controls

176 lines (99 loc) · 4.94 KB

Changelog

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

Added

  • 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

Fixed

  • The viewport value wasn't used correctly for the projection matrix which prevented doing split screens.

Optimized

  • Simplified the ShapeVertex which should made the library be easier to maintain.

Added

  • Triangle shape. Allows defining a triangle from three points.

0.2.3 - 2023-11-29

Added

  • Ellipse shape.

0.2.2 - 2023-11-23

Fixed

The filled shapes had a border when the color was transparent.

Changed

  • Adjusted the border thickness. It should be more accurate.

0.2.1 - 2023-11-23

Changed

  • Adjusted the border thickness. It should be more accurate.

0.2.0 - 2023-11-10

Added

  • Added equilateral triangle shape.
  • Added rounded API for rectangle, hexagon, triangle shapes.
  • Added rotation API for rectangle, hexagon, triangle shapes.

Changed

  • 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.

Optimized

  • 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

Fixed

  • 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

Fixed

  • Bug where the floating point comparison used in the shader could fail on some GPUs ending up with the wrong shape.

Changed

  • The shape shader effect has been internally rename to apos-shapes.fx from apos-shapes-effect.fx.

0.1.8 - 2023-02-09

Optimized

  • The shape batch now resizes itself. This makes it be faster based on my tests.

Changed

  • The shape shader effect has been internally rename to apos-shapes-effect.fx from AposShapesEffect.fx.

0.1.7 - 2022-04-16

Added

  • New hexagon shape.

0.1.6 - 2021-12-12

Fixed

0.1.5 - 2021-09-05

Fixed

  • Border without a fill didn't have the right thickness.

0.1.4 - 2021-08-17

Changed

  • 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.

Added

  • 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

Added

  • Line segments. The end caps are rounded.

Fixed

  • Anti-aliasing between main color and border color

0.1.2 - 2021-07-20

Fixed

  • Shapes weren't drawn at the correct position

Optimized

  • The ShapeBatch should be slightly faster

0.1.1 - 2021-07-19

Added

  • Rectangle

0.1.0 - 2020-07-08

Added

  • Everything!