Raanan Weber 5 年之前
父节点
当前提交
b1f5b85985
共有 2 个文件被更改,包括 1 次插入2 次删除
  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();