mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
renamed tables for consistency
- added magic.lua (todo: enumerate modifiers and stuff) - moved aggro handling to session position update - some cleanup
This commit is contained in:
@@ -78,8 +78,7 @@ namespace FFXIVClassic.Common
|
||||
|
||||
public static float GetAngle(float x, float z, float x2, float z2)
|
||||
{
|
||||
var angle = (float)(Math.Atan((z2 - z) / (x2 - x)) * - Math.PI);
|
||||
return x > x2 ? angle + (float)Math.PI : angle;
|
||||
return (float)(Math.Atan2((z2 - z), (x2 - x)));
|
||||
}
|
||||
|
||||
public Vector3 NewHorizontalVector(float angle, float extents)
|
||||
|
Reference in New Issue
Block a user