summaryrefslogtreecommitdiffhomepage
path: root/Opcode/Ice/IceSegment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Opcode/Ice/IceSegment.cpp')
-rw-r--r--Opcode/Ice/IceSegment.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Opcode/Ice/IceSegment.cpp b/Opcode/Ice/IceSegment.cpp
index 4b51343..f8d1553 100644
--- a/Opcode/Ice/IceSegment.cpp
+++ b/Opcode/Ice/IceSegment.cpp
@@ -26,10 +26,10 @@
using namespace IceMaths;
-float Segment::SquareDistance(const Point& point, float* t) const
+float Segment::SquareDistance(const IcePoint& Point, float* t) const
{
- Point Diff = point - mP0;
- Point Dir = mP1 - mP0;
+ IcePoint Diff = Point - mP0;
+ IcePoint Dir = mP1 - mP0;
float fT = Diff | Dir;
if(fT<=0.0f)