MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / twistMove

Method twistMove

app/src/main/java/cs/sq12phase/Shape.java:77–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 private void twistMove() {
78 int temp = top & 0x3f;
79 int p1 = Integer.bitCount(temp);
80 int p3 = Integer.bitCount(bottom & 0xfc0);
81 parity ^= 1 & ((p1 & p3) >> 1);
82
83 top = (top & 0xfc0) | ((bottom >> 6) & 0x3f);
84 bottom = (bottom & 0x3f) | temp << 6;
85 }
86
87 static boolean inited = false;
88

Callers 1

initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected