Computes the difference of two vectors

Namespace:  Cloudster.Samples.Vector2D
Assembly:  Cloudster.Samples.Vector2D.Role (in Cloudster.Samples.Vector2D.Role.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Vector2DEntity operator -(
	Vector2DEntity vector1,
	Vector2DEntity vector2
)
Visual Basic (Declaration)
Public Shared Operator - ( _
	vector1 As Vector2DEntity, _
	vector2 As Vector2DEntity _
) As Vector2DEntity
Visual C++
public:
static Vector2DEntity^ operator -(
	Vector2DEntity^ vector1, 
	Vector2DEntity^ vector2
)

Parameters

vector1
Type: Cloudster.Samples.Vector2D..::.Vector2DEntity
First vector
vector2
Type: Cloudster.Samples.Vector2D..::.Vector2DEntity
Second vector

Return Value

A new vector, difference of the two parameter vectors

See Also