record TVector4f
Unit
PXL.Types
Declaration
type TVector4f = record
Description
4D (3D + w) floating-point vector.
Overview
Fields
Methods
Description
Fields
W: VectorFloat; |
|
Homogeneous transform coordinate, mostly used for perspective projection. Typically, this component is set to 1.0.
|
Methods
function GetXYZ: TVector3f; inline; |
|
Returns (X, Y, Z) portion of 4D vector.
|
function Lerp(const Vector: TVector4f; const Theta: VectorFloat): TVector4f; |
|
Interpolates between current and the specified 4D vector.
Parameters
- Vector
- The destination vector to be used in the interpolation
- Theta
- The mixture of the two vectors with the a range of [0..1].
|
function ProjectToXYZ: TVector3f; |
|
Returns (X, Y, Z) portion of current 4D (3D + W) vector, projecting to W = 1 whenever necessary.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|