Преглед изворни кода

Frustum : hasBounds fix bottom test

Tom SPIRA пре 3 година
родитељ
комит
b32c8329f4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      h3d/col/Frustum.hx

+ 1 - 1
h3d/col/Frustum.hx

@@ -120,7 +120,7 @@ class Frustum {
 			return false;
 		if( b.testPlane(ptop) < 0 )
 			return false;
-		if( b.testPlane(ptop) < 0 )
+		if( b.testPlane(pbottom) < 0 )
 			return false;
 		if( b.testPlane(pnear) < 0 )
 			return false;