Explorar o código

missing return statement

Raanan Weber %!s(int64=5) %!d(string=hai) anos
pai
achega
c46abbde87
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Cameras/XR/features/WebXRControllerPointerSelection.ts

+ 1 - 0
src/Cameras/XR/features/WebXRControllerPointerSelection.ts

@@ -210,6 +210,7 @@ export class WebXRControllerPointerSelection implements IWebXRFeature {
      * Get the xr controller that correlates to the pointer id in the pointer event
      *
      * @param id the pointer id to search for
+     * @returns the controller that correlates to this id or null if not found
      */
     public getXRControllerByPointerId(id: number): Nullable<WebXRController> {
         const keys = Object.keys(this._controllers);