Difference between revisions of "ESM Math Library"
Jump to navigation
Jump to search
getAngle -> getVectorAngle
imported>JustTim (another cool one: I've added a Math Library ESM for VERY easy stage function use.) |
imported>JustTim (getAngle -> getVectorAngle) |
||
|
set myResult to f.fout</pre>
=== Stage 30:
Takes the X and Y dimension of a 2D Vector as two floats.<br>
Returns the Angle of the Vector in DEGREES as a float.<br>
Code to include in FunctionQuestScript:
<pre>;S30 FUNCTION
float tan
float ang</pre>
Code for the Stage Result Script:
<pre>;FUNCTION float
if f.fin1 == 0
| |||