Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
610
inline 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
616
inline Float3 LinearTosRGB(Float3 color)
Callers
2
LinearTosRGB
Function · 0.70
SRGBToLinear
Function · 0.70
Calls
1
Float3
Class · 0.85
Tested by
no test coverage detected