function addMouseHandler(canvas, group)
{
    canvas.addEventListener( 'mousemove', e => onMouseMove(e, group), false );
    canvas.addEventListener( 'mousedown', e => onMouseDown(e), false );
    canvas.addEventListener( 'mouseup', e => onMouseUp(e), false );

    document.querySelector("#slider").oninput = (e) => scaleScene(e.target.value, group);
}
/**
 * Adds the mouse events to the canvas
 * @param {canvas} canvas The canvas element to add the mouse handlers to
 * @param {THREE.Object3D} group The group that is affected by the inputs
 */
Adds the mouse events to the canvas
@param {canvas} canvas The canvas element to add the mouse handlers to
@param {THREE.Object3D} group The group that is affected by the inputs
Adds the mouse events to the canvas @param { canvas } canvas The canvas element to add the mouse handlers to @param { THREE . Object3D } group The group that is affected by the inputs
function addMouseHandler(canvas, group)
{
    canvas.addEventListener( 'mousemove', e => onMouseMove(e, group), false );
    canvas.addEventListener( 'mousedown', e => onMouseDown(e), false );
    canvas.addEventListener( 'mouseup', e => onMouseUp(e), false );
    document.querySelector("#slider").oninput = (e) => scaleScene(e.target.value, group);
}
function addMouseHandler ( canvas , group ) { canvas . addEventListener ( 'mousemove' , e => onMouseMove ( e , group ) , false ) ; canvas . addEventListener ( 'mousedown' , e => onMouseDown ( e ) , false ) ; canvas . addEventListener ( 'mouseup' , e => onMouseUp ( e ) , false ) ; document . querySelector ( "#slider" ) . oninput = ( e ) => scaleScene ( e . target . value , group ) ; }
Adds the mouse events to the canvas
 @param {canvas} canvas The canvas element to add the mouse handlers to
 @param {THREE.Object3D} group The group that is affected by the inputs
Adds the mouse events to the canvas @param { canvas } canvas The canvas element to add the mouse handlers to @param { THREE . Object3D } group The group that is affected by the inputs