rain derived from ygNode Example Source Header

Description: creates any number of rain particles in a range about the user

notes:
Category: Geometry
Author: Kyoung Park
11/01/01
Revision: 11/05/02 Alex Hill - added network Messages

    Messages
count [integer] set the number of rain particles
speed float set the speed of decent
ground float set the recycle point
range three floats, three floats set the minimum and maximum of the range
    Comments

constructor rain

method reset

1 set range to (-1,-1,0) and (1,1,1)
2 set count to 0
3 set ground to 0.0
4 set speed to 1.0

method message

1 set the number of rain particles
2 set the speed of decent
3 set the recycle point
4 set the minimum and maximum of the range

method createGeode

method makeCylinder

method app

0.0.1 move the rain
0.0.2 if rain reaches ground, put it at top