Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ ToVector4
Function
ToVector4
engine/script/src/script_vmath.cpp:436–439 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
434
}
435
436
Vector4* ToVector4(lua_State *L, int index)
437
{
438
return (Vector4*)ToUserType(L, index, TYPE_HASHES[SCRIPT_TYPE_VECTOR4]);
439
}
440
441
static int Vector4_tostring(lua_State *L)
442
{
Callers
14
Script_Property
Function · 0.85
GetPropertyType
Function · 0.85
CheckUserData
Function · 0.85
Vector4_mul
Function · 0.85
Vector4_eq
Function · 0.85
Matrix4_mul
Function · 0.85
DoCheckTable
Function · 0.85
TEST_F
Function · 0.85
TEST_F
Function · 0.85
LuaSet
Function · 0.85
GetPositionFromArgumentIndex
Function · 0.85
LuaSetSlice9
Function · 0.85
Calls
1
ToUserType
Function · 0.85
Tested by
2
TEST_F
Function · 0.68
TEST_F
Function · 0.68