lambdacube-ir-0.3.0.1: LambdaCube 3D intermediate representation of 3D graphics pipelines

Safe HaskellNone
LanguageHaskell2010

LambdaCube.Linear

Documentation

data V2 a Source #

Constructors

V2 !a !a 

Instances

Functor V2 Source # 

Methods

fmap :: (a -> b) -> V2 a -> V2 b #

(<$) :: a -> V2 b -> V2 a #

Eq a => Eq (V2 a) Source # 

Methods

(==) :: V2 a -> V2 a -> Bool #

(/=) :: V2 a -> V2 a -> Bool #

Ord a => Ord (V2 a) Source # 

Methods

compare :: V2 a -> V2 a -> Ordering #

(<) :: V2 a -> V2 a -> Bool #

(<=) :: V2 a -> V2 a -> Bool #

(>) :: V2 a -> V2 a -> Bool #

(>=) :: V2 a -> V2 a -> Bool #

max :: V2 a -> V2 a -> V2 a #

min :: V2 a -> V2 a -> V2 a #

Read a => Read (V2 a) Source # 
Show a => Show (V2 a) Source # 

Methods

showsPrec :: Int -> V2 a -> ShowS #

show :: V2 a -> String #

showList :: [V2 a] -> ShowS #

ToJSON a => ToJSON (V2 a) Source # 

Methods

toJSON :: V2 a -> Value #

toEncoding :: V2 a -> Encoding #

FromJSON a => FromJSON (V2 a) Source # 

Methods

parseJSON :: Value -> Parser (V2 a) #

data V3 a Source #

Constructors

V3 !a !a !a 

Instances

Functor V3 Source # 

Methods

fmap :: (a -> b) -> V3 a -> V3 b #

(<$) :: a -> V3 b -> V3 a #

Eq a => Eq (V3 a) Source # 

Methods

(==) :: V3 a -> V3 a -> Bool #

(/=) :: V3 a -> V3 a -> Bool #

Ord a => Ord (V3 a) Source # 

Methods

compare :: V3 a -> V3 a -> Ordering #

(<) :: V3 a -> V3 a -> Bool #

(<=) :: V3 a -> V3 a -> Bool #

(>) :: V3 a -> V3 a -> Bool #

(>=) :: V3 a -> V3 a -> Bool #

max :: V3 a -> V3 a -> V3 a #

min :: V3 a -> V3 a -> V3 a #

Read a => Read (V3 a) Source # 
Show a => Show (V3 a) Source # 

Methods

showsPrec :: Int -> V3 a -> ShowS #

show :: V3 a -> String #

showList :: [V3 a] -> ShowS #

ToJSON a => ToJSON (V3 a) Source # 

Methods

toJSON :: V3 a -> Value #

toEncoding :: V3 a -> Encoding #

FromJSON a => FromJSON (V3 a) Source # 

Methods

parseJSON :: Value -> Parser (V3 a) #

data V4 a Source #

Constructors

V4 !a !a !a !a 

Instances

Functor V4 Source # 

Methods

fmap :: (a -> b) -> V4 a -> V4 b #

(<$) :: a -> V4 b -> V4 a #

Eq a => Eq (V4 a) Source # 

Methods

(==) :: V4 a -> V4 a -> Bool #

(/=) :: V4 a -> V4 a -> Bool #

Ord a => Ord (V4 a) Source # 

Methods

compare :: V4 a -> V4 a -> Ordering #

(<) :: V4 a -> V4 a -> Bool #

(<=) :: V4 a -> V4 a -> Bool #

(>) :: V4 a -> V4 a -> Bool #

(>=) :: V4 a -> V4 a -> Bool #

max :: V4 a -> V4 a -> V4 a #

min :: V4 a -> V4 a -> V4 a #

Read a => Read (V4 a) Source # 
Show a => Show (V4 a) Source # 

Methods

showsPrec :: Int -> V4 a -> ShowS #

show :: V4 a -> String #

showList :: [V4 a] -> ShowS #

ToJSON a => ToJSON (V4 a) Source # 

Methods

toJSON :: V4 a -> Value #

toEncoding :: V4 a -> Encoding #

FromJSON a => FromJSON (V4 a) Source # 

Methods

parseJSON :: Value -> Parser (V4 a) #

type M22F = V2 V2F Source #

type M23F = V3 V2F Source #

type M24F = V4 V2F Source #

type M32F = V2 V3F Source #

type M33F = V3 V3F Source #

type M34F = V4 V3F Source #

type M42F = V2 V4F Source #

type M43F = V3 V4F Source #

type M44F = V4 V4F Source #

type V2B = V2 Bool Source #

type V3B = V3 Bool Source #

type V4B = V4 Bool Source #