提交 86142f7a 编写于 作者: V Valentin Demeusy

enh : change spaces into tabs to match previous code style

上级 43679cd6
......@@ -298,15 +298,15 @@ Object.assign( THREE.NRRDLoader.prototype, THREE.EventDispatcher.prototype, {
_data = parseDataAsText( _data );
}
else if (headerObject.encoding === 'raw')
{
//we need to copy the array to create a new array buffer, else we retrieve the original arraybuffer with the header
var _copy = new Uint8Array(_data.length);
for (var i = 0; i < _data.length; i++) {
_copy[i] = _data[i];
}
_data = _copy;
}
else if (headerObject.encoding === 'raw')
{
//we need to copy the array to create a new array buffer, else we retrieve the original arraybuffer with the header
var _copy = new Uint8Array(_data.length);
for (var i = 0; i < _data.length; i++) {
_copy[i] = _data[i];
}
_data = _copy;
}
// .. let's use the underlying array buffer
_data = _data.buffer;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册