rsagl-0.4.0.3: The RogueStar Animation and Graphics Library

Safe HaskellSafe-Infered

RSAGL.Math.Vector

Documentation

distanceBetween :: Xyz xyz => xyz -> xyz -> RSdoubleSource

distanceBetweenSquared :: Xyz xyz => xyz -> xyz -> RSdoubleSource

vectorToFrom :: Xyz xyz => xyz -> xyz -> Vector3DSource

class Xyz a whereSource

Methods

toXYZ :: a -> XYZSource

fromXYZ :: XYZ -> aSource

randomXYZ :: (RandomGen g, Xyz p) => (RSdouble, RSdouble) -> g -> (p, g)Source