Author: dhudson Date: 2006-11-13 18:23:52 -0500 (Mon, 13 Nov 2006) New Revision: 67805
Modified: trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingBox.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingFrustum.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Ray.cs Log: stubbed out classes Modified: trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingBox.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingBox.cs 2006-11-13 22:59:05 UTC (rev 67804) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingBox.cs 2006-11-13 23:23:52 UTC (rev 67805) @@ -1,280 +1,280 @@ -#region License -/* -MIT License -Copyright � 2006 The Mono.Xna Team -http://www.taoframework.com -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -*/ -#endregion License - +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + using System; -using System.ComponentModel; -using System.Collections.Generic; -using System.Globalization; -using System.Runtime.InteropServices; - -namespace Microsoft.Xna.Framework -{ - /// <summary>Defines a box-shaped 3D volume.</summary> - [TypeConverter("Microsoft.Xna.Framework.Design.BoundingBoxConverter, Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ff")] - [Serializable] - [StructLayout(LayoutKind.Sequential)] - public struct BoundingBox : IEquatable<BoundingBox> - { - /// <summary> - /// The minimum point the BoundingBox contains. - /// </summary> - public Vector3 Min; - - /// <summary>The maximum point the BoundingBox contains.</summary> - public Vector3 Max; - - /// <summary> - /// Gets an array of points that make up the corners of the BoundingBox. - /// </summary> - /// <returns> - /// Array of points that make up the corners of the BoundingBox. - /// </returns> - public Vector3[] GetCorners() - { - return new Vector3[] { - new Vector3(this.Min.X, this.Max.Y, this.Max.Z), - new Vector3(this.Max.X, this.Max.Y, this.Max.Z), - new Vector3(this.Max.X, this.Min.Y, this.Max.Z), - new Vector3(this.Min.X, this.Min.Y, this.Max.Z), - new Vector3(this.Min.X, this.Max.Y, this.Min.Z), - new Vector3(this.Max.X, this.Max.Y, this.Min.Z), - new Vector3(this.Max.X, this.Min.Y, this.Min.Z), - new Vector3(this.Min.X, this.Min.Y, this.Min.Z) - }; - } - - /// <summary>Creates an instance of BoundingBox.</summary> - /// <param name="min">The minimum point the BoundingBox includes.</param> - /// <param name="max">The maximum point the BoundingBox includes.</param> - public BoundingBox(Vector3 min, Vector3 max) - { - this.Min = min; - this.Max = max; - } - - /// <summary> - /// Determines whether two instances of BoundingBox are equal. - /// </summary> - /// <param name="other"> - /// The BoundingBox to compare with the current BoundingBox. - /// </param> - /// <returns>true if the specified BoundingBox is equal to the current BoundingBox; false otherwise. - /// </returns> - public bool Equals(BoundingBox other) - { - return (this.Min == other.Min) && (this.Max == other.Max); - } - - /// <summary> - /// Determines whether two instances of BoundingBox are equal. - /// </summary> - /// <param name="obj"> - /// The System.Object to compare with the current BoundingBox. - /// </param> - /// <returns>true if the specified System.Object is equal to the current BoundingBox; false otherwise. - /// </returns> - public override bool Equals(object obj) - { - if (obj is BoundingBox) - return this.Equals((BoundingBox)obj); - return false; - } - - /// <summary>Gets the hash code for this instance.</summary> - /// <returns> - /// A hash code for the current BoundingBox. - /// </returns> - public override int GetHashCode() - { - return this.Min.GetHashCode() + this.Max.GetHashCode(); - } - - /// <summary> - /// Returns a System.String that represents the current BoundingBox. - /// </summary> - /// <returns>System.String representation of the current BoundingBox. - /// </returns> - public override string ToString() - { - return string.Format(CultureInfo.CurrentCulture, "{{Min:{0} Max:{1}}}", new object[] { this.Min.ToString(), this.Max.ToString() }); - } - - /// <summary>Creates the smallest BoundingBox that contains the two specified BoundingBoxs.</summary> - /// <param name="original">One of the BoundingBoxs to contain.</param> - /// <param name="additional">One of the BoundingBoxs to contain.</param> - /// <returns>The created BoundingBox.</returns> - public static BoundingBox CreateMerged(BoundingBox original, BoundingBox additional) - { - return new BoundingBox(Vector3.Min(original.Min, additional.Min), Vector3.Max(original.Max, additional.Max)); - } - - /// <summary>Creates the smallest BoundingBox that will contain the specified BoundingSphere.</summary> - /// <param name="sphere">The BoundingSphere to contain.</param> - /// <returns>The created BoundingBox.</returns> - public static BoundingBox CreateFromSphere(BoundingSphere sphere) - { - Vector3 vector1 = new Vector3(sphere.Radius); - return new BoundingBox(sphere.Center - vector1, sphere.Center + vector1); - } - - public static BoundingBox CreateFromPoints(IEnumerable<Vector3> points) - { - Vector3 vector2 = new Vector3(float.MaxValue); - Vector3 vector1 = new Vector3(float.MinValue); - foreach (Vector3 vector3 in points) - { - vector2 = Vector3.Min(vector2, vector3); - vector1 = Vector3.Max(vector1, vector3); - } - return new BoundingBox(vector2, vector1); - } - - /// <summary> - /// Checks whether the current BoundingBox intersects another BoundingBox. - /// </summary> - /// <param name="box">The BoundingBox to check for intersection with.</param> - /// <returns>true if the BoundingBoxs intersect; false otherwise. - /// </returns> - public bool Intersects(BoundingBox box) - { - if ((this.Max.X >= box.Min.X) && (this.Min.X <= box.Max.X)) - { - if ((this.Max.Y < box.Min.Y) || (this.Min.Y > box.Max.Y)) - return false; - if ((this.Max.Z >= box.Min.Z) && (this.Min.Z <= box.Max.Z)) - return true; - } - return false; - } - - /// <summary> - /// Checks whether the current BoundingBox intersects a BoundingFrustum. - /// </summary> - /// <param name="frustum">The BoundingFrustum to check for intersection with.</param> - /// <returns>true if the BoundingBox and BoundingFrustum intersect; false otherwise.</returns> - public bool Intersects(BoundingFrustum frustum) - { - return frustum.Intersects(this); - } - - /// <summary>Checks whether the current BoundingBox intersects a Plane.</summary> - /// <param name="plane">The Plane to check for intersection with.</param> - /// <returns>An enumeration indicating whether the BoundingBox intersects the Plane.</returns> - public PlaneIntersectionType Intersects(Plane plane) - { - throw new NotImplementedException(); - } - - ///// <summary> - ///// Checks whether the current BoundingBox intersects a Ray. - ///// </summary> - ///// <param name="ray">The Ray to check for intersection with.</param> - ///// <returns>An a nullable value indicating where the BoundingBox and Ray intersect. - ///// </returns> - //public Nullable<float> Intersects(Ray ray) - //{ - // throw new NotImplementedException(); - //} - - /// <summary>Checks whether the current BoundingBox intersects a BoundingSphere.</summary> - /// <param name="sphere">The BoundingSphere to check for intersection with.</param> - /// <returns>true if the BoundingBox and BoundingSphere intersect; false otherwise. - /// </returns> - public bool Intersects(BoundingSphere sphere) - { - throw new NotImplementedException(); - } - - /// <summary>Tests whether the BoundingBox contains another BoundingBox.</summary> - /// <param name="box"> - /// The BoundingBox to test for overlap. - /// </param> - /// <returns>Enumeration indicating the extent of overlap.</returns> - public ContainmentType Contains(BoundingBox box) - { - throw new NotImplementedException(); - } - - /// <summary>Tests whether the BoundingBox contains a BoundingFrustum.</summary> - /// <param name="frustum"> - /// The BoundingFrustum to test for overlap. - /// </param> - /// <returns>Enumeration indicating the extent of overlap.</returns> - public ContainmentType Contains(BoundingFrustum frustum) - { - throw new NotImplementedException(); - } - - /// <summary>Tests whether the BoundingBox contains a point.</summary> - /// <param name="point">The point to test for overlap.</param> - /// <returns>Enumeration indicating the extent of overlap.</returns> - public ContainmentType Contains(Vector3 point) - { - throw new NotImplementedException(); - } - - /// <summary>Tests whether the BoundingBox contains a BoundingSphere.</summary> - /// <param name="sphere">The BoundingSphere to test for overlap.</param> - /// <returns>Enumeration indicating the extent of overlap.</returns> - public ContainmentType Contains(BoundingSphere sphere) - { - throw new NotImplementedException(); - } - - internal Vector3 SupportMapping(Vector3 v) - { - return new Vector3((v.X >= 0f) ? this.Max.X : this.Min.X, (v.Y >= 0f) ? this.Max.Y : this.Min.Y, (v.Z >= 0f) ? this.Max.Z : this.Min.Z); - } - - /// <summary> - /// Determines whether two instances of BoundingBox are equal. - /// </summary> - /// <param name="a">BoundingBox to compare. - /// </param> - /// <param name="b">BoundingBox to compare. - /// </param> - /// <returns>true if the two BoundingBoxs are equal; false otherwise.</returns> - public static bool operator ==(BoundingBox a, BoundingBox b) - { - return a.Equals(b); - } - - /// <summary> - /// Determines whether two instances of BoundingBox are not equal. - /// </summary> - /// <param name="a">The object to the left of the inequality operator.</param> - /// <param name="b">The object to the right of the inequality operator.</param> - /// <returns>true if left is not equal to right; false otherwise. - /// </returns> - public static bool operator !=(BoundingBox a, BoundingBox b) - { - return !((a.Min == b.Min) && (a.Max == b.Max)); +using System.ComponentModel; +using System.Collections.Generic; +using System.Globalization; +using System.Runtime.InteropServices; + +namespace Microsoft.Xna.Framework +{ + /// <summary>Defines a box-shaped 3D volume.</summary> + [TypeConverter("Microsoft.Xna.Framework.Design.BoundingBoxConverter, Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ff")] + [Serializable] + [StructLayout(LayoutKind.Sequential)] + public struct BoundingBox : IEquatable<BoundingBox> + { + /// <summary> + /// The minimum point the BoundingBox contains. + /// </summary> + public Vector3 Min; + + /// <summary>The maximum point the BoundingBox contains.</summary> + public Vector3 Max; + + /// <summary> + /// Gets an array of points that make up the corners of the BoundingBox. + /// </summary> + /// <returns> + /// Array of points that make up the corners of the BoundingBox. + /// </returns> + public Vector3[] GetCorners() + { + return new Vector3[] { + new Vector3(this.Min.X, this.Max.Y, this.Max.Z), + new Vector3(this.Max.X, this.Max.Y, this.Max.Z), + new Vector3(this.Max.X, this.Min.Y, this.Max.Z), + new Vector3(this.Min.X, this.Min.Y, this.Max.Z), + new Vector3(this.Min.X, this.Max.Y, this.Min.Z), + new Vector3(this.Max.X, this.Max.Y, this.Min.Z), + new Vector3(this.Max.X, this.Min.Y, this.Min.Z), + new Vector3(this.Min.X, this.Min.Y, this.Min.Z) + }; } + /// <summary>Creates an instance of BoundingBox.</summary> + /// <param name="min">The minimum point the BoundingBox includes.</param> + /// <param name="max">The maximum point the BoundingBox includes.</param> + public BoundingBox(Vector3 min, Vector3 max) + { + this.Min = min; + this.Max = max; + } + + /// <summary> + /// Determines whether two instances of BoundingBox are equal. + /// </summary> + /// <param name="other"> + /// The BoundingBox to compare with the current BoundingBox. + /// </param> + /// <returns>true if the specified BoundingBox is equal to the current BoundingBox; false otherwise. + /// </returns> + public bool Equals(BoundingBox other) + { + return (this.Min == other.Min) && (this.Max == other.Max); + } + + /// <summary> + /// Determines whether two instances of BoundingBox are equal. + /// </summary> + /// <param name="obj"> + /// The System.Object to compare with the current BoundingBox. + /// </param> + /// <returns>true if the specified System.Object is equal to the current BoundingBox; false otherwise. + /// </returns> + public override bool Equals(object obj) + { + if (obj is BoundingBox) + return this.Equals((BoundingBox)obj); + return false; + } + + /// <summary>Gets the hash code for this instance.</summary> + /// <returns> + /// A hash code for the current BoundingBox. + /// </returns> + public override int GetHashCode() + { + return this.Min.GetHashCode() + this.Max.GetHashCode(); + } + + /// <summary> + /// Returns a System.String that represents the current BoundingBox. + /// </summary> + /// <returns>System.String representation of the current BoundingBox. + /// </returns> + public override string ToString() + { + return string.Format(CultureInfo.CurrentCulture, "{{Min:{0} Max:{1}}}", new object[] { this.Min.ToString(), this.Max.ToString() }); + } + + /// <summary>Creates the smallest BoundingBox that contains the two specified BoundingBoxs.</summary> + /// <param name="original">One of the BoundingBoxs to contain.</param> + /// <param name="additional">One of the BoundingBoxs to contain.</param> + /// <returns>The created BoundingBox.</returns> + public static BoundingBox CreateMerged(BoundingBox original, BoundingBox additional) + { + return new BoundingBox(Vector3.Min(original.Min, additional.Min), Vector3.Max(original.Max, additional.Max)); + } + + /// <summary>Creates the smallest BoundingBox that will contain the specified BoundingSphere.</summary> + /// <param name="sphere">The BoundingSphere to contain.</param> + /// <returns>The created BoundingBox.</returns> + public static BoundingBox CreateFromSphere(BoundingSphere sphere) + { + Vector3 vector1 = new Vector3(sphere.Radius); + return new BoundingBox(sphere.Center - vector1, sphere.Center + vector1); + } + + public static BoundingBox CreateFromPoints(IEnumerable<Vector3> points) + { + Vector3 vector2 = new Vector3(float.MaxValue); + Vector3 vector1 = new Vector3(float.MinValue); + foreach (Vector3 vector3 in points) + { + vector2 = Vector3.Min(vector2, vector3); + vector1 = Vector3.Max(vector1, vector3); + } + return new BoundingBox(vector2, vector1); + } + + /// <summary> + /// Checks whether the current BoundingBox intersects another BoundingBox. + /// </summary> + /// <param name="box">The BoundingBox to check for intersection with.</param> + /// <returns>true if the BoundingBoxs intersect; false otherwise. + /// </returns> + public bool Intersects(BoundingBox box) + { + if ((this.Max.X >= box.Min.X) && (this.Min.X <= box.Max.X)) + { + if ((this.Max.Y < box.Min.Y) || (this.Min.Y > box.Max.Y)) + return false; + if ((this.Max.Z >= box.Min.Z) && (this.Min.Z <= box.Max.Z)) + return true; + } + return false; + } + + /// <summary> + /// Checks whether the current BoundingBox intersects a BoundingFrustum. + /// </summary> + /// <param name="frustum">The BoundingFrustum to check for intersection with.</param> + /// <returns>true if the BoundingBox and BoundingFrustum intersect; false otherwise.</returns> + public bool Intersects(BoundingFrustum frustum) + { + return frustum.Intersects(this); + } + + /// <summary>Checks whether the current BoundingBox intersects a Plane.</summary> + /// <param name="plane">The Plane to check for intersection with.</param> + /// <returns>An enumeration indicating whether the BoundingBox intersects the Plane.</returns> + public PlaneIntersectionType Intersects(Plane plane) + { + throw new NotImplementedException(); + } + + ///// <summary> + ///// Checks whether the current BoundingBox intersects a Ray. + ///// </summary> + ///// <param name="ray">The Ray to check for intersection with.</param> + ///// <returns>An a nullable value indicating where the BoundingBox and Ray intersect. + ///// </returns> + //public Nullable<float> Intersects(Ray ray) + //{ + // throw new NotImplementedException(); + //} + + /// <summary>Checks whether the current BoundingBox intersects a BoundingSphere.</summary> + /// <param name="sphere">The BoundingSphere to check for intersection with.</param> + /// <returns>true if the BoundingBox and BoundingSphere intersect; false otherwise. + /// </returns> + public bool Intersects(BoundingSphere sphere) + { + throw new NotImplementedException(); + } + + /// <summary>Tests whether the BoundingBox contains another BoundingBox.</summary> + /// <param name="box"> + /// The BoundingBox to test for overlap. + /// </param> + /// <returns>Enumeration indicating the extent of overlap.</returns> + public ContainmentType Contains(BoundingBox box) + { + throw new NotImplementedException(); + } + + /// <summary>Tests whether the BoundingBox contains a BoundingFrustum.</summary> + /// <param name="frustum"> + /// The BoundingFrustum to test for overlap. + /// </param> + /// <returns>Enumeration indicating the extent of overlap.</returns> + public ContainmentType Contains(BoundingFrustum frustum) + { + throw new NotImplementedException(); + } + + /// <summary>Tests whether the BoundingBox contains a point.</summary> + /// <param name="point">The point to test for overlap.</param> + /// <returns>Enumeration indicating the extent of overlap.</returns> + public ContainmentType Contains(Vector3 point) + { + throw new NotImplementedException(); + } + + /// <summary>Tests whether the BoundingBox contains a BoundingSphere.</summary> + /// <param name="sphere">The BoundingSphere to test for overlap.</param> + /// <returns>Enumeration indicating the extent of overlap.</returns> + public ContainmentType Contains(BoundingSphere sphere) + { + throw new NotImplementedException(); + } + + internal Vector3 SupportMapping(Vector3 v) + { + return new Vector3((v.X >= 0f) ? this.Max.X : this.Min.X, (v.Y >= 0f) ? this.Max.Y : this.Min.Y, (v.Z >= 0f) ? this.Max.Z : this.Min.Z); + } + + /// <summary> + /// Determines whether two instances of BoundingBox are equal. + /// </summary> + /// <param name="a">BoundingBox to compare. + /// </param> + /// <param name="b">BoundingBox to compare. + /// </param> + /// <returns>true if the two BoundingBoxs are equal; false otherwise.</returns> + public static bool operator ==(BoundingBox a, BoundingBox b) + { + return a.Equals(b); + } + + /// <summary> + /// Determines whether two instances of BoundingBox are not equal. + /// </summary> + /// <param name="a">The object to the left of the inequality operator.</param> + /// <param name="b">The object to the right of the inequality operator.</param> + /// <returns>true if left is not equal to right; false otherwise. + /// </returns> + public static bool operator !=(BoundingBox a, BoundingBox b) + { + return !((a.Min == b.Min) && (a.Max == b.Max)); + } + public void Contains(ref BoundingBox box, out ContainmentType result) { throw new NotImplementedException(); @@ -316,7 +316,7 @@ public void Intersects(ref Ray ray, out float? result) { throw new NotImplementedException(); - } - } -} - + } + } +} + Modified: trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingFrustum.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingFrustum.cs 2006-11-13 22:59:05 UTC (rev 67804) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/BoundingFrustum.cs 2006-11-13 23:23:52 UTC (rev 67805) @@ -40,28 +40,185 @@ [TypeConverter(typeof(ExpandableObjectConverter))] public class BoundingFrustum : IEquatable<BoundingFrustum> { - #region Public Properties + public BoundingFrustum(Matrix value) + { + throw new NotImplementedException(); + } + public static bool operator !=(BoundingFrustum a, BoundingFrustum b) + { + throw new NotImplementedException(); + } + public static bool operator ==(BoundingFrustum a, BoundingFrustum b) + { + throw new NotImplementedException(); + } - #endregion - #region Public Properties + public Plane Bottom + { + get + { + throw new NotImplementedException(); + } + } - public bool Intersects(BoundingBox boundingBox) + public Plane Far { - throw new Exception("The method or operation is not implemented."); + get + { + throw new NotImplementedException(); + } } - #endregion Public Properties + public Plane Left + { + get + { + throw new NotImplementedException(); + } + } - #region IEquatable<BoundingFrustum> Members + public Matrix Matrix + { + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } + } + public Plane Near + { + get + { + throw new NotImplementedException(); + } + } + + public Plane Right + { + get + { + throw new NotImplementedException(); + } + } + + public Plane Top + { + get + { + throw new NotImplementedException(); + } + } + + + public ContainmentType Contains(BoundingBox box) + { + throw new NotImplementedException(); + } + + public ContainmentType Contains(BoundingFrustum frustum) + { + throw new NotImplementedException(); + } + + public ContainmentType Contains(BoundingSphere sphere) + { + throw new NotImplementedException(); + } + + public ContainmentType Contains(Vector3 point) + { + throw new NotImplementedException(); + } + + public void Contains(ref BoundingBox box, out ContainmentType result) + { + throw new NotImplementedException(); + } + + public void Contains(ref BoundingSphere sphere, out ContainmentType result) + { + throw new NotImplementedException(); + } + + public void Contains(ref Vector3 point, out ContainmentType result) + { + throw new NotImplementedException(); + } + public bool Equals(BoundingFrustum other) { - throw new Exception("The method or operation is not implemented."); + throw new NotImplementedException(); } - #endregion + public override bool Equals(object obj) + { + throw new NotImplementedException(); + } + + public Vector3[] GetCorners() + { + throw new NotImplementedException(); + } + + public override int GetHashCode() + { + throw new NotImplementedException(); + } + + public bool Intersects(BoundingBox box) + { + throw new NotImplementedException(); + } + + public bool Intersects(BoundingFrustum frustum) + { + throw new NotImplementedException(); + } + + public bool Intersects(BoundingSphere sphere) + { + throw new NotImplementedException(); + } + + public PlaneIntersectionType Intersects(Plane plane) + { + throw new NotImplementedException(); + } + + public float? Intersects(Ray ray) + { + throw new NotImplementedException(); + } + + public void Intersects(ref BoundingBox box, out bool result) + { + throw new NotImplementedException(); + } + + public void Intersects(ref BoundingSphere sphere, out bool result) + { + throw new NotImplementedException(); + } + + public void Intersects(ref Plane plane, out PlaneIntersectionType result) + { + throw new NotImplementedException(); + } + public void Intersects(ref Ray ray, out float? result) + { + throw new NotImplementedException(); + } + + public override string ToString() + { + throw new NotImplementedException(); + } } } Modified: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Ray.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Ray.cs 2006-11-13 22:59:05 UTC (rev 67804) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Ray.cs 2006-11-13 23:23:52 UTC (rev 67805) @@ -1,27 +1,27 @@ #region License -/* -MIT License -Copyright � 2006 The Mono.Xna Team -http://www.taoframework.com -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. */ #endregion License
_______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
