Gamgine-0.5: Some kind of game library or set of utilities.
Gamgine.Math.Vect
module Data.Vec
type Vect = Vec3 Double Source
type Vect4 = Vec4 Double Source
x :: Vect -> Double Source
y :: Vect -> Double Source
z :: Vect -> Double Source
v3 :: Double -> Double -> Double -> Vect Source
v4 :: Double -> Double -> Double -> Double -> Vect4 Source
fromTuple :: (Double, Double, Double) -> Vect Source
toTuple :: Vect -> (Double, Double, Double) Source
fromVect4 :: Vect4 -> Vect Source
len :: Vect -> Double Source
inverseVec :: (Map b b u v, Num b) => u -> v Source
clampVec :: Vect -> Vect -> Vect -> Vect Source
maxVec :: (ZipWith c c c u v w, Ord c) => u -> v -> w Source
minVec :: (ZipWith c c c u v w, Ord c) => u -> v -> w Source
index :: (Double -> Bool) -> Vect -> Int Source
absVec :: (Map b b u v, Num b) => u -> v Source
nullVec :: Vect Source
and :: Fold v Bool => v -> Bool Source
or :: Fold v Bool => v -> Bool Source
all :: (Fold s Bool, ZipWith a b c u v s) => (a -> b -> c) -> u -> v -> Bool Source
any :: (Fold s Bool, ZipWith a b c u v s) => (a -> b -> c) -> u -> v -> Bool Source