Skip to content

Releases: WhyAreAllTheseTaken/surface-grid

Surface Grid Version 0.4.0

24 Aug 16:48
Compare
Choose a tag to compare

Features

  • Added a for_each method that can be used to mutate each cell.

Dependencies

Full Changelog: v0.3.2...v0.4.0

Surface Grid Version 0.3.2

07 Jul 15:24
Compare
Choose a tag to compare

Fixes

Fixed a bug where RectangleSpherePoint would fail for Y values in excess of 100.

Dependencies

Full Changelog: v0.3.1...v0.3.2

Surface Grid Version 0.3.1

27 Jan 16:15
Compare
Choose a tag to compare

Fixes

  • Fixed stretching on cube corners in CubeSpherePoint.
  • Fixed certain positions not being mapped correctly on the top and bottom faces of CubeSphereGrid.
  • Fixed latitude being inverted.

Full Changelog: v0.3.0...v0.3.1

Surface Grid Version 0.3.0

27 Jan 12:26
Compare
Choose a tag to compare

Additions

  • Added versions of map_neighbours, map_neighbours_par, set_from_neighbours, and set_from_neighbours_par that provide a position for each point calculated.

Full Changelog: v0.2.0...v0.3.0

Surface Grid v0.2.0

26 Jan 13:17
Compare
Choose a tag to compare

Additions

  • Added methods to SurfaceGrid that perform operations in parallel.
    • from_fn_par - Initializes a grid in parallel. Can be used instead of from_fn.
    • map_neighbours_par - Performs map_neighbours in parallel.
    • map_neighbours_diagonals_par - Performs map_neighbours_diagonals in parallel.
    • set_from_fn_par - Sets the values in a grid in parallel. Can be used instead of set_from_fn.
    • set_from_neighbours_par - Performs set_from_neighbours in parallel.
    • set_from_neighbours_diagonals_par - Performs set_from_neighbours_diagonals in parallel.
    • par_iter - Returns a ParallelIterator over the points in the grid and their values.
    • par_points - Returns a ParallelIterator over the points in the grid.

Fixes

  • Fixed the Y position returned by the position method of RectangleSpherePoint returning 1.0 when it should return 0.0 and 0.0 when it should return 1.0.
  • Fixed the incorrect geographic coordinates produced by CubeSpherePoint.
  • Fixed incorrect position select when converting from geographic coordinates in CubeSpherePoint.

Dependencies

  • The crate now depends on rayon for parallel operations.
  • The crate now uses static-array version 0.5.0 with the rayon feature.

Full Changelog: v0.1.0...v0.2.0

Surface Grid v0.1.0

25 Jan 16:15
fa60838
Compare
Choose a tag to compare

The initial release of Surface Grid.