question: public void mouseRelease ( int x , int y , int mouseButton ) { mouseX = x ; mouseY = y ; if ( Math . abs ( velocity ) > 10 ) { amplitude = 0.8 * velocity ; timestamp = System . currentTimeMillis ( ) ; double length = Math . sqrt ( lastDx * lastDx + lastDy * lastDy ) ; lastDx /= length ; lastDy /= length ; } else { amplitude = 0 ; updateLookAt ( ) ; } }
target:  Mouse button was released