Sign in Join
FPDoc Onlineexperiment

Tvector2_single object

In unit matrix

Single precision vector of two scalars.

Declaration

pascal
Tvector2_single = class

Description

The Tvector2_single object provides a vector of two single precision scalars.

Methods

init_zeroInitializes the vector and sets its elements to zero.
init_oneInitializes the vector and sets its elements to one.
initInitializes the vector, setting its elements to the values passed to the constructor.
lengthCalculates the length of the vector.
squared_lengthCalculates the squared length of the vector.

Fields

dataInternal data of Tvector2.single.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.