Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/BakingLab
/ AngleBetween
Function
AngleBetween
SampleFramework11/v1.02/Graphics/Skybox.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
{
21
22
static float AngleBetween(const Float3& dir0, const Float3& dir1)
23
{
24
return std::acos(std::max(Float3::Dot(dir0, dir1), 0.00001f));
25
}
26
27
void SkyCache::Init(Float3 sunDirection, Float3 groundAlbedo, float turbidity)
28
{
Callers
2
Init
Method · 0.85
SampleSky
Method · 0.85
Calls
1
acos
Function · 0.85
Tested by
no test coverage detected