1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-30 04:21:22 +00:00

camera rotation by device orientation in 3D

This commit is contained in:
Zeno Rogue
2019-06-28 09:56:39 +02:00
parent 93813f4cf1
commit 4a65e11c1d
3 changed files with 33 additions and 2 deletions

View File

@@ -1096,7 +1096,7 @@ void spinEdge(ld aspd) {
while(downspin > +M_PI) downspin -= 2*M_PI;
aspd = (1 + 2 * abs(downspin)) * aspd;
}
else if(WDIM == 2 && GDIM == 3 && vid.fixed_yz) {
else if(WDIM == 2 && GDIM == 3 && vid.fixed_yz && !CAP_ORIENTATION) {
aspd = 999999;
if(straightDownSeek) {
if(straightDownPoint[0])