Re: [NTG-context] odd behaviour of mp odd function in lmtx

2021-01-07 Thread Hans Hagen
On 1/7/2021 8:03 PM, Damien Thiriet wrote: Hi, I may have found the bug that broke my metafun file. Looks like it is connected to odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1 upt

[NTG-context] odd behaviour of mp odd function in lmtx

2021-01-07 Thread Damien Thiriet
Hi, I may have found the bug that broke my metafun file. Looks like it is connected to odd function. This snippet of code: \starttext \startMPpage path p;p:=origin--(20,20); draw p; draw p reflectedabout ((10,10),(10,-10)) withcolor red; for i=1 upto 2: if odd i: draw p yshifted 20