Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPathGuidingLibrary/openpgl
/ IsZero
Function
IsZero
openpgl/include/openpgl/cpp/Common.h:249–252 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
OPENPGL_INLINE bool IsZero(const pgl_vec3f &vec)
250
{
251
return vec.x == 0.f && vec.y == 0.f && vec.z == 0.f;
252
}
253
254
OPENPGL_INLINE float Max(const pgl_vec3f &vec)
255
{
Callers
1
GuidedRussianRoulette
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected