示例#1
0
文件: Plane.cs 项目: Rahil627/Rise
        public Vector3 Project(ref Vector3 point)
        {
            Vector3 result;

            Geom3D.Project(ref this, ref point, out result);
            return(result);
        }
示例#2
0
		public bool Raycast(ref Ray3D ray, out Vector3 point)
		{
			float dist;
			if (Geom3D.Raycast(ref this, ref ray, out dist))
			{
				point = ray.GetPoint(dist);
				return true;
			}
			point = ray.Point;
			return false;
		}
示例#3
0
文件: Plane.cs 项目: Rahil627/Rise
 public bool Raycast(Ray3D ray, out float dist)
 {
     return(Geom3D.Raycast(ref this, ref ray, out dist));
 }
示例#4
0
文件: Plane.cs 项目: Rahil627/Rise
 public bool Intersects(BoundingSphere sphere)
 {
     return(Geom3D.Intersects(ref sphere, ref this));
 }
示例#5
0
文件: Plane.cs 项目: Rahil627/Rise
 public bool Intersects(BoundingBox box)
 {
     return(Geom3D.Intersects(ref box, ref this));
 }
示例#6
0
文件: Plane.cs 项目: Rahil627/Rise
 public void Project(ref Vector3 point, out Vector3 result)
 {
     Geom3D.Project(ref this, ref point, out result);
 }
示例#7
0
 public bool Contains(Vector3 point)
 {
     return(Geom3D.Contains(ref this, ref point));
 }
示例#8
0
 public bool Intersects(Plane plane)
 {
     return(Geom3D.Intersects(ref this, ref plane));
 }
示例#9
0
 public bool Contains(BoundingBox box)
 {
     return(Geom3D.Contains(ref this, ref box));
 }
示例#10
0
 public bool Contains(BoundingSphere sphere)
 {
     return(Geom3D.Contains(ref this, ref sphere));
 }
示例#11
0
		public bool Intersects(ref BoundingSphere sphere)
		{
			return Geom3D.Intersects(ref this, ref sphere);
		}
示例#12
0
		public bool Intersects(ref BoundingBox box)
		{
			return Geom3D.Intersects(ref this, ref box);
		}
示例#13
0
		public float Distance(BoundingBox box)
		{
			return Geom3D.Distance(ref this, ref box);
		}
示例#14
0
		public float Distance(Vector3 point)
		{
			return Geom3D.Distance(ref this, ref point);
		}
示例#15
0
		public bool Contains(Vector3 p)
		{
			return Geom3D.Contains(ref this, ref p);
		}