Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/framework/xr/xr-views.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions src/platform/graphics/webgpu/webgpu-xr-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/scene/morph.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down