SceneNode::VisiblityTest now use Camera instead of Frustum

Former-commit-id: 71199e3e80c5fbd6116d5fedb13276480f4e4731
This commit is contained in:
Lynix
2013-08-09 19:04:29 +02:00
parent d509fddc82
commit 13b505f91f
14 changed files with 27 additions and 27 deletions

View File

@@ -158,7 +158,6 @@ void NzCamera::SetFOV(float fov)
void NzCamera::SetTarget(const NzRenderTarget* renderTarget)
{
NazaraError(NzString::Pointer(m_target));
if (m_target)
m_target->RemoveListener(this);
@@ -307,9 +306,9 @@ void NzCamera::UpdateViewport() const
m_viewportUpdated = true;
}
bool NzCamera::VisibilityTest(const NzFrustumf& frustum)
bool NzCamera::VisibilityTest(const NzCamera* camera)
{
NazaraUnused(frustum);
NazaraUnused(camera);
//NazaraInternalError("SceneNode::IsVisible() called on Camera");
return false;
}