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

Function Pow

SampleFramework12/v1.00/SF12_Math.h:610–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610inline Float3 Pow(Float3 x, float y)
611{
612 return Float3(std::pow(x.x, y), std::pow(x.y, y), std::pow(x.z, y));
613}
614
615// linear -> sRGB conversion
616inline Float3 LinearTosRGB(Float3 color)

Callers 2

LinearTosRGBFunction · 0.70
SRGBToLinearFunction · 0.70

Calls 1

Float3Class · 0.85

Tested by

no test coverage detected