OverviewFilesCommitsIssuesDocsReleasesPeers

gltf-extensions commits / 4c0ebc6

reformats code block
4c0ebc60461e676d39fe40264013d123cde6a95d
by Anthony Burchell <itartist.pdf@gmail.com> · 2022-01-04T05:53:07.000Z

Changed files (1) +3 -1

extensions/2.0/OMI_audio_emitter/README.md +3 -1
……@@ -255,7 +255,9 @@ The gain unit range is (0,+∞). The default is 1.
255255The cone properties relate to the `PannerNode` interface and determine the amount of volume relative to a listeners position within the defined cone area.
256256
257257The gain relative to cone properties is determined as follows:
258```function coneGain() {
258
259```
260function coneGain() {
259261 const sourceOrientation =
260262 new Vec3(source.orientationX, source.orientationY, source.orientationZ);
261263 if (sourceOrientation.magnitude == 0 ||