Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3386)

Unified Diff: cc/base/math_util.h

Issue 2627213002: Tighten bounds on 3d clipping. (Closed)
Patch Set: rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/base/math_util.cc » ('j') | cc/base/math_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/math_util.h
diff --git a/cc/base/math_util.h b/cc/base/math_util.h
index baf11a7cdff3e10c214337b73639003ed989b8d0..59f28ece4198548289b798f63b162ee08dd0f6aa 100644
--- a/cc/base/math_util.h
+++ b/cc/base/math_util.h
@@ -189,7 +189,7 @@ class CC_EXPORT MathUtil {
// array are valid.
static bool MapClippedQuad3d(const gfx::Transform& transform,
const gfx::QuadF& src_quad,
- gfx::Point3F clipped_quad[8],
+ gfx::Point3F clipped_quad[6],
int* num_vertices_in_clipped_quad);
static gfx::RectF ComputeEnclosingRectOfVertices(const gfx::PointF vertices[],
« no previous file with comments | « no previous file | cc/base/math_util.cc » ('j') | cc/base/math_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698