merging with wake remake #story[820]

This commit is contained in:
Peter Galloway
2017-05-01 20:09:51 +12:00
parent 130efa3a51
commit 33ae7beeb4
7 changed files with 28 additions and 20 deletions
@@ -166,7 +166,7 @@ public class CanvasController {
positionPacket = movementQueue.take();
Point2D p2d = latLonToXY(positionPacket.getLat(), positionPacket.getLon());
double heading = 360.0 / 0xffff * positionPacket.getHeading();
raceObject.setDestination(p2d.getX(), p2d.getY(), heading, (int) id);
raceObject.setDestination(p2d.getX(), p2d.getY(), heading, positionPacket.getGroundSpeed(), (int) id);
} catch (InterruptedException e){
e.printStackTrace();
}