| Index: cc/base/math_util.h
|
| diff --git a/cc/base/math_util.h b/cc/base/math_util.h
|
| index 3af2102152098df6b4890f1446061cc26ee4a9b8..825f829b5e11823378b5d35a5c5a72bc889ac378 100644
|
| --- a/cc/base/math_util.h
|
| +++ b/cc/base/math_util.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <algorithm>
|
| #include <cmath>
|
| +#include <vector>
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -118,6 +119,10 @@ class CC_EXPORT MathUtil {
|
| const gfx::QuadF& src_quad,
|
| gfx::PointF clipped_quad[8],
|
| int* num_vertices_in_clipped_quad);
|
| + static bool MapClippedQuad3d(const gfx::Transform& transform,
|
| + const gfx::QuadF& src_quad,
|
| + gfx::Point3F clipped_quad[8],
|
| + int* num_vertices_in_clipped_quad);
|
|
|
| static gfx::RectF ComputeEnclosingRectOfVertices(const gfx::PointF vertices[],
|
| int num_vertices);
|
| @@ -132,6 +137,10 @@ class CC_EXPORT MathUtil {
|
| static gfx::QuadF MapQuad(const gfx::Transform& transform,
|
| const gfx::QuadF& quad,
|
| bool* clipped);
|
| + static gfx::QuadF MapQuad3d(const gfx::Transform& transform,
|
| + const gfx::QuadF& q,
|
| + gfx::Point3F* p,
|
| + bool* clipped);
|
| static gfx::PointF MapPoint(const gfx::Transform& transform,
|
| const gfx::PointF& point,
|
| bool* clipped);
|
|
|