Packed Record TGenericVector3

Unit

Declaration

type TGenericVector3 = packed record

Description

Vector of 3 floating-point values.

This is generic type (although not using "proper" Pascal generics for implementation reasons). In has two actual uses:

  1. TVector3, a vector of 3 Single values (floats with single precision),

  2. TVector3Double, a vector of 3 Double values (floats with double precision).

The actual type of TGenericScalar is Single or Double for (respectively) TVector3 or TVector3Double.

Source: base/castlevectors_generic_float_record.inc (line 190).

Overview

Fields

Public X: TGenericScalar
Public Y: TGenericScalar
Public Z: TGenericScalar
Public Data: array [TIndex] of TGenericScalar
Public XY: TGenericVector2

Description

Fields

Public X: TGenericScalar

This item has no description.

Source: base/castlevectors_generic_float_record.inc (line 333).

Public Y: TGenericScalar

This item has no description.

Source: base/castlevectors_generic_float_record.inc (line 333).

Public Z: TGenericScalar

This item has no description.

Source: base/castlevectors_generic_float_record.inc (line 333).

Public Data: array [TIndex] of TGenericScalar

Access (get, set) vector components by index.

Source: base/castlevectors_generic_float_record.inc (line 334).

Public XY: TGenericVector2

This item has no description.

Source: base/castlevectors_generic_float_record.inc (line 335).


Generated by PasDoc 0.17.0.snapshot.