提交 c154b7c8 编写于 作者: J James Baicoianu

PlaneGeometry inherits from Geometry

上级 57dc1994
...@@ -81,8 +81,9 @@ THREE.PlaneGeometry = function ( width, height, widthSegments, heightSegments ) ...@@ -81,8 +81,9 @@ THREE.PlaneGeometry = function ( width, height, widthSegments, heightSegments )
} }
THREE.Geometry.call( this );
THREE.IndexedGeometry2.call( this, indices, vertices, normals, uvs ); THREE.IndexedGeometry2.call( this, indices, vertices, normals, uvs );
}; };
THREE.PlaneGeometry.prototype = Object.create( THREE.IndexedGeometry2.prototype ); THREE.PlaneGeometry.prototype = Object.create( THREE.Geometry.prototype );
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册