From 748f72326d9a295958bc9ba63bbb1a5d39030ef7 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 27 Jun 2008 23:03:39 +0000 Subject: last round of warning squashing. calling it a day now. --- OpenSim/Region/Physics/Meshing/HelperTypes.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics') diff --git a/OpenSim/Region/Physics/Meshing/HelperTypes.cs b/OpenSim/Region/Physics/Meshing/HelperTypes.cs index aed6c45..5d9823c 100644 --- a/OpenSim/Region/Physics/Meshing/HelperTypes.cs +++ b/OpenSim/Region/Physics/Meshing/HelperTypes.cs @@ -192,7 +192,10 @@ public class Vertex : PhysicsVector, IComparable { return new Vertex(Y * v.Z - Z * v.Y, Z * v.X - X * v.Z, X * v.Y - Y * v.X); } - + + // mono compiler moans about overloading operators hiding base + // operator but should not according to C# language spec + #pragma warning disable 0108 public static Vertex operator *(Vertex v, Quaternion q) { Matrix4 tm = q.computeMatrix(); @@ -250,6 +253,7 @@ public class Vertex : PhysicsVector, IComparable v1.Z *= mul; return v1; } + #pragma warning restore 0108 public float dot(Vertex v) -- cgit v1.1