提交 766eea00 编写于 作者: M Mr.doob

Moved Face4 to Three.Legacy.

上级 b68feca3
......@@ -195,6 +195,15 @@ Object.defineProperties( THREE.Vector3.prototype, {
//
THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) {
console.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.' );
return new THREE.Face3( a, b, c, normal, color, materialIndex );
};
//
Object.defineProperties( THREE.Object3D.prototype, {
eulerOrder: {
get: function () {
......
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) {
console.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.' );
return new THREE.Face3( a, b, c, normal, color, materialIndex );
};
......@@ -29,7 +29,6 @@
"src/core/Raycaster.js",
"src/core/Object3D.js",
"src/core/Face3.js",
"src/core/Face4.js",
"src/core/BufferAttribute.js",
"src/core/InstancedBufferAttribute.js",
"src/core/InterleavedBuffer.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册