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

Function Vector4_add

engine/script/src/script_vmath.cpp:507–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505 }
506
507 static int Vector4_add(lua_State *L)
508 {
509 Vector4* v1 = CheckVector4(L, 1);
510 Vector4* v2 = CheckVector4(L, 2);
511 PushVector4(L, *v1 + *v2);
512 return 1;
513 }
514
515 static int Vector4_sub(lua_State *L)
516 {

Callers

nothing calls this directly

Calls 2

CheckVector4Function · 0.85
PushVector4Function · 0.85

Tested by

no test coverage detected