This commit is contained in:
Thomas FORGIONE 2015-06-22 17:18:56 +02:00
parent 8a9ee8c272
commit e331e7de49
1 changed files with 1 additions and 1 deletions

View File

@ -366,6 +366,7 @@ mesh.Face = function() {
/**
* Parse a face line and returns an array of faces
*
* @access private
* @param {String} a string representing a face
* @returns {Face[]} a single 3-vertices face or two 3-vertices face if it was
* a 4-vertices face
@ -465,7 +466,6 @@ mesh.Face.prototype.toList = function() {
* var face = new mesh.Face('f 3 5 6');
* console.log(face.toString()); // Prints f 3 5 6
*/
mesh.TexCoord.prototype.toString = function() {
mesh.Face.prototype.toString = function() {
return 'f ' + this.a + ' ' + this.b + ' ' + this.c + (this.d !== undefined ? ' ' + this.d : '');
}