From 78e29455c5cb4acce769498a5a32be6a3c6085b4 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 16:00:07 +0000 Subject: Fixing up faulty references to class "Point" to "IcePoint" --- Opcode/Ice/IceRay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Opcode/Ice/IceRay.cpp') 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) -- cgit v1.1