Files
ValueScript/concept-code/modules/compiled/util.vsm
2023-03-03 16:08:47 +11:00

8 lines
164 B
Plaintext

export void { "dist": @dist }
@dist = function(%x, %y) {
op* %x %x %_tmp0
op* %y %y %_tmp1
op+ %_tmp0 %_tmp1 %_tmp1
subcall $Math "sqrt" [%_tmp1] %return
}