同步代码

This commit is contained in:
FishOrBear
2020-05-07 10:51:27 +08:00
parent 85db279fab
commit e712b7b4e2
10 changed files with 492 additions and 17 deletions

View File

@@ -71,7 +71,8 @@ export class ThreeBSP
vertex = new Vertex(vertex.x, vertex.y, vertex.z, face.vertexNormals[2], uvs);
vertex.applyMatrix4(this.matrix);
polygon.vertices.push(vertex);
} else
}
else
{
throw 'Invalid face type at index ' + i;
}