aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMW2008-10-10 16:01:59 +0000
committerMW2008-10-10 16:01:59 +0000
commit5be74427365c3b712099aba8f8345f5fd92ca2fc (patch)
tree6bc48aa9326bf1ff4c004d6455ad23fa4a83ca4a /OpenSim/Framework
parentvery tiny change (diff)
downloadopensim-SC-5be74427365c3b712099aba8f8345f5fd92ca2fc.zip
opensim-SC-5be74427365c3b712099aba8f8345f5fd92ca2fc.tar.gz
opensim-SC-5be74427365c3b712099aba8f8345f5fd92ca2fc.tar.bz2
opensim-SC-5be74427365c3b712099aba8f8345f5fd92ca2fc.tar.xz
added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrabUpdate event, for the new surface touch parameters in 1.21 viewers.
TODO: add the touch args to OnGrabObject and OnDeGrabObject.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IClientAPI.cs2
-rw-r--r--OpenSim/Framework/SurfaceTouchEventArgs.cs17
2 files changed, 18 insertions, 1 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 5bf0d19..26ab586 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -144,7 +144,7 @@ namespace OpenSim.Framework
144 public delegate void AvatarPickerRequest(IClientAPI remoteClient, UUID agentdata, UUID queryID, string UserQuery 144 public delegate void AvatarPickerRequest(IClientAPI remoteClient, UUID agentdata, UUID queryID, string UserQuery
145 ); 145 );
146 146
147 public delegate void MoveObject(UUID objectID, Vector3 offset, Vector3 grapPos, IClientAPI remoteClient); 147 public delegate void MoveObject(UUID objectID, Vector3 offset, Vector3 grapPos, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs);
148 148
149 public delegate void ParcelAccessListRequest( 149 public delegate void ParcelAccessListRequest(
150 UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client); 150 UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);
diff --git a/OpenSim/Framework/SurfaceTouchEventArgs.cs b/OpenSim/Framework/SurfaceTouchEventArgs.cs
new file mode 100644
index 0000000..f34d8ba
--- /dev/null
+++ b/OpenSim/Framework/SurfaceTouchEventArgs.cs
@@ -0,0 +1,17 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenMetaverse;
5
6namespace OpenSim.Framework
7{
8 public class SurfaceTouchEventArgs
9 {
10 public Vector3 Binormal;
11 public int FaceIndex;
12 public Vector3 Normal;
13 public Vector3 Position;
14 public Vector3 STCoord;
15 public Vector3 UVCoord;
16 }
17}