• Post Reply Bookmark Topic Watch Topic
  • New Topic

ScanLineFill polygon  RSS feed

 
Vani Sweety
Ranch Hand
Posts: 93
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some places on the polygon are not painted using Scanlinefill :/



 
Vani Sweety
Ranch Hand
Posts: 93
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NOTE: working for regular polygon of even sides only
 
Fred Kleinschmidt
Bartender
Posts: 571
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

You include the minimum value, but exclude the maximum value.
 
Vani Sweety
Ranch Hand
Posts: 93
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i include it ?
 
Vani Sweety
Ranch Hand
Posts: 93
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is what is displayed on my console when i paint a triangle
Ymax and Ymin: 111 17
almost half is fill completely
the remaining part some lines are drawn
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!