Checkpoint

This commit is contained in:
Ian Gulliver
2017-08-10 13:51:39 -07:00
parent 06ce954bef
commit c9024d3d63
11 changed files with 165 additions and 65 deletions

View File

@@ -6,8 +6,8 @@ std::ostream& operator<<(std::ostream& os, const Color& color) {
return os
<< std::hex << std::setfill('0')
<< "rgb("
<< "0x" << std::setw(4) << color.r << ", "
<< "0x" << std::setw(4) << color.g << ", "
<< "0x" << std::setw(4) << color.b
<< "0x" << std::setw(4) << color.at(0) << ", "
<< "0x" << std::setw(4) << color.at(1) << ", "
<< "0x" << std::setw(4) << color.at(2)
<< ")" << std::dec;
}