[Overview][Types][Classes][Procedures and functions] Reference for unit 'matrix' (#rtl)

Tvector3_double.squared_length

Calculates the squared length of the vector.

Declaration

Source position: matrix.pp line 102

function Tvector3_double.squared_length: double;

Description

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