MathDistanceBetweenPoints
native MathDistanceBetweenPoints takes [[[real|real.html]]] fromX, [[[real|real.html]]] fromY, [[[real|real.html]]] toX, [[[real|real.html]]] toY returns [[[real|real.html]]]
Возвращает расстояние между точками с координатами (fromX
, fromY
) и (toX
, toY
).
function [[[main|main.html]]] takes [[[nothing|nothing.html]]] returns [[[nothing|nothing.html]]]
call ConsolePrint([[[R2S|r2s.html]]](MathDistanceBetweenPoints(0, 0, 3, 4))) // 5.000
endfunction
Last modified: 22 October 2024