提交 702fdf79 编写于 作者: T Tristan VALCKE

BufferGeometryUtils: Naming convention

上级 bdbea51b
......@@ -498,9 +498,8 @@ THREE.BufferGeometryUtils = {
var getters = [ 'getX', 'getY', 'getZ', 'getW' ];
// initialize the arrays
var name = undefined;
for ( var attributeNameIndex = 0, numberOfAttributeNames = attributeNames.length ; attributeNameIndex < numberOfAttributeNames ; attributeNameIndex++ ) {
name = attributeNames[ attributeNameIndex ];
for ( var i = 0, l = attributeNames.length; i < l; i ++ ) {
var name = attributeNames[ i ];
attrArrays[ name ] = [];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册