SceneNode::VisiblityTest now use Camera instead of Frustum
Former-commit-id: 71199e3e80c5fbd6116d5fedb13276480f4e4731
This commit is contained in:
@@ -53,7 +53,7 @@ class NAZARA_API NzLight : public NzSceneNode
|
||||
void Register();
|
||||
void Unregister();
|
||||
void UpdateBoundingVolume() const;
|
||||
bool VisibilityTest(const NzFrustumf& frustum);
|
||||
bool VisibilityTest(const NzCamera* camera) override;
|
||||
|
||||
nzLightType m_type;
|
||||
mutable NzBoundingVolumef m_boundingVolume;
|
||||
|
||||
Reference in New Issue
Block a user