Results 1 to 6 of 6

Thread: Trouble with SortATPAFrom (Debug image included)

  1. #1
    Join Date
    Sep 2009
    Posts
    580
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Trouble with SortATPAFrom (Debug image included)



    This is a debug from my script. The problem is, using SortATPAFrom, ATPA[0] is not anywhere near the sorting point. Anybody has ideas how this could have happened? :/

    I also tried ATPA[High(ATPA)] to no avail.

    Compass direction is not an issue since I used trigs to replace the sorting point and search areas depending on compass angle.

    Included is my script if you want to look at it - beware though, it's stuffed with trigonometry. You could test it if you have access to Port Phasmatys
    I don't check this place often, sorry.

    Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path

  2. #2
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

  3. #3
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea use ColorSpiral, and use FromFirstPoint... then it should work. [0] or [Low()] would be the nearest.

  4. #4
    Join Date
    Sep 2009
    Posts
    580
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So if I use SortATPAFromFirstPoint I guess I have to leave MiddleTPA?
    I don't check this place often, sorry.

    Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path

  5. #5
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Cigue View Post
    So if I use SortATPAFromFirstPoint I guess I have to leave MiddleTPA?
    No. MiddleTPA(ATPA[0]);

  6. #6
    Join Date
    Sep 2009
    Posts
    580
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So what's the point of sorting TPAs ?

    Edit : IT WOOOOOORKKKKSS YEEEHAAAAAWWWWW
    I don't check this place often, sorry.

    Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •