浏览代码

No period at the end and no capital at the beginning

Julien MOREAU-MATHIS 7 年之前
父节点
当前提交
9b0da287da
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 2 2
      src/Layer/babylon.effectLayer.ts
  2. 8 8
      src/Layer/babylon.glowLayer.ts

+ 2 - 2
src/Layer/babylon.effectLayer.ts

@@ -664,8 +664,8 @@
         }
         }
 
 
         /**
         /**
-          * Gets the class name of the effect layer.
-          * @returns The string with the class name of the effect layer.
+          * Gets the class name of the effect layer
+          * @returns the string with the class name of the effect layer
           */
           */
          public getClassName(): string {
          public getClassName(): string {
             return "EffectLayer";
             return "EffectLayer";

+ 8 - 8
src/Layer/babylon.glowLayer.ts

@@ -447,8 +447,8 @@
         }
         }
 
 
         /**
         /**
-          * Gets the class name of the effect layer.
-          * @returns The string with the class name of the effect layer.
+          * Gets the class name of the effect layer
+          * @returns the string with the class name of the effect layer
           */
           */
          public getClassName(): string {
          public getClassName(): string {
             return "GlowLayer";
             return "GlowLayer";
@@ -456,7 +456,7 @@
 
 
         /**
         /**
          * Serializes this glow layer
          * Serializes this glow layer
-         * @returns A serialized glow layer object.
+         * @returns a serialized glow layer object
          */
          */
         public serialize(): any {
         public serialize(): any {
             var serializationObject = SerializationHelper.Serialize(this);
             var serializationObject = SerializationHelper.Serialize(this);
@@ -490,11 +490,11 @@
         }
         }
 
 
         /**
         /**
-         * Creates a Glow Layer from parsed glow layer data.
-         * @param parsedGlowLayer Defines glow layer data.
-         * @param scene BJS scene.
-         * @param rootUrl Root URL containing the glow layer information.
-         * @returns A parsed Glow Layer.
+         * Creates a Glow Layer from parsed glow layer data
+         * @param parsedGlowLayer defines glow layer data
+         * @param scene bjs scene
+         * @param rootUrl root URL containing the glow layer information
+         * @returns a parsed Glow Layer
          */
          */
         public static Parse(parsedGlowLayer: any, scene: Scene, rootUrl: string): GlowLayer {
         public static Parse(parsedGlowLayer: any, scene: Scene, rootUrl: string): GlowLayer {
             var gl = SerializationHelper.Parse(() => new GlowLayer(parsedGlowLayer.name, scene, parsedGlowLayer.options), parsedGlowLayer, scene, rootUrl);
             var gl = SerializationHelper.Parse(() => new GlowLayer(parsedGlowLayer.name, scene, parsedGlowLayer.options), parsedGlowLayer, scene, rootUrl);