1 DBG: OUTS "# Vector ops"
4 VEC: SETV VA00 VEC: MAKE 42 43
5 VEC: GETC VA00 VA01 VA02
6 DOIF VA01 EQ 42 AND VA02 EQ 43
17 * VA01 = unit vector (VA00)
18 * VA42 = angle of VA01
19 * VA02 = difference of VA00 and VA42
20 VEC: SETV VA01 VEC: UNIT VA00
22 SETV VA02 VEC: ANGL VA01
30 SETV VA10 VEC: MAGN VA01
34 DOIF VA02 > 0.01 AND VA20 > 0.01 OR VA10 > 0.01