mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
fixed gRotSpace to gTwistedProduct
This commit is contained in:
parent
71666f5bf7
commit
12332ff361
@ -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);
|
||||
|
@ -57,7 +57,7 @@ auto geoslide(eGeometry g, ccolor::data *canvas, int _jhole, int _jblock) {
|
||||
set_geometry(gProduct);
|
||||
}
|
||||
if(g == gNormal) {
|
||||
set_geometry(gRotSpace);
|
||||
set_geometry(gTwistedProduct);
|
||||
}
|
||||
tour::slide_backup<ld>(sightranges[gProduct], 12);
|
||||
tour::slide_backup<ld>(sightranges[gNil], 7);
|
||||
|
@ -157,7 +157,7 @@ void draw_all() {
|
||||
|
||||
draw_colored(gCell120, gNormal, 0x00FF00FF);
|
||||
draw_colored(gNil, gNormal, 0xFF0000FF);
|
||||
draw_colored(gNormal, gRotSpace, 0x0000FFFF);
|
||||
draw_colored(gNormal, gTwistedProduct, 0x0000FFFF);
|
||||
|
||||
draw_colored(gSphere, gProduct, 0x00FF80FF);
|
||||
draw_colored(gNIH, gNormal, 0xFF8000FF);
|
||||
|
Loading…
Reference in New Issue
Block a user