Przeglądaj źródła

typedoc documentation update

Max Limper 7 lat temu
rodzic
commit
df6fa9f636

+ 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)