Created
February 16, 2009 20:24
-
-
Save Chouser/65340 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (import '(com.jme.app SimpleGame AbstractGame$ConfigShowMode) | |
| '(com.jme.scene Node) | |
| '(com.jme.scene.shape Sphere) | |
| '(com.jme.bounding BoundingBox) | |
| '(com.jme.math Vector3f)) | |
| (doto (proxy [SimpleGame] [] | |
| (simpleInitGame [] | |
| (println "=== starting...") | |
| (.attachChild (.getRootNode this) | |
| (doto (Sphere. "Sphere" 30 30 25) | |
| (.setLocalTranslation (Vector3f. 0 0 -40)) | |
| (.setModelBound (BoundingBox.)) | |
| .updateModelBound)))) | |
| (.setConfigShowMode AbstractGame$ConfigShowMode/AlwaysShow) | |
| (.start)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment