Vector.Subtraction Operator |
Subtract one vector from another.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static Vector operator -(
Vector left,
Vector right
)
Public Shared Operator - (
left As Vector,
right As Vector
) As Vector
public:
static Vector^ operator -(
Vector^ left,
Vector^ right
)
static let inline (-)
left : Vector *
right : Vector : Vector
Parameters
- left
- Type: AGI.Foundation.Geometry.Vector
The left hand vector from which to subtract the right hand vector. - right
- Type: AGI.Foundation.Geometry.Vector
The right hand vector to subtract from the left hand vector.
Return Value
Type:
VectorA new vector representing the difference of the two vectors.
See Also