From 5e6773397cc101c7c3d08482efc456daa91734e9 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Oct 2021 22:52:04 +0200 Subject: Switched to use only one version of Opcode --- Opcode/Ice/IceSegment.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Opcode/Ice/IceSegment.cpp') diff --git a/Opcode/Ice/IceSegment.cpp b/Opcode/Ice/IceSegment.cpp index f8d1553..0eede40 100644 --- a/Opcode/Ice/IceSegment.cpp +++ b/Opcode/Ice/IceSegment.cpp @@ -9,12 +9,12 @@ /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** - * Segment class. + * IceSegment class. * A segment is defined by S(t) = mP0 * (1 - t) + mP1 * t, with 0 <= t <= 1 * Alternatively, a segment is S(t) = Origin + t * Direction for 0 <= t <= 1. * Direction is not necessarily unit length. The end points are Origin = mP0 and Origin + Direction = mP1. * - * \class Segment + * \class IceSegment * \author Pierre Terdiman * \version 1.0 */ @@ -26,7 +26,7 @@ using namespace IceMaths; -float Segment::SquareDistance(const IcePoint& Point, float* t) const +float IceSegment::SquareDistance(const IcePoint& Point, float* t) const { IcePoint Diff = Point - mP0; IcePoint Dir = mP1 - mP0; -- cgit v1.1