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

Function LuaScale

source/bind_graphics.cpp:208–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206// ***********************************************************************
207
208int LuaScale(lua_State* pLua) {
209 f32 x = (f32)luaL_checknumber(pLua, 1);
210 f32 y = (f32)luaL_checknumber(pLua, 2);
211 f32 z = (f32)luaL_checknumber(pLua, 3);
212 Scale(Vec3f(x, y, z));
213 return 0;
214}
215
216// ***********************************************************************
217

Callers

nothing calls this directly

Calls 1

ScaleFunction · 0.85

Tested by

no test coverage detected