packages feed

ply-loader-0.5.0: ply-loader.cabal

name:                ply-loader
version:             0.5.0
synopsis:            PLY file loader.

description:         PLY is a lightweight file format for representing 3D
                     geometry. The library includes support for
                     placing mesh data into a consistent coordinate
                     frame using Stanford's @.conf@ file format. See
                     /The Stanford 3D Scanning Repository/
                     <http://graphics.stanford.edu/data/3Dscanrep/>
                     for more information.

                     This package provides a library for loading PLY
                     data, and an executable, @ply2bin@, for dumping
                     all vertex data referenced by a @.conf@ file to a
                     flat binary file comprising an array of single
                     precision float triples. Usage: @ply2bin confFile
                     outputFile@.

license:             BSD3
license-file:        LICENSE
author:              Anthony Cowley
maintainer:          acowley@gmail.com
copyright:           (c) Anthony Cowley 2012
category:            Graphics
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  CHANGELOG.md

source-repository head
  type: git
  location: git://github.com/acowley/ply-loader.git

library
  ghc-options:         -Wall
  exposed-modules:     PLY, PLY.Ascii, PLY.Binary, PLY.Conf, PLY.Types,
                       PLY.Internal.Parsers, PLY.Internal.StrictReplicate

  build-depends:       base >= 4.6 && < 5,
                       attoparsec >= 0.12.0.0,
                       bytestring >= 0.10,
                       linear >= 0.2,
                       lens >= 3.0,
                       vector >= 0.11,
                       filepath,
                       directory,
                       parallel-io >= 0.3.2,
                       transformers,
                       cereal
  hs-source-dirs:      src
  default-language:    Haskell2010

executable ply2bin
  main-is:          Main.hs
  ghc-options:      -O2 -Wall -threaded "-with-rtsopts=-N"
  hs-source-dirs:   src/executable
  build-depends:    base >= 4.6 && < 5,
                    bytestring >= 0.10,
                    linear >= 0.2,
                    vector >= 0.11,
                    ply-loader
  default-language: Haskell2010