diff options
| author | aap <aap@papnet.eu> | 2019-08-09 19:42:18 +0200 |
|---|---|---|
| committer | aap <aap@papnet.eu> | 2019-08-09 19:42:18 +0200 |
| commit | 0bd681abc514d5a3627edea40b24347696ac8908 (patch) | |
| tree | cbfcb61874c34a4e44ad1151cf44fc13650f1197 /src/core/General.h | |
| parent | Merge pull request #184 from erorcun/erorcun (diff) | |
| download | re3-0bd681abc514d5a3627edea40b24347696ac8908.tar.gz | |
finished CPathFind
Diffstat (limited to 'src/core/General.h')
| -rw-r--r-- | src/core/General.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/General.h b/src/core/General.h index 7c0c9562..fe277689 100644 --- a/src/core/General.h +++ b/src/core/General.h @@ -74,6 +74,7 @@ public: return result; } + // Returns an angle such that x2/y2 looks at x1/y1 with its forward vector if rotated by that angle static float GetRadianAngleBetweenPoints(float x1, float y1, float x2, float y2) { float x = x2 - x1; |
