This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:shortestangle [2013/01/14 19:04] – created virgilw | crpl:docs:shortestangle [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | |
| + | <- [[crpl: | ||
| + | ===== ShortestAngle | ||
| + | |||
| + | < | ||
| + | |||
| + | === Description === | ||
| + | Given two angles ((in radians?)), calculates the shortest angle between the two. Useful for determining which direction a unit should rotate in order to turn to a given direction. | ||
| + | === Examples === | ||
| + | <code 4RPL>1.1 2.5 ShortestAngle trace</ | ||