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

Function CheckVector

engine/script/src/script_vmath.cpp:2789–2792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2787 }
2788
2789 FloatVector* CheckVector(lua_State* L, int index)
2790 {
2791 return *(FloatVector**)CheckUserType(L, index, TYPE_HASHES[SCRIPT_TYPE_VECTOR], 0);
2792 }
2793
2794 void PushVector3(lua_State* L, const Vector3& v)
2795 {

Callers 2

Script_AnimateFunction · 0.85
LuaAnimateFunction · 0.85

Calls 1

CheckUserTypeFunction · 0.85

Tested by

no test coverage detected