(...args)
| 118 | } |
| 119 | |
| 120 | addFace(...args) { |
| 121 | for (let i = 0; i < args.length; i += 3) { |
| 122 | this.faces.push(new Face(args[i], args[i + 1], args[i + 2])); |
| 123 | } |
| 124 | return this; |
| 125 | } |
| 126 | |
| 127 | get lastVertex() { |
| 128 | return this.vertices[this.vertices.length - 1]; |
no outgoing calls
no test coverage detected