Fix coordinates of cape, close #4

This commit is contained in:
yushijinhun 2017-09-03 11:27:45 +08:00
parent f3c4cac7c6
commit 837831d328
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
1 changed files with 4 additions and 4 deletions

View File

@ -426,11 +426,11 @@ var skinpreview3d = new function(){
// front = inside
capeBox = new THREE.BoxGeometry(10, 16, 1, 0, 0, 0);
addVertices(capeBox,
toCapeVertices(1, 0, 11, 0),
toCapeVertices(11, 0, 21, 0),
toCapeVertices(11, 1, 11, 17),
toCapeVertices(1, 0, 11, 1),
toCapeVertices(11, 0, 21, 1),
toCapeVertices(11, 1, 12, 17),
toCapeVertices(12, 1, 22, 17),
toCapeVertices(0, 1, 0, 17),
toCapeVertices(0, 1, 1, 17),
toCapeVertices(1, 1, 11, 17)
);
capeMesh = new THREE.Mesh(capeBox, capeMaterial);