소스 검색

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;