Browse Source

Merge pull request #512 from jbousquie/fix.comment.freezeNormals

added freeze/unfreezeNormals comments
Raanan Weber 10 năm trước cách đây
mục cha
commit
7ab5c20625
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Babylon/Mesh/babylon.mesh.ts

+ 2 - 0
Babylon/Mesh/babylon.mesh.ts

@@ -323,10 +323,12 @@
             return this._areNormalsFrozen;
         }
 
+        /**  This function affects parametric shapes on update only : ribbons, tubes, etc. It has no effect at all on other shapes */
         public freezeNormals(): void {
             this._areNormalsFrozen = true;
         }
 
+        /**  This function affects parametric shapes on update only : ribbons, tubes, etc. It has no effect at all on other shapes */
         public unfreezeNormals(): void {
             this._areNormalsFrozen = false;
         }