I am having a nullreferenceexception error in my code in this line:
public bool BoundingVolumeIsInView(BoundingSphere sphere)
{
**return (Frustum.Contains(sphere) != ContainmentType.Disjoint);**
}
Please tell me what i am doing wrong?
Thanks