Explorar el Código

use addgroup for adding draw calls in test

simonThiele hace 9 años
padre
commit
6d5d6f8b74
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      test/unit/geometry/EdgesGeometry.js

+ 1 - 2
test/unit/geometry/EdgesGeometry.js

@@ -171,8 +171,7 @@ function addDrawCalls ( geometry ) {
 		var start = i * 3;
 		var count = 3;
 
-		geometry.addDrawCall ( start, count, offset );
-
+		geometry.addGroup( start, count );
 	}
 
 	return geometry;