invertY method

int invertY(
  1. int y,
  2. int z
)
inherited

Implementation

int invertY(int y, int z) {
  return ((1 << z) - 1) - y;
}