TheSadRogue.Primitives 1.5.0-debug

A collection of primitive data structures for working with a 2-dimensional grid.

Showing the top 20 packages that depend on TheSadRogue.Primitives.

Packages Downloads
GoRogue
Roguelike/2D game utility library.
25
GoRogue
Roguelike/2D game utility library.
26
GoRogue
Roguelike/2D game utility library.
28
GoRogue
Roguelike/2D game utility library.
29
GoRogue
Roguelike/2D game utility library.
30
GoRogue
Roguelike/2D game utility library.
31
GoRogue
Roguelike/2D game utility library.
32
GoRogue
Roguelike/2D game utility library.
33
GoRogue
Roguelike/2D game utility library.
35
GoRogue
Roguelike/2D game utility library.
36
GoRogue
Roguelike/2D game utility library.
37
GoRogue
Roguelike/2D game utility library.
39

- **Color Changes** - GetHue can no longer return 360 instead of 0 in some cases - GetHue, GetSaturation, and GetBrightness are obsolete; use GetHSVHue / GetHSLHue, GetHSVSaturation / GetHSLSaturation, etc instead as required - FromHSL now performs color translation correctly (it previously produced incorrect values in a significant number of cases) - Deconstruction of a Color object into a float now properly returns a value between 0 and 1 (it would return between 0 and 255 previously) - **Point Hasher Changes** - Fixed off-by-one issue in point hasher calculations - Renamed properties to reflect their actual values - **Area Changes** - Optimized Area.Intersects to avoid full comparisons for referentially equal values - **DiffAwareGridView Changes** - Fixed serialization (implicit conversion to/from its serialized type was broken and wouldn't restore CurrentIndex properly) - You can now set history index to -1 when using SetHistory - **Rectangle Changes** - IsEmpty now returns the correct value - Rectangle.PositionsOnSide now throws ArgumentException as applicable - **Point Changes** - BearingOfLine overloads taking 2 points or 4 ints now return the correct line instead of the reciprocal one - Using division operator on a Point and a value now returns a Point instead of a value tuple - **Gradient Changes** - Gradient constructor now throws ArgumentException as applicable - **Palette Changes** - Palette now implements IReadOnlyList - Removed unnecessary in-memory value duplication in some constructors - **IGridView Extension Changes** - IGridView.ExtendToString no longer adds too many element separators in overloads which take a field size

.NET Core 3.1

  • No dependencies.

.NET 5.0

  • No dependencies.

.NET 6.0

  • No dependencies.

.NET 7.0

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
1.6.0 8 06/08/2025
1.6.0-rc3-debug 31 02/06/2024
1.6.0-rc3 29 02/06/2024
1.6.0-rc2-debug 34 02/10/2024
1.6.0-rc2 37 02/06/2024
1.6.0-rc1-debug 42 02/10/2024
1.6.0-rc1 25 02/06/2024
1.6.0-debug 6 06/09/2025
1.5.1 30 02/06/2024
1.5.1-debug 33 02/06/2024
1.5.0 45 02/06/2024
1.5.0-debug 30 02/06/2024
1.4.1 31 02/06/2024
1.4.1-debug 31 02/06/2024
1.4.0 43 02/06/2024
1.4.0-debug 34 02/06/2024
1.3.2 29 02/06/2024
1.3.2-debug 28 02/06/2024
1.3.1 30 02/06/2024
1.3.1-debug 25 02/06/2024
1.3.0 24 02/06/2024
1.3.0-debug 30 02/06/2024
1.2.0 33 02/06/2024
1.2.0-debug 32 02/06/2024
1.1.1 32 02/06/2024
1.1.1-debug 32 02/06/2024
1.1.0 31 02/06/2024
1.1.0-debug 23 02/06/2024
1.0.0 34 02/06/2024
1.0.0-debug 29 02/06/2024
1.0.0-alpha9-debug 38 02/06/2024
1.0.0-alpha9 36 02/06/2024
1.0.0-alpha8-debug 36 02/06/2024
1.0.0-alpha8 30 02/06/2024
1.0.0-alpha7-debug 33 02/06/2024
1.0.0-alpha7 31 02/06/2024
1.0.0-alpha6-debug 40 02/06/2024
1.0.0-alpha6 43 02/06/2024
1.0.0-alpha5-debug 35 02/06/2024
1.0.0-alpha5 39 02/06/2024
1.0.0-alpha4-debug 36 02/06/2024
1.0.0-alpha4 40 02/06/2024
1.0.0-alpha3-debug 35 02/06/2024
1.0.0-alpha3 33 02/06/2024
1.0.0-alpha2-debug 39 02/06/2024
1.0.0-alpha2 35 02/06/2024
1.0.0-alpha1-debug 30 02/06/2024
1.0.0-alpha1 29 02/06/2024