module POVRay
  ( povrayApp
  , runPOVRay
  ) where

import Reanimate.Misc (requireExecutable, runCmd)

-- | Name of the POV-Ray executable
povrayApp :: String
povrayApp :: String
povrayApp = String
"povray"

-- | Run the POV-Ray executable with arguments
runPOVRay :: [String] -> IO ()
runPOVRay :: [String] -> IO ()
runPOVRay [String]
args = do
  String
exec <- String -> IO String
requireExecutable String
povrayApp
  String -> [String] -> IO ()
runCmd String
exec [String]
args