new CameraControl3D(target, distance, pitch, idleSpin)render3dExtras.js:1231Create a camera control, it drives render3D.camera every frame
targetVector3 optionalThe point to look at, its pos3D
distancenumber optional, default 10How far the camera sits from the target
pitchnumber optional, default 0.4Angle above the horizon, PI/2 looks straight down, clamped to pitchRange
idleSpinnumber optional, default 0Turned each frame while not dragging, 0 holds still
new CameraControl3D(vec3(0, 1, 0), 15); // look at a point from 15 units away