Click or drag to resize
Accord.NET (logo)

Vector3Subtraction Operator (Vector3, Single)

Subtracts a value from all coordinates of the specified vector.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static Vector3 operator -(
	Vector3 vector,
	float value
)
Request Example View Source

Parameters

vector
Type: Accord.MathVector3
Vector to subtract the specified value from.
value
Type: SystemSingle
Value to subtract from all coordinates of the vector.

Return Value

Type: Vector3
Returns new vector with all coordinates decreased by the specified value.
See Also