Skip to content

Commit

Permalink
* readme.textile: removed println, added a little more to README
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Feb 18, 2010
1 parent 884cae6 commit c1cd265
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions readme.textile
Expand Up @@ -10,12 +10,24 @@ lein swank


You can then connect to this REPL. You can then connect to this REPL.


I highly recommend using Emacs/SLIME or Enclojure. It's critical when you're starting out to be able to jump around to source definition. In Emacs this can be done with *M-.*.

h1. Tricks h1. Tricks


If you pass a display-proxy function to your app you can interact with the tutorials without having to restar the application completely. If you pass a display-proxy function to your app you can interact with the tutorials without having to restar the application completely.


h1. Trouble Shooting h1. Trouble Shooting


h2. Missing function

Some of the OpenGL has not been brought into Penumbra. However it's simple to import these things yourself with *gl-import*. For example *glClearDepth* has been imported but you can use it in your code like so:

<pre>
(gl-import glClearDepth clear-depth)
</pre>

h2. Signatures

The signatures of your methods are *really* important. The signatures of your methods are *really* important.


(defn reshape [[x y width height] state] (defn reshape [[x y width height] state]
Expand Down
1 change: 0 additions & 1 deletion src/clj_nehe/tutorial1.clj
Expand Up @@ -29,7 +29,6 @@
;; Fns ;; Fns


(defn init [state] (defn init [state]
(println "init")
(app/title! "Nehe Tutorial 2") (app/title! "Nehe Tutorial 2")
(app/vsync! false) (app/vsync! false)
(app/display-mode! *width* *height*) (app/display-mode! *width* *height*)
Expand Down

0 comments on commit c1cd265

Please sign in to comment.