From 8f1c75404d31242da2a2cc9b98359b36a58532c4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 3 Feb 2018 20:04:47 +0100 Subject: [PATCH] getOrientation in headers/fake --- hyper.h | 4 ++++ init.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/hyper.h b/hyper.h index 52deb545..0cc941da 100644 --- a/hyper.h +++ b/hyper.h @@ -2560,3 +2560,7 @@ namespace stereo { double randd(); +#if CAP_ORIENTATION +transmatrix getOrientation(); +#endif + diff --git a/init.cpp b/init.cpp index 29e45b7a..26f716dd 100644 --- a/init.cpp +++ b/init.cpp @@ -635,6 +635,8 @@ int getticks(); void shareScore(MOBPAR_FORMAL); #endif +transmatrix getOrientation() { return Id; } + void mobile_draw(MOBPAR_FORMAL) { optimizeview();