Explorar o código

Frustum : hasBounds fix bottom test

Tom SPIRA %!s(int64=3) %!d(string=hai) anos
pai
achega
b32c8329f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;