Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
module Main where
import Engine
pretty elem
= elem $= texture (fromFile "slim.jpg")
scene =
pretty cube $= rotateX 2t $= rotateY 3t
view =
fromBoundingBox scene
main = render (scene $= transform view)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.