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

ObjectLoader: Added PlaneBufferGeometry support. Fixes #6203.

上级 9d7c1262
......@@ -85,8 +85,9 @@ THREE.ObjectLoader.prototype = {
switch ( data.type ) {
case 'PlaneGeometry':
case 'PlaneBufferGeometry':
geometry = new THREE.PlaneGeometry(
geometry = new THREE[ data.type ](
data.width,
data.height,
data.widthSegments,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册