CSC 4356/prog5/prog5.js
//Track recent location of movement of the mouse
Track recent location of movement of the mouse
Track recent location of movement of the mouse
function onmousedown(event)
{
  dragging = true;
  lastClientX = event.clientX;
  lastClientY = event.clientY;
}
function onmousedown ( event ) { dragging = true ; lastClientX = event . clientX ; lastClientY = event . clientY ; }
Track recent location of movement of the mouse
Track recent location of movement of the mouse