MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / PrintAlignedVec

Function PrintAlignedVec

src/apps/ociochecklut/main.cpp:152–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void PrintAlignedVec(const std::vector<std::string> & str, const std::vector<std::string> & strAlign,
153 size_t comp)
154{
155 PrintFirstComponent(str[0], strAlign[0]);
156 std::cout << " ";
157 PrintFirstComponent(str[1], strAlign[1]);
158 std::cout << " ";
159 PrintFirstComponent(str[2], strAlign[2]);
160 if (comp == 4)
161 {
162 std::cout << " ";
163 PrintFirstComponent(str[3], strAlign[3]);
164 }
165
166}
167
168void ToString(std::vector<std::string> & str, const std::vector<float> & vec, size_t index,
169 size_t comp)

Callers 1

mainFunction · 0.85

Calls 1

PrintFirstComponentFunction · 0.85

Tested by

no test coverage detected