shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@7864 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/TriangleUtilities.cpp b/experimental/Intersection/TriangleUtilities.cpp
index 38915d4..9889368 100644
--- a/experimental/Intersection/TriangleUtilities.cpp
+++ b/experimental/Intersection/TriangleUtilities.cpp
@@ -10,9 +10,9 @@
// http://www.blackpawn.com/texts/pointinpoly/default.html
bool pointInTriangle(const Triangle& triangle, const _Point& pt) {
// Compute vectors
- _Point v0 = triangle[2] - triangle[0];
- _Point v1 = triangle[1] - triangle[0];
- _Point v2 = pt - triangle[0];
+ _Vector v0 = triangle[2] - triangle[0];
+ _Vector v1 = triangle[1] - triangle[0];
+ _Vector v2 = pt - triangle[0];
// Compute dot products
double dot00 = v0.dot(v0);