packages feed

IcoGrid 0.1 → 0.1.2

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~GlomeVecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: GlomeVec

API changes (from Hackage documentation)

Files

Data/IcoGrid.hs view
@@ -1,6 +1,6 @@ module Data.IcoGrid (all_cells, all_triads, neighbors, coord_to_vec, triad_vecs) where-import Data.GlomeVec+import Data.Glome.Vec import qualified Data.Array as Arr  -- | Icosahedron-based hex coordinate system.  Based on 20 triangles of
IcoGrid.cabal view
@@ -1,5 +1,5 @@ Name:                IcoGrid-Version:             0.1+Version:             0.1.2 Synopsis:            Library for generating grids of hexagons and pentagons mapped to a sphere. Description:         Defines functions for dealing with a type of hexagon grid wrapped around a sphere.  The full grid is composed of 20 smaller trianglular grids of hexagons, that fit together as an icosahedron with pentagons at the corners.  Each grid cell is assigned an integer value, and we can get a list of the neighbors of a particular cell.  We can also ask for a vector in 3d space that is the center of a particular cell.  This would be well suited for a game played on a spherical world or a planetary environment simulator. License:             GPL@@ -17,4 +17,4 @@  library   exposed-modules:   Data.IcoGrid-  build-depends:     base >= 3 && < 4, array, GlomeVec >= 0.1+  build-depends:     base >= 3 && < 4, array, GlomeVec >= 0.1.2