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

Tvector4_single.squared_length

Calculates the squared length of the vector.

Declaration

Source position: matrix.pp line 122

function Tvector4_single.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.


Documentation generated on: May 14 2021