Exemplo n.º 1
0
 public abstract bool Test(BoundingFrustum other);
Exemplo n.º 2
0
 public abstract bool Test(BoundingFrustum other);
Exemplo n.º 3
0
 public override bool Test(BoundingFrustum other)
 {
     return other.sbf.Intersects(ref splane) == PlaneIntersectionType.Intersecting;
 }
Exemplo n.º 4
0
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 public bool Contains(BoundingFrustum other)
 {
     return(sbf.Contains(ref other.sbf));
 }
Exemplo n.º 6
0
 public override bool Test(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 7
0
 public abstract BoundingVolume Merge(BoundingFrustum other);
Exemplo n.º 8
0
 public static bool Test(LineSegment seg, BoundingFrustum frus)
 {
     ContainmentType ct1 = frus.Contains(seg.Point1);
     ContainmentType ct2 = frus.Contains(seg.Point2);
     return ct1 != ct2;
 }
Exemplo n.º 9
0
 public override bool Test(BoundingFrustum other)
 {
     return other.sbf.Intersects(ref this.sSphere);
 }
Exemplo n.º 10
0
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     var otherS = SharpDX.BoundingSphere.FromPoints(other.sbf.GetCorners());
     return new BoundingSphere(SharpDX.BoundingSphere.Merge(this.sSphere, otherS));
 }
Exemplo n.º 11
0
        public override bool Test(BoundingFrustum other)
        {
            var c1 = other.sbf.Contains(ref P1);
            if (c1 == ContainmentType.Disjoint)
            {
                var c2 = other.sbf.Contains(ref P2);
                if (c2 == ContainmentType.Disjoint)
                {
                    var c3 = other.sbf.Contains(ref P3);
                    if (c3 == ContainmentType.Disjoint)
                    {
                        return false;
                    }
                }
            }

            return true;
        }
Exemplo n.º 12
0
 public override bool Test(BoundingFrustum other)
 {
     return(other.sbf.Intersects(ref splane) == PlaneIntersectionType.Intersecting);
 }
Exemplo n.º 13
0
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     var otherB = SharpDX.BoundingBox.FromPoints(other.sbf.GetCorners());
     return new AxisAlignedBoundingBox(SharpDX.BoundingBox.Merge(this.sbb, otherB));
 }
Exemplo n.º 14
0
 public override bool Test(BoundingFrustum other)
 {
     return(other.sbf.Intersects(ref sray));
 }
Exemplo n.º 15
0
        public override BoundingVolume Merge(BoundingFrustum other)
        {
            var otherS = SharpDX.BoundingSphere.FromPoints(other.sbf.GetCorners());

            return(new BoundingSphere(SharpDX.BoundingSphere.Merge(this.sSphere, otherS)));
        }
Exemplo n.º 16
0
 public override bool Test(BoundingFrustum other)
 {
     return IntersectionTests.Test(this, other);
 }
Exemplo n.º 17
0
 public override bool Test(BoundingFrustum other)
 {
     return(other.sbf.Intersects(ref this.sSphere));
 }
Exemplo n.º 18
0
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 19
0
 public abstract BoundingVolume Merge(BoundingFrustum other);
Exemplo n.º 20
0
 public override bool Test(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 21
0
 public bool Contains(BoundingFrustum other)
 {
     return sbf.Contains(ref other.sbf);
 }
Exemplo n.º 22
0
 public override bool Test(BoundingFrustum other)
 {
     return other.sbf.Intersects(ref sray);
 }
Exemplo n.º 23
0
 public override bool Test(BoundingFrustum other)
 {
     return(IntersectionTests.Test(this, other));
 }