Quellcode durchsuchen

adding documentation

Arthur Silber vor 10 Jahren
Ursprung
Commit
2931d47445
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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 ) {