diff org/util.org @ 216:f5ea63245b3b

completed vision demonstration video and first draft of vision.org
author Robert McIntyre <rlm@mit.edu>
date Fri, 10 Feb 2012 11:34:07 -0700
parents d3a2abfac405
children d1206b11ae2d
line wrap: on
line diff
     1.1 --- a/org/util.org	Fri Feb 10 02:19:24 2012 -0700
     1.2 +++ b/org/util.org	Fri Feb 10 11:34:07 2012 -0700
     1.3 @@ -403,7 +403,8 @@
     1.4                 cannon-ball
     1.5                 (sphere  0.7 
     1.6                          :material "Common/MatDefs/Misc/Unshaded.j3md"
     1.7 -                        :texture "Textures/PokeCopper.jpg"
     1.8 +                        :color ColorRGBA/White
     1.9 +                        :name "cannonball!"
    1.10                          :position
    1.11                          (.add (.getLocation camera)
    1.12                                (.mult (.getDirection camera) (float 1)))
    1.13 @@ -411,7 +412,9 @@
    1.14             (.setLinearVelocity
    1.15              (.getControl cannon-ball RigidBodyControl)
    1.16              (.mult (.getDirection camera) (float 50))) ;50
    1.17 -           (add-element game cannon-ball (if node node (.getRootNode game)))))))
    1.18 +           (add-element game cannon-ball (if node node (.getRootNode
    1.19 +            game)))
    1.20 +           cannon-ball))))
    1.21    ([]
    1.22      (fire-cannon-ball false)))
    1.23