Helper to get collisionobject component and world.
| 528 | |
| 529 | // Helper to get collisionobject component and world. |
| 530 | static void GetCollisionObject(lua_State* L, int indx, dmGameObject::HCollection collection, CollisionComponent** comp, CollisionWorld** comp_world) |
| 531 | { |
| 532 | dmMessage::URL receiver; |
| 533 | dmGameObject::GetComponentFromLua(L, indx, collection, COLLISION_OBJECT_EXT, (void**) comp, &receiver, (void**) comp_world); |
| 534 | } |
| 535 | |
| 536 | static int GetTableField(lua_State* L, int table_index, const char* table_field, int expected_type) |
| 537 | { |
no test coverage detected