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

Function CheckVector3Components

engine/script/src/script_vmath.cpp:102–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 uint32_t TYPE_HASHES[SCRIPT_TYPE_UNKNOWN];
101
102 static inline bool CheckVector3Components(Vector3* v)
103 {
104 return !isnan(v->getX()) && !isnan(v->getY()) && !isnan(v->getZ());
105 }
106
107 static inline bool CheckVector4Components(Vector4* v)
108 {

Callers 2

CheckUserDataFunction · 0.85
CheckVector3Function · 0.85

Calls 3

getXMethod · 0.45
getYMethod · 0.45
getZMethod · 0.45

Tested by

no test coverage detected