TheSadRogue.Primitives 1.5.0
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.
|
22 |
GoRogue
Roguelike/2D game utility library.
|
24 |
GoRogue
Roguelike/2D game utility library.
|
25 |
GoRogue
Roguelike/2D game utility library.
|
26 |
GoRogue
Roguelike/2D game utility library.
|
27 |
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.
|
34 |
GoRogue
Roguelike/2D game utility library.
|
35 |
- **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 | 3 | 06/08/2025 |
1.6.0-rc3-debug | 27 | 02/06/2024 |
1.6.0-rc3 | 27 | 02/06/2024 |
1.6.0-rc2-debug | 30 | 02/10/2024 |
1.6.0-rc2 | 32 | 02/06/2024 |
1.6.0-rc1-debug | 37 | 02/10/2024 |
1.6.0-rc1 | 21 | 02/06/2024 |
1.6.0-debug | 3 | 06/09/2025 |
1.5.1 | 25 | 02/06/2024 |
1.5.1-debug | 30 | 02/06/2024 |
1.5.0 | 40 | 02/06/2024 |
1.5.0-debug | 24 | 02/06/2024 |
1.4.1 | 28 | 02/06/2024 |
1.4.1-debug | 28 | 02/06/2024 |
1.4.0 | 39 | 02/06/2024 |
1.4.0-debug | 29 | 02/06/2024 |
1.3.2 | 24 | 02/06/2024 |
1.3.2-debug | 26 | 02/06/2024 |
1.3.1 | 26 | 02/06/2024 |
1.3.1-debug | 21 | 02/06/2024 |
1.3.0 | 21 | 02/06/2024 |
1.3.0-debug | 28 | 02/06/2024 |
1.2.0 | 30 | 02/06/2024 |
1.2.0-debug | 28 | 02/06/2024 |
1.1.1 | 28 | 02/06/2024 |
1.1.1-debug | 29 | 02/06/2024 |
1.1.0 | 27 | 02/06/2024 |
1.1.0-debug | 20 | 02/06/2024 |
1.0.0 | 29 | 02/06/2024 |
1.0.0-debug | 26 | 02/06/2024 |
1.0.0-alpha9-debug | 34 | 02/06/2024 |
1.0.0-alpha9 | 26 | 02/06/2024 |
1.0.0-alpha8-debug | 33 | 02/06/2024 |
1.0.0-alpha8 | 27 | 02/06/2024 |
1.0.0-alpha7-debug | 29 | 02/06/2024 |
1.0.0-alpha7 | 28 | 02/06/2024 |
1.0.0-alpha6-debug | 36 | 02/06/2024 |
1.0.0-alpha6 | 40 | 02/06/2024 |
1.0.0-alpha5-debug | 31 | 02/06/2024 |
1.0.0-alpha5 | 35 | 02/06/2024 |
1.0.0-alpha4-debug | 32 | 02/06/2024 |
1.0.0-alpha4 | 38 | 02/06/2024 |
1.0.0-alpha3-debug | 31 | 02/06/2024 |
1.0.0-alpha3 | 30 | 02/06/2024 |
1.0.0-alpha2-debug | 34 | 02/06/2024 |
1.0.0-alpha2 | 30 | 02/06/2024 |
1.0.0-alpha1-debug | 27 | 02/06/2024 |
1.0.0-alpha1 | 25 | 02/06/2024 |