In this homework you are going to modify our particle simulator so that it shoots a ray at random intervals at the particles.
HW6 in your student folder.
shootParticles() that
does the work of firing the ray and detecting whether a
particle has been hit or not.
You can run my version of the program by double clicking on
run.bat in the folder
T:/Harcourt/Fall2008/CS140/HW6/
Add a short internal wall that the particles bounce off of. Shoot the ray in between the internal wall and the right wall. See the example in
T:/Harcourt/Fall2008/CS140/HW6Extra/