Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_Animate
Function · 0.85
Types_IsVector
Function · 0.85
LuaAnimate
Function · 0.85
Calls
1
GetUserType
Function · 0.85
Tested by
no test coverage detected