[Home]History of DataBullet

Robo Home | Changes | Preferences | AllPages


Revision 11 . . February 2, 2007 3:54 EST by Chase-san [comment (more code)]
Revision 10 . . February 2, 2007 3:46 EST by Chase-san [comment(some code)]
Revision 7 . . (edit) February 1, 2007 13:47 EST by Stelokim [Great idea. Thanks!]
  

Difference (from prior major revision) (author diff)

Added: 81a82,90
public double getEscapeAngle?(Bullet b) {
return Math.asin(8/b.getVelocity())*getDirection(b);
}
public double getDistanceTraveled?(Bullet b) {
return Point2D.distance(b.getX(), b.getY(), getSourceX?(b), getSourceY?(b));
}
public double getDistanceTravelTime?(Bullet b, long time) {
return b.getVelocity()*(time-getShotTime?(b));
}

Changed: 83c92
I think those work, tell me if I got something wrong (and please test it first, just don't eyeball it)) --Chase-san
I think those work, tell me if I got something wrong (and please test it first, just don't eyeball it)) --Chase-san

Robo Home | Changes | Preferences | AllPages
Search: