diff --git a/README.md b/README.md index 38095ab..0070dba 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Demo: - [Usage](#usage) - [Vanilla](#vanilla) - [React Three Fiber](#react-three-fiber) -- [Configuration](#configuration) +- [Configuration Options](#configuration-options) ## Setup @@ -106,7 +106,7 @@ createRoot(document.getElementById("root")).render( ); ``` -## Configuration +## Configuration Options The controls can be configured by setting the following properties. @@ -119,7 +119,7 @@ The controls can be configured by setting the following properties. | `zoomSpeed: number` | 0.05 | Sets the speed of zooming. | | `panSpeed: number` | 0.1 | Sets the speed of panning (moving the view). | -Configuring in Vanilla. +Setting the options in vanilla JavaScript. ```js const panoramaControls = new PanoramaControls(camera, renderer.domElement); @@ -131,7 +131,7 @@ panoramaControls.zoomSpeed = 0.025; panoramaControls.panSpeed = 0.05; ``` -Configuring in React Three Fiber. +Setting the options in React Three Fiber. ```jsx