| 223 | |
| 224 | |
| 225 | static inline int ParseBox(lua_State* L, BoxData& box) { |
| 226 | const fvec3 mins = luaL_checkfvec3(L, 1); |
| 227 | const fvec3 maxs = luaL_checkfvec3(L, 4); |
| 228 | box.extents.set(mins, maxs); |
| 229 | box.radians = luaL_optfloat(L, 7, 0.0f); |
| 230 | return 6; |
| 231 | } |
| 232 | |
| 233 | |
| 234 | //============================================================================// |
no test coverage detected