mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-26 03:17:39 +00:00
rogueviz::dhrg:: export some functions
This commit is contained in:
@@ -79,4 +79,14 @@ namespace dhrg {
|
||||
if(doStore) rogueviz::storeall();
|
||||
}
|
||||
|
||||
void unsnap() {
|
||||
for(int i=0; i<N; i++) {
|
||||
using rogueviz::vdata;
|
||||
transmatrix h = spin(coords[i].second * degree) * xpush(coords[i].first);
|
||||
vdata[i].m->base = currentmap->gamestart();
|
||||
vdata[i].m->at = h;
|
||||
virtualRebase(vdata[i].m);
|
||||
}
|
||||
fixedges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user