فهرست منبع

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David `Deltakosh` Catuhe 5 سال پیش
والد
کامیت
aa3dc7d67a
2فایلهای تغییر یافته به همراه10 افزوده شده و 4 حذف شده
  1. 7 1
      src/Helpers/videoDome.ts
  2. 3 3
      src/Maths/math.path.ts

+ 7 - 1
src/Helpers/videoDome.ts

@@ -55,9 +55,15 @@ export class VideoDome extends TransformNode {
     protected _material: BackgroundMaterial;
 
     /**
-     * The surface used for the skybox
+     * The surface used for the video dome
      */
     protected _mesh: Mesh;
+    /**
+     * Gets the mesh used for the video dome.
+     */
+    public get mesh(): Mesh {
+        return this._mesh;
+    }
 
     /**
      * A mesh that will be used to mask the back of the video dome in case it is a 180 degree movie.

+ 3 - 3
src/Maths/math.path.ts

@@ -84,9 +84,9 @@ export class Angle {
     }
 
     /**
-     * Gets a new Angle object valued with the angle value in radians between the two given vectors
-     * @param a defines first vector
-     * @param b defines second vector
+     * Gets a new Angle object valued with the gradient angle, in radians, of the line joining two points
+     * @param a defines first point as the origin
+     * @param b defines point
      * @returns a new Angle
      */
     public static BetweenTwoPoints(a: DeepImmutable<Vector2>, b: DeepImmutable<Vector2>): Angle {