module Codec.Wavefront.Line where
data LineIndex = LineIndex {
LineIndex -> Int
lineLocIndex :: {-# UNPACK #-} !Int
, LineIndex -> Maybe Int
lineTexCoordIndex :: !(Maybe Int)
} deriving (LineIndex -> LineIndex -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LineIndex -> LineIndex -> Bool
$c/= :: LineIndex -> LineIndex -> Bool
== :: LineIndex -> LineIndex -> Bool
$c== :: LineIndex -> LineIndex -> Bool
Eq,Int -> LineIndex -> ShowS
[LineIndex] -> ShowS
LineIndex -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LineIndex] -> ShowS
$cshowList :: [LineIndex] -> ShowS
show :: LineIndex -> String
$cshow :: LineIndex -> String
showsPrec :: Int -> LineIndex -> ShowS
$cshowsPrec :: Int -> LineIndex -> ShowS
Show)
data Line = Line {
Line -> LineIndex
lineIndexA :: LineIndex
, Line -> LineIndex
lineIndexB :: LineIndex
} deriving (Line -> Line -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Line -> Line -> Bool
$c/= :: Line -> Line -> Bool
== :: Line -> Line -> Bool
$c== :: Line -> Line -> Bool
Eq,Int -> Line -> ShowS
[Line] -> ShowS
Line -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Line] -> ShowS
$cshowList :: [Line] -> ShowS
show :: Line -> String
$cshow :: Line -> String
showsPrec :: Int -> Line -> ShowS
$cshowsPrec :: Int -> Line -> ShowS
Show)