Skip to main content

pan

Function pan 

Source
pub fn pan(camera: &mut ViewCamera, dx: f64, dy: f64)
Expand description

Pan by a screen-space delta in CSS px: the scene follows the cursor (dragging right moves the model right, i.e. the camera left).