Skip to content

Tvector2_single.squared_length

Calculates the squared length of the vector.

Declaration

Source position: matrix.pp line 68

default 
  function squared_length : single;

Description

Calculate the squared length of the vector: squared_length=data[0]**2+data[1]**2.