From 96b7939947e00ae9f229d8818bba424b5ecc2157 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 11 Nov 2009 13:35:58 +0000 Subject: [PATCH] put the debugging quat strings as doubles under /sim/current-view/debug instead. --- src/Main/viewmgr.hxx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/Main/viewmgr.hxx b/src/Main/viewmgr.hxx index 443cc33bb..c296b7155 100644 --- a/src/Main/viewmgr.hxx +++ b/src/Main/viewmgr.hxx @@ -119,10 +119,20 @@ private: void setViewAxisLat (double axis); int getView () const; void setView (int newview); -// quaternion accessors: - const char* getCurrentViewOrientation() const; - const char* getCurrentViewOrOffset() const; - const char* getCurrentViewFrame() const; + +// quaternion accessors, for debugging: + double getCurrentViewOrientation_w() const; + double getCurrentViewOrientation_x() const; + double getCurrentViewOrientation_y() const; + double getCurrentViewOrientation_z() const; + double getCurrentViewOrOffset_w() const; + double getCurrentViewOrOffset_x() const; + double getCurrentViewOrOffset_y() const; + double getCurrentViewOrOffset_z() const; + double getCurrentViewFrame_w() const; + double getCurrentViewFrame_x() const; + double getCurrentViewFrame_y() const; + double getCurrentViewFrame_z() const; bool stationary () const; -- 2.39.5