IMat2Ops

Description

[StaticTemplate]
interface Tinman.Core.Math.Vectors.IMat2Ops
→ <TVector2 out val>
→ <TElement in val>

Extended by

Mat2D struct
Mat2F struct

Defines common operations for 2x2 matrix values.

Public / Methods

Mul


[Pure]
public method Mul → (2)

x in : TElement

X-component of vector.

y in : TElement

Y-component of vector.

returns → TVector2

The resulting vector.

Multiplies this matrix (left-side) with the given vector (right-side): result = this * v.