MCPcopy Create free account
hub / github.com/defold/defold / CheckVector4Components

Function CheckVector4Components

engine/script/src/script_vmath.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 static inline bool CheckVector4Components(Vector4* v)
108 {
109 return !isnan(v->getX()) && !isnan(v->getY()) && !isnan(v->getZ()) && !isnan(v->getW());
110 }
111
112 static inline bool CheckQuatComponents(Quat* q)
113 {

Callers 2

CheckUserDataFunction · 0.85
CheckVector4Function · 0.85

Calls 4

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

Tested by

no test coverage detected