summaryrefslogtreecommitdiff
path: root/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-04-12 09:42:52 +0800
committerchai <chaifix@163.com>2021-04-12 09:42:52 +0800
commit6aed8a5cf13145e6291e4e95ee6774d5e5b4b3b8 (patch)
tree7dc78e64917910dc57f472be9bf5edb610b741d0 /Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling
parentb357a6a6d914e46c2c782f215e9f566f92663850 (diff)
+effect
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling')
-rw-r--r--Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/Clipping.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/Clipping.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/Clipping.cs
index 7707ecf..7dd39bf 100644
--- a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/Clipping.cs
+++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/Culling/Clipping.cs
@@ -29,6 +29,7 @@ namespace UnityEngine.UI
return new Rect(point1.x, point1.y, point2.x - point1.x, point2.y - point1.y);
}
+ // ¼ÆËã¾ØÐν»¼¯
private static Rect RectIntersect(Rect a, Rect b)
{
float xMin = Mathf.Max(a.x, b.x);