Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oiling my tablet
Message
De
29/04/2013 12:26:08
 
 
À
29/04/2013 12:21:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01572116
Message ID:
01572178
Vues:
47
>>>As for the quadrants, there's always checking the sign of the segments, i.e. which is positive which is negative. Going by segments, x and y are ++, -+. --, +-.
>>
>>Figured that out - took an old book (dated 1974)
>>
>>
>>But Math.Atan2( sin, cos) seems to take care of the quadrants
>
>It probably checks the sign of the parameters to do so, so you don't have to. Nice to know it does.

Even atn2() in vfp does - although the help says it doesn't
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform