Jason Sturges преди 4 години
родител
ревизия
89089f4dfd

+ 1 - 1
src/XR/features/WebXRControllerTeleportation.ts

@@ -212,7 +212,7 @@ export class WebXRMotionControllerTeleportation extends WebXRAbstractFeature {
     }
 
     /**
-     * Sets wether rotation is enabled or not
+     * Sets whether rotation is enabled or not
      * @param enabled is rotation enabled when teleportation is shown
      */
     public set rotationEnabled(enabled: boolean) {

+ 1 - 1
src/XR/features/WebXRHandTracking.ts

@@ -101,7 +101,7 @@ export const enum HandPart {
      */
     WRIST = "wrist",
     /**
-     * HandPart - The THumb
+     * HandPart - The Thumb
      */
     THUMB = "thumb",
     /**

+ 1 - 1
src/XR/webXRDefaultExperience.ts

@@ -165,7 +165,7 @@ export class WebXRDefaultExperience {
     }
 
     /**
-     * DIsposes of the experience helper
+     * Disposes of the experience helper
      */
     public dispose() {
         if (this.baseExperience) {

+ 1 - 1
src/XR/webXRInputSource.ts

@@ -43,7 +43,7 @@ export class WebXRInputSource {
     private _disposed = false;
 
     /**
-     * Represents the part of the controller that is held. This may not exist if the controller is the head mounted display itself, if thats the case only the pointer from the head will be availible
+     * Represents the part of the controller that is held. This may not exist if the controller is the head mounted display itself, if that's the case only the pointer from the head will be available
      */
     public grip?: AbstractMesh;
     /**

+ 2 - 2
src/XR/webXRManagedOutputCanvas.ts

@@ -6,7 +6,7 @@ import { Observable } from "../Misc/observable";
 import { Tools } from "../Misc/tools";
 
 /**
- * COnfiguration object for WebXR output canvas
+ * Configuration object for WebXR output canvas
  */
 export class WebXRManagedOutputCanvasOptions {
     /**
@@ -65,7 +65,7 @@ export class WebXRManagedOutputCanvas implements WebXRRenderTarget {
     public xrLayer: Nullable<XRWebGLLayer> = null;
 
     /**
-     * Obseervers registered here will be triggered when the xr layer was initialized
+     * Observers registered here will be triggered when the xr layer was initialized
      */
     public onXRLayerInitObservable: Observable<XRWebGLLayer> = new Observable();