Tvector2_single
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Single precision vector of two scalars
Declaration
Source position: matrix.pp line 62
Type
Tvector2_single = object
data : Tvector2_single_data;
constructor init_zero;
constructor init_one;
constructor init(a: single; b: single);
function &length : single;
function squared_length : single;
end
;
Description
The Tvector2_single object provides a vector of two single precision scalars.
Members
| Member | Type | Visibility | Description |
|---|---|---|---|
| data | Field | default | Internal data of Tvector2.single |
| init | Method | default | Initializes the vector, setting its elements to the values passed to the constructor. |
| init_one | Method | default | Initializes the vector and sets its elements to one |
| init_zero | Method | default | Initializes the vector and sets its elements to zero |
| length | Method | default | Calculates the length of the vector. |
| squared_length | Method | default | Calculates the squared length of the vector. |
Inheritance
| Class | Description |
|---|---|
| Tvector2_single | Single precision vector of two scalars |