|
Vector2Transform Method (Vector2, Matrix3x2)
|
Transforms a vector by the given matrix.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Vector2 Transform(
Vector2 position,
Matrix3x2 matrix
)
Public Shared Function Transform (
position As Vector2,
matrix As Matrix3x2
) As Vector2
public:
static Vector2 Transform(
Vector2 position,
Matrix3x2 matrix
)
static member Transform :
position : Vector2 *
matrix : Matrix3x2 -> Vector2
Parameters
- position
- Type: Karamba.GeometryVector2
The source vector. - matrix
- Type: Karamba.GeometryMatrix3x2
The transformation matrix.
Return Value
Type:
Vector2The transformed vector.
See Also