void TerrainApp::mouseWheel( MouseEvent event ) { float dWheel = event.getWheelIncrement(); if( event.isShiftDown() ){ mZoomMultiDest += dWheel * 0.001f; mZoomMultiDest = constrain( mZoomMultiDest, 0.1f, 1.0f ); } else { mRoom.adjustTimeMulti( dWheel ); } }
void BubbleChamberApp::mouseWheel( MouseEvent event ) { float dWheel = event.getWheelIncrement(); mRoom.adjustTimeMulti( dWheel ); }
void RepulsionApp::mouseWheel( MouseEvent event ) { float dWheel = event.getWheelIncrement(); mRoom.adjustTimeMulti( dWheel ); }