From: Matthew Fernandez Date: Sat, 12 Feb 2022 03:10:45 +0000 (+1100) Subject: common: [nfc] remove commented out 'MAXFLOAT' usage X-Git-Tag: 3.0.0~30^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2c5f420ebd72d2c4a62d28106f763e757004781;p=graphviz common: [nfc] remove commented out 'MAXFLOAT' usage --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 3e4fe7ca3..1cd3b7811 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1779,7 +1779,6 @@ static void emit_begin_node(GVJ_t * job, node_t * n) obj->emit_state = EMIT_NDRAW; if (flags & GVRENDER_DOES_Z) { - /* obj->z = late_double(n, N_z, 0.0, -MAXFLOAT); */ if (GD_odim(agraphof(n)) >=3) obj->z = POINTS(ND_pos(n)[2]); else @@ -2518,8 +2517,6 @@ static void emit_begin_edge(GVJ_t * job, edge_t * e, char** styles) } if (flags & GVRENDER_DOES_Z) { - /* obj->tail_z = late_double(agtail(e), N_z, 0.0, -1000.0); */ - /* obj->head_z = late_double(aghead(e), N_z, 0.0, -MAXFLOAT); */ if (GD_odim(agraphof(agtail(e))) >=3) { obj->tail_z = POINTS(ND_pos(agtail(e))[2]); obj->head_z = POINTS(ND_pos(aghead(e))[2]);