Project: threejs
Task (challenging): Create control.js imported by index.js 1: When the left mouse button is pressed and dragging, The camera view can rotate around the camera position by the mouse movement. 2: When the mouse wheel is scrolled, the camera moves forward or backward in the direction it is facing. 3: When  the right mouse button is pressed and dragging, the camera moves horizontally on the x and z axes. 4: The camera's horizontal movement should consider its current position and orientation, should be moving in the direction of the mouse orientation.