From 08819bcbea9012d67cc4cb44e4d7ec7e5837bac6 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Sun, 19 Jul 2009 02:32:02 +0000
Subject: * Created a way that the OpenSimulator scene can ask the physics
 scene to do a raycast test safely. * Test for prim obstructions between the
 avatar and camera.  If there are obstructions, inform the client to move the
 camera closer.  This makes it so that walls and objects don't obstruct your
 view while you're moving around.   Try walking inside a hollowed tori.  
 You'll see how much easier it is now because your camera automatically moves
 closer so you can still see. * Created a way to know if the user's camera is
 alt + cammed or just following the avatar. * Changes IClientAPI interface by
 adding SendCameraConstraint(Vector4 CameraConstraint)

---
 OpenSim/Client/MXP/ClientStack/MXPClientView.cs     | 5 +++++
 OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | 5 +++++
 2 files changed, 10 insertions(+)

(limited to 'OpenSim/Client')

diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
index d8980c1..a7bcc07 100644
--- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
+++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
@@ -1240,6 +1240,11 @@ namespace OpenSim.Client.MXP.ClientStack
             // Need to translate to MXP somehow
         }
 
+        public void SendCameraConstraint(Vector4 ConstraintPlane)
+        {
+
+        }
+
         public void SendLandParcelOverlay(byte[] data, int sequence_id)
         {
             // Need to translate to MXP somehow
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
index 4570395..324b5af 100644
--- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
+++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
@@ -780,6 +780,11 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
             throw new System.NotImplementedException();
         }
 
+        public void SendCameraConstraint(Vector4 ConstraintPlane)
+        {
+
+        }
+
         public void SendLandObjectOwners(LandData land, List<UUID> groups, Dictionary<UUID, int> ownersAndCount)
         {
             throw new System.NotImplementedException();
-- 
cgit v1.1