RedViz-0.1.0.0: a library for realtime interactive 3D visualizations
Copyright(c) Vladimir Lopatin 2022
LicenseBSD3
MaintainerVladimir Lopatin <madjestic13@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.RedViz.Utils

Description

Utilities and helper functions for varios aspects of graphics pipeline.

Synopsis

Documentation

toIdxVAO :: [[Float]] -> ([Int], [Float]) Source #

Float
~= vertex
[Float
] ~= VAO

toIdxVAO' :: [[Float]] -> ([Int], [Float]) Source #

(<$.>) :: (a -> b) -> [a] -> [b] Source #

(<*.>) :: [a -> b] -> [a] -> [b] Source #

toV3 :: [a] -> V3 a Source #

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