| [Overview][Types][Classes][Procedures and functions][Index] | 
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Single precision vector of two scalars
Source position: matrix.pp line 62
type Tvector2_single = object  | 
||
  | 
Internal data of Tvector2.single  | 
|
constructor init_zero;  | 
  | 
Initializes the vector and sets its elements to zero  | 
constructor init_one;  | 
  | 
Initializes the vector and sets its elements to one  | 
constructor 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;  | 
  | 
Single precision vector of two scalars  | 
The Tvector2_single object provides a vector of two single precision scalars.