diff --git a/src/framework/xr/xr-views.js b/src/framework/xr/xr-views.js index 011590fd4b1..c0aa299e805 100644 --- a/src/framework/xr/xr-views.js +++ b/src/framework/xr/xr-views.js @@ -212,7 +212,7 @@ class XrViews extends EventHandler { /** * @param {XRFrame} frame - XRFrame from requestAnimationFrame callback. - * @param {XRView} xrView - XRView from WebXR API. + * @param {XRView[]} xrViews - XRViews from the WebXR API. * @ignore */ update(frame, xrViews) { diff --git a/src/platform/graphics/webgpu/webgpu-xr-bridge.js b/src/platform/graphics/webgpu/webgpu-xr-bridge.js index 69bf47943fc..5d171020b26 100644 --- a/src/platform/graphics/webgpu/webgpu-xr-bridge.js +++ b/src/platform/graphics/webgpu/webgpu-xr-bridge.js @@ -139,7 +139,7 @@ class WebgpuXrBridge { } /** - * @param {XRFrame} frame - Current XR frame. + * @param {XRFrame} _frame - Current XR frame. * @param {Vec2} out - Width in {@link Vec2#x}, height in {@link Vec2#y}. */ getFramebufferSize(_frame, out) { @@ -160,7 +160,7 @@ class WebgpuXrBridge { } /** - * @param {XRFrame} frame - Current XR frame. + * @param {XRFrame} _frame - Current XR frame. * @param {XRView} xrView - WebXR view. * @returns {XRViewport} Viewport for this view, or zeros if unavailable. */ diff --git a/src/scene/morph.js b/src/scene/morph.js index 804ccd7b4ee..ba41e56f5e8 100644 --- a/src/scene/morph.js +++ b/src/scene/morph.js @@ -283,8 +283,8 @@ class Morph extends RefCountedObject { * * @param {string} name - The name of the texture. * @param {number} format - The format of the texture. - * @param {Array} [levels] - The levels of the texture. * @param {number} [arrayLength] - The length of the texture array. + * @param {Array} [levels] - The levels of the texture. * @returns {Texture} The created texture. * @private */