Skip to content

Instantly share code, notes, and snippets.

@DoctorRyner
Last active May 18, 2020 19:15
Show Gist options
  • Save DoctorRyner/bae945d97d58ffa6a7afc8b8f81d8794 to your computer and use it in GitHub Desktop.
Save DoctorRyner/bae945d97d58ffa6a7afc8b8f81d8794 to your computer and use it in GitHub Desktop.
-- Something like this
$(gen "position" ''Mesh ''V3)
-- Should generate that
getPosition :: Mesh -> JSM V3
getPosition = get "position"
setPosition :: V3 -> Mesh -> JSM ()
setPosition = set "position"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment