[svn:parrot] r40571 - trunk/examples/opengl
dukeleto at svn.parrot.org
dukeleto at svn.parrot.org
Sat Aug 15 19:06:52 UTC 2009
Author: dukeleto
Date: Sat Aug 15 19:06:51 2009
New Revision: 40571
URL: https://trac.parrot.org/parrot/changeset/40571
Log:
[examples] Fix small bug in the way the opengl example generates random numbers that was introduced in r40557
Modified:
trunk/examples/opengl/shapes.pir
Modified: trunk/examples/opengl/shapes.pir
==============================================================================
--- trunk/examples/opengl/shapes.pir Sat Aug 15 14:30:01 2009 (r40570)
+++ trunk/examples/opengl/shapes.pir Sat Aug 15 19:06:51 2009 (r40571)
@@ -405,15 +405,15 @@
random = rand 0, 0.1
z += random
- rand random
+ random = rand
random -= .5
random *= .01
vx += random
- random = random
+ random = rand
random -= .5
random *= .01
vy += random
- random = random
+ random = rand
random -= .5
random *= .01
vz += random
More information about the parrot-commits
mailing list