MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / toInteger

Method toInteger

src/Core/Graphics/Color.cpp:345–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 }
344
345 uint32_t Color::toInteger() const
346 {
347 return (static_cast<int>(r) << 24) + (static_cast<int>(g) << 16)
348 + (static_cast<int>(b) << 8) + (a);
349 }
350
351 void Color::fromHex(std::string hexCode)
352 {

Callers 2

operator==Method · 0.80
operator!=Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected