diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Util.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 6e0d30d..f8469b6 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -899,7 +899,7 @@ namespace OpenSim.Framework | |||
899 | /// <returns></returns> | 899 | /// <returns></returns> |
900 | public static bool IsInsideBox(Vector3 v, Vector3 min, Vector3 max) | 900 | public static bool IsInsideBox(Vector3 v, Vector3 min, Vector3 max) |
901 | { | 901 | { |
902 | return v.X >= min.X & v.Y >= min.Y && v.Z >= min.Z | 902 | return v.X >= min.X && v.Y >= min.Y && v.Z >= min.Z |
903 | && v.X <= max.X && v.Y <= max.Y && v.Z <= max.Z; | 903 | && v.X <= max.X && v.Y <= max.Y && v.Z <= max.Z; |
904 | } | 904 | } |
905 | 905 | ||