提交 6f9dc56b 编写于 作者: M Mr.doob

BufferAttribute/InterleaveBufferAttribute: Simpler warnings.

上级 c914858d
...@@ -17,7 +17,7 @@ THREE.BufferAttribute.prototype = { ...@@ -17,7 +17,7 @@ THREE.BufferAttribute.prototype = {
get length () { get length () {
THREE.warn( 'THREE.BufferAttribute.length has been removed. Use THREE.BufferAttribute.count instead.' ); console.warn( 'THREE.BufferAttribute: .length has been renamed to .count.' );
return this.count; return this.count;
}, },
......
...@@ -17,7 +17,7 @@ THREE.InterleavedBufferAttribute.prototype = { ...@@ -17,7 +17,7 @@ THREE.InterleavedBufferAttribute.prototype = {
get length() { get length() {
THREE.warn( 'THREE.InterleavedBufferAttribute.length has been removed. Use THREE.InterleavedBufferAttribute.count instead.' ); console.warn( 'THREE.InterleavedBufferAttribute: .length has been renamed to .count.' );
return this.count; return this.count;
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册