Show: Delphi
C++
Display Preferences
FMX.Types.CreateRotationMatrix
From XE3 API Documentation
Delphi
function CreateRotationMatrix(const Angle: Single): TMatrix;
C++
extern DELPHI_PACKAGE System::Types::TMatrix __fastcall CreateRotationMatrix(const float Angle);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Creates a rotation matrix based on the given angle.
The angle is given through the Angle parameter, which is a floating-point value. This angle will be used to calculate the sine and cosine for the rotation matrix.
The determinant of this rotation matrix is 0.