Exemple #1
0
 public abstract bool Test(BoundingFrustum other);
Exemple #2
0
 public abstract bool Test(BoundingFrustum other);
Exemple #3
0
 public override bool Test(BoundingFrustum other)
 {
     return other.sbf.Intersects(ref splane) == PlaneIntersectionType.Intersecting;
 }
Exemple #4
0
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemple #5
0
 public bool Contains(BoundingFrustum other)
 {
     return(sbf.Contains(ref other.sbf));
 }
Exemple #6
0
 public override bool Test(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemple #7
0
 public abstract BoundingVolume Merge(BoundingFrustum other);
Exemple #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;
 }
Exemple #9
0
 public override bool Test(BoundingFrustum other)
 {
     return other.sbf.Intersects(ref this.sSphere);
 }
Exemple #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));
 }
Exemple #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;
        }
Exemple #12
0
 public override bool Test(BoundingFrustum other)
 {
     return(other.sbf.Intersects(ref splane) == PlaneIntersectionType.Intersecting);
 }
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     var otherB = SharpDX.BoundingBox.FromPoints(other.sbf.GetCorners());
     return new AxisAlignedBoundingBox(SharpDX.BoundingBox.Merge(this.sbb, otherB));
 }
Exemple #14
0
 public override bool Test(BoundingFrustum other)
 {
     return(other.sbf.Intersects(ref sray));
 }
Exemple #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)));
        }
Exemple #16
0
 public override bool Test(BoundingFrustum other)
 {
     return IntersectionTests.Test(this, other);
 }
Exemple #17
0
 public override bool Test(BoundingFrustum other)
 {
     return(other.sbf.Intersects(ref this.sSphere));
 }
Exemple #18
0
 public override BoundingVolume Merge(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemple #19
0
 public abstract BoundingVolume Merge(BoundingFrustum other);
Exemple #20
0
 public override bool Test(BoundingFrustum other)
 {
     throw new NotImplementedException();
 }
Exemple #21
0
 public bool Contains(BoundingFrustum other)
 {
     return sbf.Contains(ref other.sbf);
 }
Exemple #22
0
 public override bool Test(BoundingFrustum other)
 {
     return other.sbf.Intersects(ref sray);
 }
Exemple #23
0
 public override bool Test(BoundingFrustum other)
 {
     return(IntersectionTests.Test(this, other));
 }