[Overview][Types][Classes][Procedures and functions][Index] |
Calculates the length of the vector.
Source position: matrix.pp line 85
function Tvector2_extended.length: extended; |
Calculate the length of the vector: length=sqrt(data[0]**2+data[1]**2). Try to use squared_length if you are able to, as it is faster.