提交 2dba6ba1 编写于 作者: M Mr.doob

CubeGeometry: Cloning shared uvs as suggested by @WestLangley in #3762.

上级 c7b0e651
......@@ -104,7 +104,7 @@ THREE.CubeGeometry = function ( width, height, depth, widthSegments, heightSegme
face.materialIndex = materialIndex;
scope.faces.push( face );
scope.faceVertexUvs[ 0 ].push( [ uvb, uvc, uvd ] );
scope.faceVertexUvs[ 0 ].push( [ uvb.clone(), uvc, uvd.clone() ] );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册