Sign in Join
FPDoc Onlineexperiment

Tvector3_single.squared_length function

Member of Tvector3_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.

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