| Index: cc/math_util.h
|
| diff --git a/cc/math_util.h b/cc/math_util.h
|
| index 7d22c6cb865acdb1e6a1e7972ef9b0b5943a3128..1caf6595c0a8483335ae6784c94e8d1bee567c68 100644
|
| --- a/cc/math_util.h
|
| +++ b/cc/math_util.h
|
| @@ -18,12 +18,11 @@ namespace gfx {
|
| class QuadF;
|
| class Rect;
|
| class RectF;
|
| +class Vector2dF;
|
| }
|
|
|
| namespace cc {
|
|
|
| -class FloatSize;
|
| -
|
| struct HomogeneousCoordinate {
|
| HomogeneousCoordinate(double newX, double newY, double newZ, double newW)
|
| : x(newX)
|
| @@ -104,10 +103,10 @@ public:
|
|
|
| // Returns the smallest angle between the given two vectors in degrees. Neither vector is
|
| // assumed to be normalized.
|
| - static float smallestAngleBetweenVectors(const FloatSize&, const FloatSize&);
|
| + static float smallestAngleBetweenVectors(gfx::Vector2dF, gfx::Vector2dF);
|
|
|
| // Projects the |source| vector onto |destination|. Neither vector is assumed to be normalized.
|
| - static FloatSize projectVector(const FloatSize& source, const FloatSize& destination);
|
| + static gfx::Vector2dF projectVector(gfx::Vector2dF source, gfx::Vector2dF destination);
|
| };
|
|
|
| } // namespace cc
|
|
|