Unit 'matrix' Package
[Overview][Types][Classes][Procedures and functions][Index] [#rtl]

Tvector3_single.length

Calculates the length of the vector.

Declaration

Source position: matrix.pp line 96

function Tvector3_single.length: single;

Description

Calculate the length of the vector: length=sqrt(data[0]**2+data[1]**2+data[2]**2). Try to use squared_length if you are able to, as it is faster.


Documentation generated on: Nov 23 2024