From f77cbd902cf1d352661261cd0fbf53d2b6bc1dba Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Mon, 9 Oct 2023 13:36:11 -0400 Subject: display: Remove filled arg from arc --- virtual-programs/display.folk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'virtual-programs') diff --git a/virtual-programs/display.folk b/virtual-programs/display.folk index 546e1861..bae5951f 100644 --- a/virtual-programs/display.folk +++ b/virtual-programs/display.folk @@ -190,7 +190,7 @@ On process { } } - variable arc [Gpu::pipeline {vec2 center float start float arclen float radius float thickness vec4 color int filled} { + variable arc [Gpu::pipeline {vec2 center float start float arclen float radius float thickness vec4 color} { float r = radius + thickness; vec2 vertices[4] = vec2[4]( center - r, @@ -217,9 +217,9 @@ On process { }] - proc arc {x y start arclen radius thickness color {filled false}} { + proc arc {x y start arclen radius thickness color} { variable arc - Gpu::draw $arc [list $x $y] $start $arclen $radius $thickness [getColor $color] [ne $filled "false"] + Gpu::draw $arc [list $x $y] $start $arclen $radius $thickness [getColor $color] } # TODO: Fix bool support. -- cgit v1.2.3