1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-03 11:17:56 +00:00

fixed gRotSpace to gTwistedProduct

This commit is contained in:
Zeno Rogue
2024-06-22 11:17:42 +02:00
parent 71666f5bf7
commit 12332ff361
3 changed files with 4 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ void pass_time() {
if(true) {
ld delta = t - last_t;
dynamicval<eGeometry> g(geometry, geometry == gRotSpace ? geometry : gCubeTiling);
dynamicval<eGeometry> g(geometry, geometry == gTwistedProduct ? geometry : gCubeTiling);
const Uint8 *keystate = SDL12_GetKeyState(NULL);
if(keystate['a'] || forcekey == 'a') current = apply_lorentz(current, lorentz(0, 2, delta*accel)), ang = 180, acc = true;
@@ -645,7 +645,7 @@ bool view_ads_ca() {
color_t statecolor = 0;
if(1) {
dynamicval<eGeometry> b(geometry, gRotSpace);
dynamicval<eGeometry> b(geometry, gTwistedProduct);
shiftmatrix S = where_matrix[c];
for(int i=0; i<=c->type; i++) {
hyperpoint ha = hybrid::get_corner(c, i, 2, 0);