From 37cfd7b41d36675a67d21ef86ea3c61f8f4b53b9 Mon Sep 17 00:00:00 2001 From: Kai Salmen Date: Sat, 12 Aug 2017 23:13:55 +0200 Subject: [PATCH] OBJLoader2: Clean-up --- examples/js/loaders/OBJLoader2.js | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/examples/js/loaders/OBJLoader2.js b/examples/js/loaders/OBJLoader2.js index 55592aa01f..cd64b64fa3 100644 --- a/examples/js/loaders/OBJLoader2.js +++ b/examples/js/loaders/OBJLoader2.js @@ -189,23 +189,7 @@ THREE.OBJLoader2 = (function () { LINE_VT: 'vt', LINE_VN: 'vn', LINE_MTLLIB: 'mtllib', - LINE_USEMTL: 'usemtl', - /* - * Build Face/Quad: first element in indexArray is the line identification, therefore offset of one needs to be taken into account - * N-Gons are not supported - * Quad Faces: FaceA: 0, 1, 2 FaceB: 2, 3, 0 - * - * 0: "f vertex/uv/normal vertex/uv/normal vertex/uv/normal (vertex/uv/normal)" - * 1: "f vertex/uv vertex/uv vertex/uv (vertex/uv )" - * 2: "f vertex//normal vertex//normal vertex//normal (vertex//normal )" - * 3: "f vertex vertex vertex (vertex )" - * - * @param indexArray - * @param faceType - */ - QUAD_INDICES_1: [ 1, 2, 3, 3, 4, 1 ], - QUAD_INDICES_2: [ 1, 3, 5, 5, 7, 1 ], - QUAD_INDICES_3: [ 1, 4, 7, 7, 10, 1 ] + LINE_USEMTL: 'usemtl' }; var Validator = { -- GitLab