keid-geometry-0.1.1.3: Geometry primitives for Keid engine.

Geometry.Cube

Synopsis

# Documentation

data Vertices a Source #

Constructors

 Vertices FieldsvLTN :: a vLTF :: a vLBN :: a vLBF :: a vRTN :: a vRTF :: a vRBN :: a vRBF :: a

#### Instances

Instances details
 Source # Instance detailsDefined in Geometry.Cube Methodsfold :: Monoid m => Vertices m -> m Source #foldMap :: Monoid m => (a -> m) -> Vertices a -> m Source #foldMap' :: Monoid m => (a -> m) -> Vertices a -> m Source #foldr :: (a -> b -> b) -> b -> Vertices a -> b Source #foldr' :: (a -> b -> b) -> b -> Vertices a -> b Source #foldl :: (b -> a -> b) -> b -> Vertices a -> b Source #foldl' :: (b -> a -> b) -> b -> Vertices a -> b Source #foldr1 :: (a -> a -> a) -> Vertices a -> a Source #foldl1 :: (a -> a -> a) -> Vertices a -> a Source #toList :: Vertices a -> [a] Source #null :: Vertices a -> Bool Source #length :: Vertices a -> Int Source #elem :: Eq a => a -> Vertices a -> Bool Source #maximum :: Ord a => Vertices a -> a Source #minimum :: Ord a => Vertices a -> a Source #sum :: Num a => Vertices a -> a Source #product :: Num a => Vertices a -> a Source # Source # Instance detailsDefined in Geometry.Cube Methodstraverse :: Applicative f => (a -> f b) -> Vertices a -> f (Vertices b) Source #sequenceA :: Applicative f => Vertices (f a) -> f (Vertices a) Source #mapM :: Monad m => (a -> m b) -> Vertices a -> m (Vertices b) Source #sequence :: Monad m => Vertices (m a) -> m (Vertices a) Source # Source # Instance detailsDefined in Geometry.Cube Methodspure :: a -> Vertices a Source #(<*>) :: Vertices (a -> b) -> Vertices a -> Vertices b Source #liftA2 :: (a -> b -> c) -> Vertices a -> Vertices b -> Vertices c Source #(*>) :: Vertices a -> Vertices b -> Vertices b Source #(<*) :: Vertices a -> Vertices b -> Vertices a Source # Source # Instance detailsDefined in Geometry.Cube Methodsfmap :: (a -> b) -> Vertices a -> Vertices b Source #(<\$) :: a -> Vertices b -> Vertices a Source # Show a => Show (Vertices a) Source # Instance detailsDefined in Geometry.Cube MethodsshowsPrec :: Int -> Vertices a -> ShowS Source #showList :: [Vertices a] -> ShowS Source # Eq a => Eq (Vertices a) Source # Instance detailsDefined in Geometry.Cube Methods(==) :: Vertices a -> Vertices a -> Bool Source #(/=) :: Vertices a -> Vertices a -> Bool Source # Ord a => Ord (Vertices a) Source # Instance detailsDefined in Geometry.Cube Methodscompare :: Vertices a -> Vertices a -> Ordering Source #(<) :: Vertices a -> Vertices a -> Bool Source #(<=) :: Vertices a -> Vertices a -> Bool Source #(>) :: Vertices a -> Vertices a -> Bool Source #(>=) :: Vertices a -> Vertices a -> Bool Source #max :: Vertices a -> Vertices a -> Vertices a Source #min :: Vertices a -> Vertices a -> Vertices a Source #

positions :: Vertices Vec3 Source #

Unit cube vertices centered at (0,0,0).

edges :: [Vec3] Source #

bbWireColored :: [Vertex Packed Vec4] Source #