operator % method

Vector2 operator %(
  1. Vector2 mod
)

Modulo/Remainder

Implementation

Vector2 operator %(Vector2 mod) => Vector2(x % mod.x, y % mod.y);