mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-15 13:17:13 +00:00
nilv:: works with small periods
This commit is contained in:
@@ -259,8 +259,11 @@ void virtualRebase_cell(cell*& base, T& at, const U& check) {
|
||||
T best_at = at;
|
||||
while(true) {
|
||||
cell *newbase = NULL;
|
||||
forCellCM(c2, base) {
|
||||
transmatrix V2 = calc_relative_matrix(base, c2, C0);
|
||||
forCellIdCM(c2, i, base) {
|
||||
transmatrix V2 =
|
||||
nil ? nilv::adjmatrix(base->c.spin(i)) :
|
||||
asonov::in() ? asonov::adjmatrix(base->c.spin(i)) :
|
||||
calc_relative_matrix(base, c2, C0);
|
||||
T cand_at = V2 * at;
|
||||
horo_distance newz(check(cand_at));
|
||||
if(newz < currz) {
|
||||
|
||||
Reference in New Issue
Block a user