mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-06 04:17:58 +00:00
MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix
This commit is contained in:
@@ -264,7 +264,7 @@ EX namespace netgen {
|
||||
|
||||
color_t& hqpixel(hyperpoint h) {
|
||||
int hx, hy, hs;
|
||||
getcoord0(h, hx, hy, hs);
|
||||
getcoord0(shiftless(h), hx, hy, hs);
|
||||
return qpixel(hqsurface, hx, hy);
|
||||
}
|
||||
|
||||
@@ -657,7 +657,7 @@ EX namespace netgen {
|
||||
nei[i][e] >= 0 ? 0x808080 :
|
||||
0xC0C0C0;
|
||||
|
||||
queueline(hvec(i, (e+ofs)%t), hvec(i, (e+1+ofs)%t), (col << 8) + 0xFF, 3);
|
||||
queueline(shiftless(hvec(i, (e+ofs)%t)), shiftless(hvec(i, (e+1+ofs)%t)), (col << 8) + 0xFF, 3);
|
||||
}
|
||||
}
|
||||
quickqueue();
|
||||
|
Reference in New Issue
Block a user