| 207 | |
| 208 | |
| 209 | static inline int ParseSphere(lua_State* L, SphereData& sphere) { |
| 210 | sphere.pos = luaL_checkfvec3(L, 1); |
| 211 | sphere.r = luaL_checkfloat(L, 4); |
| 212 | sphere.r2 = sphere.r * sphere.r; |
| 213 | return 4; |
| 214 | } |
| 215 | |
| 216 | |
| 217 | static inline int ParseCylinder(lua_State* L, CylinderData& cyl) { |
no test coverage detected