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

Function Vector3_add

engine/script/src/script_vmath.cpp:342–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 }
341
342 static int Vector3_add(lua_State *L)
343 {
344 Vector3* v1 = CheckVector3(L, 1);
345 Vector3* v2 = CheckVector3(L, 2);
346 PushVector3(L, *v1 + *v2);
347 return 1;
348 }
349
350 static int Vector3_sub(lua_State *L)
351 {

Callers

nothing calls this directly

Calls 2

CheckVector3Function · 0.85
PushVector3Function · 0.85

Tested by

no test coverage detected