record _TMatrix2Helper

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type _TMatrix2Helper = record helper for TMatrix2

Description

Adds common constants of type TMatrix2

Overview

Fields

internal const Zero : TMatrix2 = (M: ((0, 0), (0, 0)));
internal const Identity: TMatrix2 = (M: ((1, 0), (0, 1)));

Methods

procedure Init(const AMatrix: TMatrix3); overload;
procedure Init(const AMatrix: TMatrix4); overload;

Description

Fields

internal const Zero : TMatrix2 = (M: ((0, 0), (0, 0)));
 
internal const Identity: TMatrix2 = (M: ((1, 0), (0, 1)));
 

Methods

procedure Init(const AMatrix: TMatrix3); overload;

Initializes the matrix with a 3x3 matrix. The upper-left corner of the 3x3 matrix is copied to the 2x2 matrix.

Parameters
AMatrix
the source 3x3 matrix.
procedure Init(const AMatrix: TMatrix4); overload;

Initializes the matrix with a 4x4 matrix. The upper-left corner of the 4x4 matrix is copied to the 3x3 matrix.

Parameters
AMatrix
the source 4x4 matrix.

Generated by PasDocEx, based on PasDoc 0.14.0.