From: Matthew Fernandez Date: Sat, 14 Jan 2023 05:22:26 +0000 (-0800) Subject: smyrna drawCircle: abbreviate a float literal X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b8c4ca6457175347a27295c6a51a3e7032227d8;p=graphviz smyrna drawCircle: abbreviate a float literal --- diff --git a/cmd/smyrna/draw.c b/cmd/smyrna/draw.c index 0a7baaaa7..800e2d34f 100644 --- a/cmd/smyrna/draw.c +++ b/cmd/smyrna/draw.c @@ -398,7 +398,7 @@ void drawCircle(float x, float y, float radius, float zdepth) { int i; if (radius < 0.3) - radius = (float) 0.4; + radius = 0.4f; glBegin(GL_POLYGON); for (i = 0; i < 360; i = i + 36) { float degInRad = (float) (i * DEG2RAD);