Copyright | (c) Vladimir Lopatin 2022 |
---|---|
License | BSD3 |
Maintainer | Vladimir Lopatin <madjestic13@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Utilities and helper functions for varios aspects of graphics pipeline.
Synopsis
- toIdxVAO :: [[Float]] -> ([Int], [Float])
- toIdxVAO' :: [[Float]] -> ([Int], [Float])
- fromList :: [Float] -> M44 Double
- (<$.>) :: (a -> b) -> [a] -> [b]
- (<*.>) :: [a -> b] -> [a] -> [b]
- toV3 :: [a] -> V3 a
- rotateList :: Int -> [a] -> [a]
- rotateList' :: (Int, [a]) -> [a]
- fromUUID :: UUID -> GLuint
- encodeStringUUID :: String -> UUID
Documentation
rotateList :: Int -> [a] -> [a] Source #
rotateList' :: (Int, [a]) -> [a] Source #
encodeStringUUID :: String -> UUID Source #
Generate a UUID, based on FilePath | e.g. fromUUID $ encodeStringUUID ".projects.temp1" | > 2836415114
Orphan instances
VectorSpace (V4 (V4 Double)) Double Source # | |
zeroVector :: V4 (V4 Double) # (*^) :: Double -> V4 (V4 Double) -> V4 (V4 Double) # (^/) :: V4 (V4 Double) -> Double -> V4 (V4 Double) # (^+^) :: V4 (V4 Double) -> V4 (V4 Double) -> V4 (V4 Double) # (^-^) :: V4 (V4 Double) -> V4 (V4 Double) -> V4 (V4 Double) # negateVector :: V4 (V4 Double) -> V4 (V4 Double) # dot :: V4 (V4 Double) -> V4 (V4 Double) -> Double # | |
VectorSpace (V3 Double) Double Source # | |