Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ CheckQuatComponents
Function
CheckQuatComponents
engine/script/src/script_vmath.cpp:112–115 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
110
}
111
112
static inline bool CheckQuatComponents(Quat* q)
113
{
114
return !isnan(q->getX()) && !isnan(q->getY()) && !isnan(q->getZ()) && !isnan(q->getW());
115
}
116
117
static inline bool CheckMatrix4Components(Matrix4* m)
118
{
Callers
2
CheckUserData
Function · 0.85
CheckQuat
Function · 0.85
Calls
4
getX
Method · 0.45
getY
Method · 0.45
getZ
Method · 0.45
getW
Method · 0.45
Tested by
no test coverage detected