Vector2DEquality Operator |
Compares two vectors for equality.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool operator ==(
Vector2D vector1,
Vector2D vector2
)
Public Shared Operator = (
vector1 As Vector2D,
vector2 As Vector2D
) As Boolean
public:
static bool operator ==(
Vector2D vector1,
Vector2D vector2
)
static let inline (=)
vector1 : Vector2D *
vector2 : Vector2D : bool
Parameters
- vector1
- Type: LightBuzzVector2D
The first vector to compare. - vector2
- Type: LightBuzzVector2D
The second vector to compare.
Return Value
Type:
BooleanTrue if the vectors are approximately equal. False otherwise.
See Also