Extended precision vector of two scalars.
Source position: matrix.pp line 83
type Tvector2_extended = record |
||
public |
||
data: Tvector2_extended_data; |
|
Internal data of Tvector2.extended. |
procedure init_zero; |
|
Initializes the vector and sets its elements to zero. |
procedure init_one; |
|
Initializes the vector and sets its elements to one. |
procedure init(); |
|
Initializes the vector, setting its elements to the values passed to the constructor. |
function length; |
|
Calculates the length of the vector. |
function squared_length; |
|
Calculates the squared length of the vector. |
|
||
end; |
The Tvector2_extended object provides a vector of two extended precision scalars.