mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 10:50:35 +00:00
local_perspective_used now known better
This commit is contained in:
parent
6a1cb13c11
commit
b89ba69fd9
@ -5063,8 +5063,12 @@ EX ld wall_radar(cell *c, transmatrix T, transmatrix LPe, ld max) {
|
||||
/** if this is set to ON, just transform non-isotropic spaces according to View, and apply NLP to view */
|
||||
EX bool nonisotropic_weird_transforms;
|
||||
|
||||
EX void make_actual_view() {
|
||||
EX void decide_lpu() {
|
||||
nisot::local_perspective_used = gproduct;
|
||||
}
|
||||
|
||||
EX void make_actual_view() {
|
||||
decide_lpu();
|
||||
if(!nisot::local_perspective_used) NLP = Id;
|
||||
sphereflip = Id;
|
||||
sphere_flipped = flip_sphere();
|
||||
|
@ -2205,6 +2205,7 @@ void ballgeometry() {
|
||||
EX void resetview() {
|
||||
DEBBI(DF_GRAPH, ("reset view"));
|
||||
// EUCLIDEAN
|
||||
decide_lpu();
|
||||
NLP = Id;
|
||||
stretch::mstretch_matrix = Id;
|
||||
auto& vo = get_view_orientation();
|
||||
|
Loading…
Reference in New Issue
Block a user