Skip to content

Commit c17182c

Browse files
authored
Remove duplicated part in main.c
1 parent bf4faa1 commit c17182c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

raster/r.horizon/main.c

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -889,34 +889,6 @@ void calculate_point_mode(const Settings *settings, const Geometry *geometry,
889889
json_set_float_serialization_format("%lf");
890890
}
891891

892-
// double dfr_rad = settings->step * deg2rad;
893-
894-
// double xp = geometry->xmin + origin_point.xg0;
895-
// double yp = geometry->ymin + origin_point.yg0;
896-
897-
// double angle = (settings->single_direction * deg2rad) + pihalf;
898-
// double printangle = settings->single_direction;
899-
900-
// origin_point.maxlength = settings->fixedMaxLength;
901-
// /* JSON variables and formating */
902-
903-
// JSON_Value *horizons_value;
904-
// JSON_Array *horizons;
905-
906-
// switch (format) {
907-
// case PLAIN:
908-
// fprintf(fp, "azimuth,horizon_height");
909-
// if (settings->horizonDistance)
910-
// fprintf(fp, ",horizon_distance");
911-
// fprintf(fp, "\n");
912-
// break;
913-
// case JSON:
914-
// json_object_set_number(json_origin, "x", xcoord);
915-
// json_object_set_number(json_origin, "y", ycoord);
916-
// horizons_value = json_value_init_array();
917-
// horizons = json_value_get_array(horizons_value);
918-
// break;
919-
// }
920892

921893
for (int i = 0; i < point_count; i++) {
922894
/* Write out header */

0 commit comments

Comments
 (0)