#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    1
    Rep Power
    0

    Any faster way to render array of line from circle


    Hi
    i Just wonder whether there is any faster math formula that can get an array of horizontal lines(start position of x, end position of x and the height Y) given that the centre of the circle is x = -1 and y = 2 and radius = 10.

    my second question is that given that there are two circles and they are intersecting each other. is there any math formula can get an array of horizontal lines given that we know the centre of the two circle and radius of the two circles .
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,392
    Rep Power
    1871
    > i Just wonder whether there is any faster math formula that can get an array of horizontal lines
    Faster than what?
    You didn't post your 'slow' version to help us even to begin trying to figure out what 'fast' ought to be.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo