public abstract bool Test(BoundingFrustum other);
public override bool Test(BoundingFrustum other) { return other.sbf.Intersects(ref splane) == PlaneIntersectionType.Intersecting; }
public override BoundingVolume Merge(BoundingFrustum other) { throw new NotImplementedException(); }
public bool Contains(BoundingFrustum other) { return(sbf.Contains(ref other.sbf)); }
public override bool Test(BoundingFrustum other) { throw new NotImplementedException(); }
public abstract BoundingVolume Merge(BoundingFrustum other);
public static bool Test(LineSegment seg, BoundingFrustum frus) { ContainmentType ct1 = frus.Contains(seg.Point1); ContainmentType ct2 = frus.Contains(seg.Point2); return ct1 != ct2; }
public override bool Test(BoundingFrustum other) { return other.sbf.Intersects(ref this.sSphere); }
public override BoundingVolume Merge(BoundingFrustum other) { var otherS = SharpDX.BoundingSphere.FromPoints(other.sbf.GetCorners()); return new BoundingSphere(SharpDX.BoundingSphere.Merge(this.sSphere, otherS)); }
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; }
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)); }
public override bool Test(BoundingFrustum other) { return(other.sbf.Intersects(ref sray)); }
public override BoundingVolume Merge(BoundingFrustum other) { var otherS = SharpDX.BoundingSphere.FromPoints(other.sbf.GetCorners()); return(new BoundingSphere(SharpDX.BoundingSphere.Merge(this.sSphere, otherS))); }
public override bool Test(BoundingFrustum other) { return IntersectionTests.Test(this, other); }
public override bool Test(BoundingFrustum other) { return(other.sbf.Intersects(ref this.sSphere)); }
public bool Contains(BoundingFrustum other) { return sbf.Contains(ref other.sbf); }
public override bool Test(BoundingFrustum other) { return other.sbf.Intersects(ref sray); }
public override bool Test(BoundingFrustum other) { return(IntersectionTests.Test(this, other)); }