* Brings the UV coordinates of each face closer to the center UV by d. Useful for fixing texture seams
*/
public CCModel shrinkUVs(double d) {
for (int k = 0; k < verts.length; k += vp) {
UV uv = new UV();
for (int i = 0; i < vp; i++) {
uv.add(verts[k + i].uv);
}
uv.multiply(1D / vp);
for (int i = 0; i < vp; i++) {
Vertex5 vert = verts[k + i];
vert.uv.u += vert.uv.u < uv.u ? d : -d;
vert.uv.v += vert.uv.v < uv.v ? d : -d;
}