| 163 | // *********************************************************************** |
| 164 | |
| 165 | int LuaGetMatrix(lua_State* pLua) { |
| 166 | Matrixf mat = GetMatrix(); |
| 167 | |
| 168 | UserData* pUserData = AllocUserData(pLua, Type::Float32, 4, 4); |
| 169 | memcpy((u8*)pUserData->pData, mat.m, 16*sizeof(f32)); |
| 170 | return 1; |
| 171 | } |
| 172 | |
| 173 | // *********************************************************************** |
| 174 |
nothing calls this directly
no test coverage detected