Quellcode durchsuchen

typedoc documentation update

Max Limper vor 7 Jahren
Ursprung
Commit
df6fa9f636
2 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 3 0
      src/Materials/babylon.standardMaterial.ts
  2. 2 1
      src/Math/babylon.math.ts

+ 3 - 0
src/Materials/babylon.standardMaterial.ts

@@ -202,6 +202,9 @@ module BABYLON {
         @serialize("useObjectSpaceNormalMap")
         private _useObjectSpaceNormalMap = false;
         @expandToProperty("_markAllSubMeshesAsTexturesDirty")
+        /**
+         * Allows using an object space normal map (instead of tangent space).
+         */
         public useObjectSpaceNormalMap: boolean;
 
         @serialize("useParallax")

+ 2 - 1
src/Math/babylon.math.ts

@@ -3896,7 +3896,8 @@
         }
 
         /**
-         * Returns a new Matrix which is the normal matrix computed from the current one (using values from identity matrix for fourth row and column).  
+         * Writes to the given matrix a normal matrix, computed from this one (using values from identity matrix for fourth row and column).  
+         * @param ref matrix to store the result
          */
         public toNormalMatrix(ref : Matrix): void {            
             this.invertToRef(ref)