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

Function IsVector3

engine/script/src/script_vmath.cpp:275–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 };
274
275 bool IsVector3(lua_State *L, int index)
276 {
277 return dmScript::GetUserType(L, index) == TYPE_HASHES[SCRIPT_TYPE_VECTOR3];
278 }
279
280 Vector3* ToVector3(lua_State* L, int index)
281 {

Callers 5

Types_IsVector3Function · 0.85
DoCheckTableSizeFunction · 0.85
FillConstantsFromLuaFunction · 0.85
GetConstantValuesFromLuaFunction · 0.85

Calls 1

GetUserTypeFunction · 0.85

Tested by

no test coverage detected