Mercurial > cortex
diff org/util.org @ 306:7e7f8d6d9ec5
massive spellchecking
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 18 Feb 2012 10:59:41 -0700 |
parents | d1206b11ae2d |
children | bb3f8a4af87f |
line wrap: on
line diff
1.1 --- a/org/util.org Sat Feb 18 10:28:14 2012 -0700 1.2 +++ b/org/util.org Sat Feb 18 10:59:41 2012 -0700 1.3 @@ -28,7 +28,7 @@ 1.4 (defn jme-class? [classname] 1.5 (and 1.6 (.startsWith classname "com.jme3.") 1.7 - ;; Don't import the Lwjgl stuff since it can throw exceptions 1.8 + ;; Don't import the LWJGL stuff since it can throw exceptions 1.9 ;; upon being loaded. 1.10 (not (re-matches #".*Lwjgl.*" classname)))) 1.11 1.12 @@ -52,10 +52,10 @@ 1.13 happy with the general structure of a namespace I can deal with 1.14 importing only the classes it actually needs. 1.15 1.16 -The =mega-import-jme3= is quite usefull for debugging purposes since 1.17 +The =mega-import-jme3= is quite useful for debugging purposes since 1.18 it allows completion for almost all of JME's classes from the REPL. 1.19 1.20 -Out of curiousity, let's see just how many classes =mega-import-jme3= 1.21 +Out of curiosity, let's see just how many classes =mega-import-jme3= 1.22 imports: 1.23 1.24 #+begin_src clojure :exports both :results output 1.25 @@ -226,7 +226,7 @@ 1.26 (in-ns 'cortex.util) 1.27 1.28 (defn load-bullet 1.29 - "Runnig this function unpacks the native bullet libraries and makes 1.30 + "Running this function unpacks the native bullet libraries and makes 1.31 them available." 1.32 [] 1.33 (let [sim (world (Node.) {} no-op no-op)] 1.34 @@ -316,8 +316,8 @@ 1.35 ([] (sphere 0.5))) 1.36 1.37 (defn x-ray 1.38 - "A usefull material for debuging -- it can be seen no matter what 1.39 - object occuldes it." 1.40 + "A useful material for debugging -- it can be seen no matter what 1.41 + object occludes it." 1.42 [#^ColorRGBA color] 1.43 (doto (Material. (asset-manager) 1.44 "Common/MatDefs/Misc/Unshaded.j3md") 1.45 @@ -359,7 +359,7 @@ 1.46 (in-ns 'cortex.util) 1.47 1.48 (defn basic-light-setup 1.49 - "returns a sequence of lights appropiate for fully lighting a scene" 1.50 + "returns a sequence of lights appropriate for fully lighting a scene" 1.51 [] 1.52 (conj 1.53 (doall 1.54 @@ -379,7 +379,7 @@ 1.55 (.setColor ColorRGBA/White)))) 1.56 1.57 (defn light-up-everything 1.58 - "Add lights to a world appropiate for quickly seeing everything 1.59 + "Add lights to a world appropriate for quickly seeing everything 1.60 in the scene. Adds six DirectionalLights facing in orthogonal 1.61 directions, and one AmbientLight to provide overall lighting 1.62 coverage." 1.63 @@ -433,7 +433,7 @@ 1.64 forces 1.65 [root-node 1.66 keymap 1.67 - intilization 1.68 + initialization 1.69 world-loop]] 1.70 (let [add-keypress 1.71 (fn [state keymap key] 1.72 @@ -472,14 +472,14 @@ 1.73 (splice-loop))] 1.74 [root-node 1.75 keymap* 1.76 - intilization 1.77 + initialization 1.78 world-loop*])) 1.79 1.80 (import com.jme3.font.BitmapText) 1.81 (import com.jme3.scene.control.AbstractControl) 1.82 (import com.aurellem.capture.IsoTimer) 1.83 1.84 -(defn display-dialated-time 1.85 +(defn display-dilated-time 1.86 "Shows the time as it is flowing in the simulation on a HUD display. 1.87 Useful for making videos." 1.88 [world timer]