Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuxCoreRender/LuxCore
/ SphericalTheta
Function
SphericalTheta
include/luxrays/core/geometry/vector.h:190–192 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
188
}
189
190
inline float SphericalTheta(const Vector &v) {
191
return acosf(Clamp(v.z, -1.f, 1.f));
192
}
193
194
inline float SphericalPhi(const Vector &v) {
195
const float p = atan2f(v.y, v.x);
Callers
5
Pdf
Method · 0.85
Preprocess
Method · 0.85
ToLatLongMapping
Method · 0.85
Preprocess
Method · 0.85
Evaluate
Method · 0.85
Calls
1
Clamp
Function · 0.50
Tested by
no test coverage detected