forked from Dynamitos/Seele
More fixes
This commit is contained in:
1 parent
a3f5ad2841
commit
66b3ba59b6
8 files changed
+20
-11
No files matched your search
@@ -20,13 +20,11 @@ struct AABB
|
||||
for(int i = 0; i < 8; ++i)
|
||||
{
|
||||
float3 adjusted = corners[i].xyz / corners[i].w;
|
||||
if(adjusted.z > 0)
|
||||
if(frustum.pointInside(adjusted))
|
||||
{
|
||||
if(frustum.pointInside(adjusted))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user