summaryrefslogtreecommitdiffhomepage
path: root/Opcode/Ice/IceRay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Opcode/Ice/IceRay.cpp')
-rw-r--r--Opcode/Ice/IceRay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Opcode/Ice/IceRay.cpp b/Opcode/Ice/IceRay.cpp
index be04043..a3872f6 100644
--- a/Opcode/Ice/IceRay.cpp
+++ b/Opcode/Ice/IceRay.cpp
@@ -18,7 +18,7 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
- O = Origin = impact point
+ O = Origin = impact IcePoint
i = normalized vector along the x axis
j = normalized vector along the y axis = actually the normal vector in O
D = Direction vector, norm |D| = 1
@@ -63,9 +63,9 @@
using namespace IceMaths;
-float Ray::SquareDistance(const Point& point, float* t) const
+float Ray::SquareDistance(const IcePoint& Point, float* t) const
{
- Point Diff = point - mOrig;
+ IcePoint Diff = Point - mOrig;
float fT = Diff | mDir;
if(fT<=0.0f)