1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +00:00

no in_vr_sphere except in sphere

This commit is contained in:
Zeno Rogue 2021-02-04 21:30:59 +01:00
parent fd67ec2385
commit c1386d49b7

View File

@ -2256,7 +2256,7 @@ EX void reverse_transparent_walls() {
EX void set_vr_sphere() { EX void set_vr_sphere() {
in_vr_sphere = false; in_vr_sphere = false;
#if CAP_VR #if CAP_VR
in_vr_sphere = vrhr::rendering() && among(pmodel, mdDisk, mdBall, mdHyperboloid, mdHalfplane, mdHemisphere); in_vr_sphere = vrhr::rendering() && among(pmodel, mdDisk, mdBall, mdHyperboloid, mdHalfplane, mdHemisphere) && sphere;
if(in_vr_sphere) { if(in_vr_sphere) {
hyperpoint a, b; hyperpoint a, b;
applymodel(shiftless(point3(0, 0, 1)), a); applymodel(shiftless(point3(0, 0, 1)), a);