mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-11 02:04:30 +00:00
MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix
This commit is contained in:
1 parent
d046023164
commit
82f32607e6
47 files changed
+1266
-1129
No files matched your search
+2
-2
@@ -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