private static boolean equalAsInts ( Vec2d a , Vec2d b ) { return ( ( int ) a . x ) == ( ( int ) b . x ) && ( ( int ) a . y ) == ( ( int ) b . y ) ; }
Return true if the values of the two vectors are equal when cast as ints .