Vector.DegToRad Method

Overload List

#SignatureDescription
1TMtxVec DegToRadConvert degrees to radians (in-place).
└ indexed: TMtxVec DegToRad(Int32 Index, Int32 Len)
2TMtxVec DegToRad(TMtxVec X)Convert X elements from degrees to radians and store in self.
└ indexed: TMtxVec DegToRad(TMtxVec X, Int32 XIndex, Int32 Index, Int32 Len)

Overload 1: TMtxVec DegToRad

Convert degrees to radians (in-place).

Result: stored in self (calling object), returns self for chaining

Indexed: TMtxVec DegToRad(Int32 Index, Int32 Len)

Convert degrees to radians on elements [Index..Index+Len-1] in-place.

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

Result: stored in self (calling object), returns self for chaining

Overload 2: TMtxVec DegToRad(TMtxVec X)

Convert X elements from degrees to radians and store in self.

#NameTypeDescription
1XTMtxVecsource TVec or TMtx

Result: stored in self (calling object), returns self for chaining

Indexed: TMtxVec DegToRad(TMtxVec X, Int32 XIndex, Int32 Index, Int32 Len)

Convert X elements [XIndex..XIndex+Len-1] from degrees to radians and store in self elements [Index..Index+Len-1].

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2XIndexInt32X start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining