MCPcopy Create free account
hub / github.com/DavidColson/Polybox / NewVec

Function NewVec

source/userdata.cpp:307–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305// ***********************************************************************
306
307i32 NewVec(lua_State* L) {
308 UserData* pUserData = AllocUserData(L, Type::Float32, 3, 1);
309 SetImpl(L, pUserData, 0, 1);
310 return 1;
311}
312
313// ***********************************************************************
314

Callers

nothing calls this directly

Calls 2

AllocUserDataFunction · 0.85
SetImplFunction · 0.85

Tested by

no test coverage detected