Sign in Join
FPDoc Onlineexperiment

Tvector4_single.squared_length function

Member of Tvector4_singleIn unit matrix

Calculates the squared length of the vector.

Declaration

pascal
function squared_length: single

Description

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

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