Tvector2_extended.length

Calculates the length of the vector.

Declaration

Source position: matrix.pp line 85

default 
  function &length : extended;

Description

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.

results matching ""

    No results matching ""