소스 검색

adding documentation

Arthur Silber 10 년 전
부모
커밋
2931d47445
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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 ) {