Results 1 to 10 of 18

Hybrid View

  1. #1
    Player
    TheRac25's Avatar
    Join Date
    Apr 2011
    Posts
    415
    Character
    Krell Ynjynor
    World
    Excalibur
    Main Class
    Fisher Lv 50
    Problem is SE doesn't know how to calculate distances in 3d, they only know how to do it in 2d so,
    here you go SE this is how you fix it, maybe you weren't paying attention in school that day.

    return sqrt((fDistX * fDistX) + (fDistY * fDistY) + (fDistZ * fDistZ));

    that will be 50$
    (1)

  2. #2
    Player
    Mychael's Avatar
    Join Date
    Nov 2011
    Location
    Gridania
    Posts
    917
    Character
    Justin Beiber
    World
    Ridill
    Main Class
    Archer Lv 1
    Quote Originally Posted by TheRac25 View Post
    return sqrt((fDistX * fDistX) + (fDistY * fDistY) + (fDistZ * fDistZ));
    You stole my like, cuz I was too lazy to type it out. ; ;

    </3
    (0)

Tags for this Thread