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

Function IsVector

engine/script/src/script_vmath.cpp:186–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 bool IsVector(lua_State *L, int index)
187 {
188 return dmScript::GetUserType(L, index) == TYPE_HASHES[SCRIPT_TYPE_VECTOR];
189 }
190
191 FloatVector* ToVector(lua_State* L, int index)
192 {

Callers 3

Script_AnimateFunction · 0.85
Types_IsVectorFunction · 0.85
LuaAnimateFunction · 0.85

Calls 1

GetUserTypeFunction · 0.85

Tested by

no test coverage detected