diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-02-13 01:50:04 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-02-15 22:02:21 +0200 |
commit | 58827cb2752b9a184d638ed6a4f0efa0e9740d64 (patch) | |
tree | f72d8fe77e9fdaa4a636aeb06a1defb91c594323 /indra/llui/llvirtualtrackball.h | |
parent | 5971c647e4abd11c4c4f055f124ac2251b720c25 (diff) |
SL-14725 Rotation sliders for sun and moon panels
Diffstat (limited to 'indra/llui/llvirtualtrackball.h')
-rw-r--r-- | indra/llui/llvirtualtrackball.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llui/llvirtualtrackball.h b/indra/llui/llvirtualtrackball.h index 2d4b1ece17..c7a893877b 100644 --- a/indra/llui/llvirtualtrackball.h +++ b/indra/llui/llvirtualtrackball.h @@ -96,6 +96,9 @@ public: void setRotation(const LLQuaternion &value); LLQuaternion getRotation() const; + static void getAzimuthAndElevation(const LLQuaternion &quat, F32 &azimuth, F32 &elevation); + static void getAzimuthAndElevationDeg(const LLQuaternion &quat, F32 &azimuth, F32 &elevation); + protected: friend class LLUICtrlFactory; LLVirtualTrackball(const Params&); |