|
@@ -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
|
|
|
+
|
|
|
}
|
|
|
|
|
|
};
|