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

Added placeholders for Object3D and Geometry clone().

上级 2c86fbbc
......@@ -567,7 +567,7 @@ THREE.Geometry.prototype = {
* and faces' vertices are updated.
*/
mergeVertices: function() {
mergeVertices: function () {
var verticesMap = {}; // Hashmap for looking up vertice by position coordinates (and making sure they are unique)
var unique = [], changes = [];
......@@ -656,6 +656,12 @@ THREE.Geometry.prototype = {
this.vertices = unique;
return diff;
},
clone: function () {
// TODO
}
};
......
......@@ -273,6 +273,12 @@ THREE.Object3D.prototype = {
return this.matrixWorld.multiplyVector3( vector );
},
clone: function () {
// TODO
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册