Sign in Join
FPDoc Onlineexperiment

Tvector4_single object

In unit matrix

Single precision vector of four scalars.

Declaration

pascal
Tvector4_single = class

Description

The Tvector4_single object provides a vector of four 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 Tvector4.single.

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