From 5be74427365c3b712099aba8f8345f5fd92ca2fc Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 10 Oct 2008 16:01:59 +0000 Subject: 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. --- OpenSim/Framework/SurfaceTouchEventArgs.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 OpenSim/Framework/SurfaceTouchEventArgs.cs (limited to 'OpenSim/Framework/SurfaceTouchEventArgs.cs') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using OpenMetaverse; + +namespace OpenSim.Framework +{ + public class SurfaceTouchEventArgs + { + public Vector3 Binormal; + public int FaceIndex; + public Vector3 Normal; + public Vector3 Position; + public Vector3 STCoord; + public Vector3 UVCoord; + } +} -- cgit v1.1