AC-Vector-2.4.0: Efficient geometric vectors and transformations.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Vector.V2

Description

2-dimensional vectors with vector arithmetic.

Documentation

data Vector2 Source #

Constructors

Vector2 

Fields

Instances

Instances details
BasicVector Vector2 Source # 
Instance details

Defined in Data.Vector.V2

Vector Vector2 Source # 
Instance details

Defined in Data.Vector.V2

Num Vector2 Source # 
Instance details

Defined in Data.Vector.V2

Fractional Vector2 Source # 
Instance details

Defined in Data.Vector.V2

Show Vector2 Source # 
Instance details

Defined in Data.Vector.V2

Eq Vector2 Source # 
Instance details

Defined in Data.Vector.V2

Methods

(==) :: Vector2 -> Vector2 -> Bool #

(/=) :: Vector2 -> Vector2 -> Bool #