Lighting is broken again

This commit is contained in:
Dynamitos committed 2024-02-20 21:07:17 +01:00
1 parent 97d96a6bc1
commit 2480529dbc
11 files changed
+52 -53

No files matched your search

-5
View File
@@ -36,13 +36,8 @@ struct Plane
struct Frustum
{
Plane sides[4];
Plane basePlane;
bool pointInside(float3 point)
{
if (!basePlane.pointInside(point))
{
return false;
}
for(int p = 0; p < 4; ++p)
{
if(!sides[p].pointInside(point))