Raanan Weber 5 tahun lalu
induk
melakukan
b1f5b85985
2 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 0 1
      src/Cameras/XR/webXRControllerModelLoader.ts
  2. 1 1
      src/Cameras/camera.ts

+ 0 - 1
src/Cameras/XR/webXRControllerModelLoader.ts

@@ -15,7 +15,6 @@ export class WebXRControllerModelLoader {
      */
     constructor(input: WebXRInput) {
         input.onControllerAddedObservable.add((c) => {
-            console.log("controller added");
             let controllerModel: WebVRController;
             if (c.inputSource.gamepad && c.inputSource.gamepad.id === "htc-vive") {
                 controllerModel = new ViveController(c.inputSource.gamepad);

+ 1 - 1
src/Cameras/camera.ts

@@ -1205,7 +1205,7 @@ export class Camera extends Node {
 
     /**
      * Compute the world  matrix of the camera.
-     * @returns the camera workd matrix
+     * @returns the camera world matrix
      */
     public computeWorldMatrix(): Matrix {
         return this.getWorldMatrix();