Geomancy.IVec4
Description
Specialized and inlined V2 Int32.
V2 Int32
data IVec4 Source #
Defined in Geomancy.IVec4
Methods
sizeOf :: IVec4 -> Int #
alignment :: IVec4 -> Int #
peekElemOff :: Ptr IVec4 -> Int -> IO IVec4 #
pokeElemOff :: Ptr IVec4 -> Int -> IVec4 -> IO () #
peekByteOff :: Ptr b -> Int -> IO IVec4 #
pokeByteOff :: Ptr b -> Int -> IVec4 -> IO () #
peek :: Ptr IVec4 -> IO IVec4 #
poke :: Ptr IVec4 -> IVec4 -> IO () #
range :: (IVec4, IVec4) -> [IVec4] #
index :: (IVec4, IVec4) -> IVec4 -> Int #
unsafeIndex :: (IVec4, IVec4) -> IVec4 -> Int #
inRange :: (IVec4, IVec4) -> IVec4 -> Bool #
rangeSize :: (IVec4, IVec4) -> Int #
unsafeRangeSize :: (IVec4, IVec4) -> Int #
(+) :: IVec4 -> IVec4 -> IVec4 #
(-) :: IVec4 -> IVec4 -> IVec4 #
(*) :: IVec4 -> IVec4 -> IVec4 #
negate :: IVec4 -> IVec4 #
abs :: IVec4 -> IVec4 #
signum :: IVec4 -> IVec4 #
fromInteger :: Integer -> IVec4 #
showsPrec :: Int -> IVec4 -> ShowS #
show :: IVec4 -> String #
showList :: [IVec4] -> ShowS #
rnf :: IVec4 -> () #
epoint :: Element IVec4 -> IVec4 Source #
emap :: (Element IVec4 -> Element IVec4) -> IVec4 -> IVec4 Source #
emap2 :: (Element IVec4 -> Element IVec4 -> Element IVec4) -> IVec4 -> IVec4 -> IVec4 Source #
emap3 :: (Element IVec4 -> Element IVec4 -> Element IVec4 -> Element IVec4) -> IVec4 -> IVec4 -> IVec4 -> IVec4 Source #
emap4 :: (Element IVec4 -> Element IVec4 -> Element IVec4 -> Element IVec4 -> Element IVec4) -> IVec4 -> IVec4 -> IVec4 -> IVec4 -> IVec4 Source #
emap5 :: (Element IVec4 -> Element IVec4 -> Element IVec4 -> Element IVec4 -> Element IVec4 -> Element IVec4) -> IVec4 -> IVec4 -> IVec4 -> IVec4 -> IVec4 -> IVec4 Source #
(==) :: IVec4 -> IVec4 -> Bool #
(/=) :: IVec4 -> IVec4 -> Bool #
compare :: IVec4 -> IVec4 -> Ordering #
(<) :: IVec4 -> IVec4 -> Bool #
(<=) :: IVec4 -> IVec4 -> Bool #
(>) :: IVec4 -> IVec4 -> Bool #
(>=) :: IVec4 -> IVec4 -> Bool #
max :: IVec4 -> IVec4 -> IVec4 #
min :: IVec4 -> IVec4 -> IVec4 #
Associated Types
type PackedSize IVec4 :: Nat #
alignment140 :: proxy IVec4 -> Int #
sizeOf140 :: proxy IVec4 -> Int #
isStruct :: proxy IVec4 -> Bool #
read140 :: MonadIO m => Ptr a -> Diff a IVec4 -> m IVec4 #
write140 :: MonadIO m => Ptr a -> Diff a IVec4 -> IVec4 -> m () #
alignment430 :: proxy IVec4 -> Int #
sizeOf430 :: proxy IVec4 -> Int #
read430 :: MonadIO m => Ptr a -> Diff a IVec4 -> m IVec4 #
write430 :: MonadIO m => Ptr a -> Diff a IVec4 -> IVec4 -> m () #
sizeOfPacked :: proxy IVec4 -> Int #
readPacked :: MonadIO m => Ptr a -> Diff a IVec4 -> m IVec4 #
writePacked :: MonadIO m => Ptr a -> Diff a IVec4 -> IVec4 -> m () #
omap :: (Element IVec4 -> Element IVec4) -> IVec4 -> IVec4 #
opoint :: Element IVec4 -> IVec4 #
ivec4 :: Int32 -> Int32 -> Int32 -> Int32 -> IVec4 Source #
withIVec4 :: IVec4 -> (Int32 -> Int32 -> Int32 -> Int32 -> r) -> r Source #
pattern WithIVec4 :: Int32 -> Int32 -> Int32 -> Int32 -> IVec4 Source #
convert :: Coercible v IVec4 => (Int32 -> a) -> (a -> a -> a -> a -> r) -> v -> r Source #
fromTuple :: (Int32, Int32, Int32, Int32) -> IVec4 Source #
dot :: IVec4 -> IVec4 -> Int32 Source #