aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorDahlia Trimble2008-10-15 04:42:28 +0000
committerDahlia Trimble2008-10-15 04:42:28 +0000
commit901acddbdd38c441426f43cbfa78c422a19cec17 (patch)
tree32303dcebf039c840ebae0430bc57e0aa895f5ef /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parent* Send an avatar update to other clients when an avatar rotates, as well as w... (diff)
downloadopensim-SC-901acddbdd38c441426f43cbfa78c422a19cec17.zip
opensim-SC-901acddbdd38c441426f43cbfa78c422a19cec17.tar.gz
opensim-SC-901acddbdd38c441426f43cbfa78c422a19cec17.tar.bz2
opensim-SC-901acddbdd38c441426f43cbfa78c422a19cec17.tar.xz
Thanks to M. Igarashi and nlin for a patch that implements llGetCameraRot().
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index d87a7e2..6f5372a 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -252,6 +252,11 @@ namespace OpenSim.Region.Environment.Scenes
252 get { return m_CameraCenter; } 252 get { return m_CameraCenter; }
253 } 253 }
254 254
255 public Quaternion CameraRotation
256 {
257 get { return Util.Axes2Rot(m_CameraAtAxis, m_CameraLeftAxis, m_CameraUpAxis); }
258 }
259
255 public Vector3 Lookat 260 public Vector3 Lookat
256 { 261 {
257 get 262 get