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

Function LuaTranslate

source/bind_graphics.cpp:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185// ***********************************************************************
186
187int LuaTranslate(lua_State* pLua) {
188 f32 x = (f32)luaL_checknumber(pLua, 1);
189 f32 y = (f32)luaL_checknumber(pLua, 2);
190 f32 z = (f32)luaL_checknumber(pLua, 3);
191 Translate(Vec3f(x, y, z));
192 return 0;
193}
194
195// ***********************************************************************
196

Callers

nothing calls this directly

Calls 1

TranslateFunction · 0.85

Tested by

no test coverage detected