| 173 | // *********************************************************************** |
| 174 | |
| 175 | int LuaPerspective(lua_State* pLua) { |
| 176 | f32 screenWidth = (f32)luaL_checknumber(pLua, 1); |
| 177 | f32 screenHeight = (f32)luaL_checknumber(pLua, 2); |
| 178 | f32 nearPlane = (f32)luaL_checknumber(pLua, 3); |
| 179 | f32 farPlane = (f32)luaL_checknumber(pLua, 4); |
| 180 | f32 fov = (f32)luaL_checknumber(pLua, 5); |
| 181 | Perspective(screenWidth, screenHeight, nearPlane, farPlane, fov); |
| 182 | return 0; |
| 183 | } |
| 184 | |
| 185 | // *********************************************************************** |
| 186 |
nothing calls this directly
no test coverage detected