mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixup
This commit is contained in:
parent
73267486e9
commit
67aceb80a5
@ -345,6 +345,25 @@ EX namespace solnihv {
|
|||||||
return zpush(-1) * xpush(((i-5)%2-.5)*bw) * ypush(((i-5)/2-1)*bw);
|
return zpush(-1) * xpush(((i-5)%2-.5)*bw) * ypush(((i-5)/2-1)*bw);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
case gSolN: {
|
||||||
|
ld bw = vid.binary_width;
|
||||||
|
switch(i) {
|
||||||
|
case 0: return xpush(+bw);
|
||||||
|
case 1: return ypush(+bw);
|
||||||
|
case 2: return xpush(-bw);
|
||||||
|
case 3: return ypush(-bw);
|
||||||
|
case 4:
|
||||||
|
case 5:
|
||||||
|
return ypush(bw*(7-j)) * zpush(+1) * xpush(bw*(i-4.5));
|
||||||
|
case 6:
|
||||||
|
case 7:
|
||||||
|
case 8:
|
||||||
|
return xpush(bw*(4.5-j)) * zpush(-1) * ypush(bw*(i-7));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
default: throw "not nihsolv";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual transmatrix relative_matrix(heptagon *h2, heptagon *h1) override {
|
virtual transmatrix relative_matrix(heptagon *h2, heptagon *h1) override {
|
||||||
|
Loading…
Reference in New Issue
Block a user