This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
math [2019/04/20 19:58] – [Significant square roots and logarithms] korshun | math [2019/07/04 20:43] – [AnglesToVector] korshun | ||
---|---|---|---|
Line 315: | Line 315: | ||
<note important> | <note important> | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | < | ||
+ | AnglesToVector(GetActorAngle(0), | ||
+ | int dirX = r1; | ||
+ | int dirY = r2; | ||
+ | int dirZ = r3; | ||
+ | </ | ||
+ | |||
+ | |||
===== Logarithms ===== | ===== Logarithms ===== | ||
Line 347: | Line 358: | ||
<note important> | <note important> | ||
- | <note important> | + | <note important> |
Note that even the integer version has a fixed-point base. | Note that even the integer version has a fixed-point base. | ||