Surface Grid v0.2.0
WhyAreAllTheseTaken
released this
26 Jan 13:17
·
54 commits
to master
since this release
Additions
- Added methods to
SurfaceGrid
that perform operations in parallel.from_fn_par
- Initializes a grid in parallel. Can be used instead offrom_fn
.map_neighbours_par
- Performsmap_neighbours
in parallel.map_neighbours_diagonals_par
- Performsmap_neighbours_diagonals
in parallel.set_from_fn_par
- Sets the values in a grid in parallel. Can be used instead ofset_from_fn
.set_from_neighbours_par
- Performsset_from_neighbours
in parallel.set_from_neighbours_diagonals_par
- Performsset_from_neighbours_diagonals
in parallel.par_iter
- Returns aParallelIterator
over the points in the grid and their values.par_points
- Returns aParallelIterator
over the points in the grid.
Fixes
- Fixed the Y position returned by the
position
method ofRectangleSpherePoint
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 therayon
feature.
Full Changelog: v0.1.0...v0.2.0