mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 18:57:56 +00:00
local_perspective_used now known better
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user