1. 首页
  2. three.js

three.js合并算法

嘿!有人知道算法的用途吗three.js合并对象?n这实际上不是一个特定的算法,只是将一组三角形添加到另一组三角形中。Three.js例如,不执行构造实体几何(CSG)或布尔运算。n以下是代码:github.commrdoob/three.js/blob/7e0a78beb9317e580d7fa4da9b5b12be051c6feb/examples/js/utils/BufferGeometryUtils.js#L192-L339 1n1. mergeBufferGeometries: function ( geometries, useGroups ) {n2. var !== null;n3. var>n4. var>n5. var>n6. var>n7. var>n8. var>n9. for ( var>n10. var>n11. // ensure that all geometries are indexed, or none此文件已被截断。原版n Merge algorithmn

three.js合并算法 为WP2原创文章,链接:https://www.wp2.cn/three-js/three-js%e5%90%88%e5%b9%b6%e7%ae%97%e6%b3%95/