} else {
file << std::setw(4) << "no";
}
- file << std::setw(8) << std::setprecision(2) << colorFormation[i].a12 << std::setw(8) << colorFormation[i].b12 << std::setw(8) << colorFormation[i].n12;
+ file << std::setw(8) << std::setprecision(3) << colorFormation[i].a12;
+ file << std::setw(8) << std::setprecision(3) << colorFormation[i].b12;
+ file << std::setw(8) << std::setprecision(3) << colorFormation[i].n12;
temp = colorFormation[i].betaAngles.size() / 6;
if (temp == 0) {
file << std::setw(4) << 0;
}
file << std::setw(4) << temp;
for (size_t j = 0; j < betaTemp.size(); ++j) {
- file << std::setw(8) << std::setprecision(2) << betaTemp[j];
+ file << std::setw(8) << std::setprecision(3) << betaTemp[j];
}
for (size_t j = 0; j < colorFormation[i].betaAngles.size(); ++j) {
- file << std::setw(8) << std::setprecision(2) << colorFormation[i].betaAngles[j];
+ file << std::setw(8) << std::setprecision(3) << colorFormation[i].betaAngles[j];
}
}
file << std::endl;