shapes-0.1.0.0: physics engine and other tools for 2D shapes

Safe HaskellNone
LanguageHaskell2010

Physics.Contact

Documentation

data Shape Source #

Instances

Show Shape Source # 

Methods

showsPrec :: Int -> Shape -> ShowS #

show :: Shape -> String #

showList :: [Shape] -> ShowS #

Generic Shape Source # 

Associated Types

type Rep Shape :: * -> * #

Methods

from :: Shape -> Rep Shape x #

to :: Rep Shape x -> Shape #

NFData Shape Source # 

Methods

rnf :: Shape -> () #

type Rep Shape Source # 
type Rep Shape = D1 * (MetaData "Shape" "Physics.Contact" "shapes-0.1.0.0-E6UUiYRpOc15rGTlEn6KOE" False) ((:+:) * (C1 * (MetaCons "HullShape" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ConvexHull))) (C1 * (MetaCons "CircleShape" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Circle))))