[etoys-dev] [etoys-notify] [JIRA] Created: (SQ-1141) Sector does not always display straight lines when heading is not 0.
sthomas1 at gosargon.com
Mon Dec 10 15:36:12 EST 2012
Thanks for your thoughts and your activity (here and in tracker).
Good to see you back and active!!!
On Mon, Dec 10, 2012 at 12:32 PM, David Corking <lists at dcorking.com> wrote:
> Steve Thomas wrote:
> > My problem was it was more than 1 pixel from straight.
> > Perhaps if we started with 3 vertices instead of two and calculated only
> the points on the > Circle.
> You are right: there is more than one way to calculate the vertices.
> However, open an inspector on a Sector and look at the vertices. It
> turns out that only a very small error accumulates from the step by
> step method Etoys uses. (For me it was only the last 2 or 3 decimal
> places.) That error is several decimal places too small to be visible
> on the screen.
> Set your sector's border width to zero. When I tried this, the sector
> looked pixel perfect.
> So as far as I can see, this isn't a bug in Sector, but there could be
> an opportunity for a small improvement in the way Etoys draw borders.
> Just my thoughts. David
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the etoys-dev