Explorar o código

use addgroup for adding draw calls in test

simonThiele %!s(int64=9) %!d(string=hai) anos
pai
achega
6d5d6f8b74
Modificáronse 1 ficheiros con 1 adicións e 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;