MCPcopy 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

CheckUserDataFunction · 0.85
CheckQuatFunction · 0.85

Calls 4

getXMethod · 0.45
getYMethod · 0.45
getZMethod · 0.45
getWMethod · 0.45

Tested by

no test coverage detected