We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d865453 commit cd923eaCopy full SHA for cd923ea
test/unit/geometry/EdgesGeometry.js
@@ -85,6 +85,7 @@ test( "tetrahedron", function() {
85
// HELPERS
86
//
87
88
+
89
function testEdges ( vertList, idxList, numAfter ) {
90
91
var geoms = createGeometries ( vertList, idxList );
@@ -192,8 +193,8 @@ function countEdges ( geom ) {
192
193
194
}
195
- var indices = geom.getAttribute( 'index' );
196
- if ( indices !== undefined ) {
+ var indices = geom.index;
197
+ if ( indices ) {
198
199
return indices.count;
200
0 commit comments