Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function DegToRad: TMtxVec; overload; | Convert degrees to radians (in-place). |
| └ indexed: function DegToRad(Index, Len: integer): TMtxVec; overload; | ||
| 2 | function DegToRad(const X: TMtxVec): TMtxVec; overload; | Convert X elements from degrees to radians and store in self. |
| └ indexed: function DegToRad(const X: TMtxVec; XIndex, Index, Len: integer): TMtxVec; overload; |
Overload 1: function DegToRad: TMtxVec; overload;
Convert degrees to radians (in-place).
Result: stored in self (calling object), returns self for chaining
Indexed: function DegToRad(Index, Len: integer): TMtxVec; overload;
Convert degrees to radians on elements [Index..Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | integer | start index |
| 2 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Overload 2: function DegToRad(const X: TMtxVec): TMtxVec; overload;
Convert X elements from degrees to radians and store in self.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object), returns self for chaining
Indexed: function DegToRad(const X: TMtxVec; XIndex, Index, Len: integer): TMtxVec; overload;
Convert X elements [XIndex..XIndex+Len-1] from degrees to radians and store in self elements [Index..Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | integer | X start index |
| 3 | Index | integer | start index |
| 4 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining