MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / Pow

Function Pow

SampleFramework11/v1.02/SF11_Math.h:562–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562inline Float3 Pow(Float3 x, float y)
563{
564 return Float3(std::pow(x.x, y), std::pow(x.y, y), std::pow(x.z, y));
565}
566
567// linear -> sRGB conversion
568inline Float3 LinearTosRGB(Float3 color)

Callers 2

LinearTosRGBFunction · 0.70
SRGBToLinearFunction · 0.70

Calls 2

Float3Class · 0.85
powFunction · 0.50

Tested by

no test coverage detected