Sign in Join
FPDoc Onlineexperiment

Tvector2_extended.squared_length function

Member of Tvector2_extendedIn unit matrix

Calculates the squared length of the vector.

Declaration

pascal
function squared_length: extended

Description

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.