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

Function LuaRotate

source/bind_graphics.cpp:197–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195// ***********************************************************************
196
197int LuaRotate(lua_State* pLua) {
198 f32 angle = (f32)luaL_checknumber(pLua, 1);
199 f32 x = (f32)luaL_checknumber(pLua, 2);
200 f32 y = (f32)luaL_checknumber(pLua, 3);
201 f32 z = (f32)luaL_checknumber(pLua, 4);
202 Rotate(angle, Vec3f(x, y, z));
203 return 0;
204}
205
206// ***********************************************************************
207

Callers

nothing calls this directly

Calls 1

RotateFunction · 0.85

Tested by

no test coverage detected