From e331e7de490bd3ba73c0d722ba7eda027e39b5b7 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Mon, 22 Jun 2015 17:18:56 +0200 Subject: [PATCH] Nice doc --- geo/Mesh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geo/Mesh.js b/geo/Mesh.js index 5767579..5912d01 100644 --- a/geo/Mesh.js +++ b/geo/Mesh.js @@ -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 : ''); }