Kaynağa Gözat

adding documentation

Arthur Silber 10 yıl önce
ebeveyn
işleme
2931d47445
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      src/extras/helpers/EdgesHelper.js

+ 5 - 0
src/extras/helpers/EdgesHelper.js

@@ -1,5 +1,10 @@
 /**
  * @author WestLangley / http://github.com/WestLangley
+ * @param object THREE.Mesh whose geometry will be used
+ * @param hex line color
+ * @param thresholdAngle the minimum difference in degree between two
+ * faces needed to create an edge. A value of 10 means that an edge is only
+ * created if two face normals are at least at a 10° angle to one another
  */
 
 THREE.EdgesHelper = function ( object, hex, thresholdAngle ) {