CSC 4356/Prog2/prog2.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