Animas-0.2: Updated version of Yampa: a library for programming hybrid systems.

FRP.Animas.Point2

Description

2D point abstraction (R^2).

ToDo: Deriving Show, or provide dedicated show instance?

Synopsis

data RealFloat a => Point2 a Source

Two-dimensional real-valued point

Constructors

Instances

point2X :: RealFloat a => Point2 a -> aSource

X coordinate

point2Y :: RealFloat a => Point2 a -> aSource

Y coordinate