|
Vector3Subtract Method (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 Subtract(
Vector3 vector,
float value
)
Public Shared Function Subtract (
vector As Vector3,
value As Single
) As Vector3
Request Example
View SourceParameters
- 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:
Vector3Returns new vector with all coordinates decreased by the specified value.
See Also