rsagl-math-0.6.0.1: The RogueStar Animation and Graphics Library: Mathematics

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