浏览代码

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;