include include include include include include //geodesic looks much better, but runs very slow for anything above a 2u geodesic=false; //dish selector module dish(width, height, depth, inverted) { if($dish_type == "cylindrical"){ cylindrical_dish(width, height, depth, inverted); } else if ($dish_type == "spherical") { spherical_dish(width, height, depth, inverted); } else if ($dish_type == "sideways cylindrical"){ sideways_cylindrical_dish(width, height, depth, inverted); } else if ($dish_type == "old spherical") { old_spherical_dish(width, height, depth, inverted); } else if ($dish_type == "flat") { flat_dish(width, height, depth, inverted); } else if ($dish_type == "disable") { // else no dish } else { echo("WARN: $dish_type unsupported"); } }