[Overview][Types][Classes][Procedures and functions] | Reference for unit 'matrix' (#rtl) |
Calculates the length of the vector.
Source position: matrix.pp line 119
function Tvector4_single.length: single; |
Calculate the length of the vector: length=sqrt(data[0]**2+data[1]**2+data[2]**2+data[3]**2). Try to use squared_length if you are able to, as it is faster.
No notes exist for this page yet.