| VectorFAdd Method |
Adds two vectors.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static VectorF Add(
VectorF vector1,
VectorF vector2
)
Public Shared Function Add (
vector1 As VectorF,
vector2 As VectorF
) As VectorF
public:
static VectorF^ Add(
VectorF^ vector1,
VectorF^ vector2
)
static member Add :
vector1 : VectorF *
vector2 : VectorF -> VectorF
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVectorF
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVectorF
The second vector.
Return Value
Type:
VectorFThe sum of the two vectors.
Exceptions See Also