Copyright | (c) Antony Courtney and Henrik Nilsson Yale University 2003 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | nilsson@cs.yale.edu |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe |
Language | Haskell98 |
FRP.Yampa.Vector2
Description
2D vector abstraction (R^2).
Documentation
vector2Polar :: RealFloat a => a -> a -> Vector2 a Source #
vector2Rho :: RealFloat a => Vector2 a -> a Source #
vector2Theta :: RealFloat a => Vector2 a -> a Source #
vector2RhoTheta :: RealFloat a => Vector2 a -> (a, a) Source #