| … | … | @@ -255,7 +255,9 @@ The gain unit range is (0,+∞). The default is 1. |
| 255 | 255 | The cone properties relate to the `PannerNode` interface and determine the amount of volume relative to a listeners position within the defined cone area. |
| 256 | 256 | |
| 257 | 257 | The gain relative to cone properties is determined as follows: |
| 258 | | ```function coneGain() { |
| 258 | |
| 259 | ``` |
| 260 | function coneGain() { |
| 259 | 261 | const sourceOrientation = |
| 260 | 262 | new Vec3(source.orientationX, source.orientationY, source.orientationZ); |
| 261 | 263 | if (sourceOrientation.magnitude == 0 || |