Creating the Camera Controls

We need to instantiate a Controls instance that will bind mouse gestures to camera actions. The first argument is the camera we are controlling, and the second argument is a reference to our canvas:

new Controls(camera, canvas);