Skip to content

Instantly share code, notes, and snippets.

@tgk
Created July 16, 2010 08:48
Show Gist options
  • Save tgk/478150 to your computer and use it in GitHub Desktop.
Save tgk/478150 to your computer and use it in GitHub Desktop.
(ns penumbra-fail
(:use [penumbra opengl])
(:require [penumbra.app :as app]
[penumbra.text :as text]))
(defn init [state]
(enable :blend)
state)
(defn display [[delta time] state]
(text/write-to-screen "hello world" 0 0)
(draw-lines
(vertex 0 0 0)
(vertex 0.5 0.5 0.5)))
(defn view-text [& args]
(app/start {:display display, :init init} {}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment