 | Vector2ISubtraction Operator (Vector2I, Int32) |
Subtracts the passed value from each component of the passed vector.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static Vector2I operator -(
Vector2I a,
int b
)
Public Shared Operator - (
a As Vector2I,
b As Integer
) As Vector2I
public:
static Vector2I operator -(
Vector2I a,
int b
)
static let inline (-)
a : Vector2I *
b : int : Vector2I
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2I
Vector to subtract the value from. - b
- Type: SystemInt32
Integer value to subtract.
Return Value
Type:
Vector2I
Vector where each component is the sum of the particular component of the passed vector minus the passed
value.
See Also