Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/DeferredTexturing
/ RadToDeg
Function
RadToDeg
SampleFramework12/v1.00/SF12_Math.h:634–637 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
632
}
633
634
inline float RadToDeg(float rad)
635
{
636
return rad * (1.0f / 3.14159265359f) * 180.0f;
637
}
638
639
// sRGB -> linear conversion
640
inline Float3 SRGBToLinear(Float3 color)
Callers
1
Update
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected