Click or drag to resize

Vector2MultiplyAdd Method

Combined multiplication and addition

Namespace: Microsoft.DirectX
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public static Vector2 MultiplyAdd(
	Vector2 v,
	double s,
	Vector2 o
)

Parameters

v  Vector2
Source Vector2
s  Double
Scale
o  Vector2
Offset Vector2

Return Value

Vector2
Result Vector2 of v * s + o
See Also