Home > rc-js-util > Margin2d > mat3TransformLength
Applies Mat3.getTransformedXLength
Mat3.getTransformedYLength
with a minimum of 0 and a maximum of whatever the margin is.
Signature:
mat3TransformLength<TResult extends TTypedArray = TArray>(_mat: IReadonlyMat3<TTypedArray>, _writeTo?: Margin2d<TResult>): Margin2d<TResult>;
Parameter | Type | Description |
---|---|---|
_mat | IReadonlyMat3<TTypedArray> | |
_writeTo | Margin2d<TResult> | (Optional) |
Returns:
Margin2d<TResult>