Geomancy.IVec2
Description
Specialized and inlined V2 Int32.
V2 Int32
data IVec2 Source #
Defined in Geomancy.IVec2
Methods
sizeOf :: IVec2 -> Int #
alignment :: IVec2 -> Int #
peekElemOff :: Ptr IVec2 -> Int -> IO IVec2 #
pokeElemOff :: Ptr IVec2 -> Int -> IVec2 -> IO () #
peekByteOff :: Ptr b -> Int -> IO IVec2 #
pokeByteOff :: Ptr b -> Int -> IVec2 -> IO () #
peek :: Ptr IVec2 -> IO IVec2 #
poke :: Ptr IVec2 -> IVec2 -> IO () #
(+) :: IVec2 -> IVec2 -> IVec2 #
(-) :: IVec2 -> IVec2 -> IVec2 #
(*) :: IVec2 -> IVec2 -> IVec2 #
negate :: IVec2 -> IVec2 #
abs :: IVec2 -> IVec2 #
signum :: IVec2 -> IVec2 #
fromInteger :: Integer -> IVec2 #
showsPrec :: Int -> IVec2 -> ShowS #
show :: IVec2 -> String #
showList :: [IVec2] -> ShowS #
rnf :: IVec2 -> () #
epoint :: Element IVec2 -> IVec2 Source #
emap :: (Element IVec2 -> Element IVec2) -> IVec2 -> IVec2 Source #
emap2 :: (Element IVec2 -> Element IVec2 -> Element IVec2) -> IVec2 -> IVec2 -> IVec2 Source #
emap3 :: (Element IVec2 -> Element IVec2 -> Element IVec2 -> Element IVec2) -> IVec2 -> IVec2 -> IVec2 -> IVec2 Source #
emap4 :: (Element IVec2 -> Element IVec2 -> Element IVec2 -> Element IVec2 -> Element IVec2) -> IVec2 -> IVec2 -> IVec2 -> IVec2 -> IVec2 Source #
emap5 :: (Element IVec2 -> Element IVec2 -> Element IVec2 -> Element IVec2 -> Element IVec2 -> Element IVec2) -> IVec2 -> IVec2 -> IVec2 -> IVec2 -> IVec2 -> IVec2 Source #
alignment140 :: proxy IVec2 -> Int Source #
sizeOf140 :: proxy IVec2 -> Int Source #
isStruct :: proxy IVec2 -> Bool Source #
read140 :: MonadIO m => Ptr a -> Diff a IVec2 -> m IVec2 Source #
write140 :: MonadIO m => Ptr a -> Diff a IVec2 -> IVec2 -> m () Source #
alignment430 :: proxy IVec2 -> Int Source #
sizeOf430 :: proxy IVec2 -> Int Source #
read430 :: MonadIO m => Ptr a -> Diff a IVec2 -> m IVec2 Source #
write430 :: MonadIO m => Ptr a -> Diff a IVec2 -> IVec2 -> m () Source #
sizeOfPacked :: proxy IVec2 -> Int Source #
readPacked :: MonadIO m => Ptr a -> Diff a IVec2 -> m IVec2 Source #
writePacked :: MonadIO m => Ptr a -> Diff a IVec2 -> IVec2 -> m () Source #
(==) :: IVec2 -> IVec2 -> Bool #
(/=) :: IVec2 -> IVec2 -> Bool #
compare :: IVec2 -> IVec2 -> Ordering #
(<) :: IVec2 -> IVec2 -> Bool #
(<=) :: IVec2 -> IVec2 -> Bool #
(>) :: IVec2 -> IVec2 -> Bool #
(>=) :: IVec2 -> IVec2 -> Bool #
max :: IVec2 -> IVec2 -> IVec2 #
min :: IVec2 -> IVec2 -> IVec2 #
omap :: (Element IVec2 -> Element IVec2) -> IVec2 -> IVec2 #
opoint :: Element IVec2 -> IVec2 #
ivec2 :: Int32 -> Int32 -> IVec2 Source #
withIVec2 :: IVec2 -> (Int32 -> Int32 -> r) -> r Source #
pattern WithIVec2 :: Int32 -> Int32 -> IVec2 Source #
fromTuple :: (Int32, Int32) -> IVec2 Source #