/** * Removes low bone weights from mesh, leaving only 4 bone weights at max. */ public static void trimBoneWeights(IrMesh mesh) { for (IrPolygon polygon : mesh.polygons) { for (IrVertex vertex : polygon.vertices) { trimBoneWeights(vertex); } } }
IrUtils.trimBoneWeights(irMesh);
/** * Removes low bone weights from mesh, leaving only 4 bone weights at max. */ public static void trimBoneWeights(IrMesh mesh) { for (IrPolygon polygon : mesh.polygons) { for (IrVertex vertex : polygon.vertices) { trimBoneWeights(vertex); } } }
IrUtils.trimBoneWeights(irMesh);