Click or drag to resize

NVectorMultiplySubtract Method

Optimized vector scaling and subtraction.

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntax
C#
public NVector MultiplySubtract(
	int multiplier,
	NVector subtrahend
)

Parameters

multiplier  Int32
The multiplier scalar.
subtrahend  NVector
The vector to be subtracted from the multiplication.

Return Value

NVector
C#
this * multiplier - subtrahend
Remarks

The current vector is the multiplicand.

This operation is hardware-accelerated when possible.

See Also