Geometry.Cube

data Vertices a Source #

Constructors

Fields

Defined in Geometry.Cube

Methods

fold :: 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 #

traverse :: 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 #

pure :: 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 #

fmap :: (a -> b) -> Vertices a -> Vertices b Source #

(<$) :: a -> Vertices b -> Vertices a Source #

showsPrec :: Int -> Vertices a -> ShowS Source #

show :: Vertices a -> String Source #

showList :: [Vertices a] -> ShowS Source #

(==) :: Vertices a -> Vertices a -> Bool Source #

(/=) :: Vertices a -> Vertices a -> Bool Source #

compare :: 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 #