public int GetHashCode (Vector2 vec2);

Parameters

vec2The Vector2 object for which the hash code is to be computed.

Returns

int The hash code.

Description

Hash code implementation which returns same hash code for all equal Vector2 objects.