negate method

Vector2D negate()

Implementation

Vector2D negate() => .vec2(-x, -y);