mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-28 04:17:39 +00:00
fixed some bugs with sphere embedded in product
This commit is contained in:
@@ -769,7 +769,7 @@ EX shiftmatrix face_the_player(const shiftmatrix V) {
|
||||
return shiftless(cspin90(1, 2) * lrspintox(cspin90(2, 1) * uh) * xpush(hdist0(uh)) * cspin90(0, 2) * spin270());
|
||||
}
|
||||
#endif
|
||||
if(embedded_plane && msphere) return shiftless(map_relative_push(unshift(V * zpush0(1))) * zpush(-1));
|
||||
if(embedded_plane && msphere && !sphere && !gproduct) return shiftless(map_relative_push(unshift(V * zpush0(1))) * zpush(-1));
|
||||
return rgpushxto0(tC0(V));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user